-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
negative tile coordinates using --extent #122
Comments
Please let me know if you need more info to debug this. |
Could you try to execute the query manually to find out wheter a non-negative value solves the problem? The executed query should be
|
My experiments show a different bbox with a non-negative number in combination with compared to
Maybe |
Ahum, my knowledge of both sql and geographic projection etcetera is very limited. I tried running this query straight on my postgres database:
it just returns a prompt. When I check in my map if the layers 1-6 got updated they did not it seems (I did clean my browser cache). |
As a side remark: As I remember things I used to need to run the --extent call on every layer to get them updated after adding a point. However, currently, when I do not run my updating procedure I (e.g.) notice the layers 21-11 and 9-7 do get updated. So apparently the cache updating has improved in more recent versions of t-rex?! Or is this 'something else' (e.g. mapbox-gl-js which I use)? |
Can you run the following queries on a psql prompt and check how many records you get (you probably had a missing semicolon)?
|
Thanks! So either avoiding negative coordinates or omitting |
Any idea when this will be solved? |
Changing the grid resolutions to calculated values based on z0, results in a tile border of |
Yeah, solved in 0.9.2 ! Thx! |
I am updating my cache after a new point has been added with this command:
For my layers 7 to 21 this works fine, i.e. the point is updated. However at layers < 7 the 'tile bound coordinates' become negative which causes trouble and tiles are not properly updated.
So this is how successful logs look like for layer 7:
And this when it returns the faulty '0 features' at layer 6 (similar output for layer 1-5):
What is causing this? Note the value minx: -0.000000003725290298461914 ; Seems to me the tile bound coordinates should have a minimum of 0...?!
The text was updated successfully, but these errors were encountered: