You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that while the other geometries are simplified at different zoom levels, this is not the case with points, the http://localhost:3001/services/postgis/pois/geom/vector-tiles/10/719/410.pbf (point layer) is 212kb, and as we go to higher zoom levels it is sliced. I have over 27k points in the layer and when the endpoints are created for lower zoom levels, (9 or 10) they take a long time to load and process.
According to VectorTiles.md , I can filter the results by adding the where query string in the URL, :
@DanielShinken I wasn't able to get the Vector Tiles to filter data based on zoom levels, which was what I wanted to do ( PGRestAPI was returning all the data at all the zoom levels, which was a bit of overkill ). I couldn't find a workaround to this as PGRestAPI uses the same query on all zoom levels ( one query per table ) I switched over to TileStache and was able to get my queries to work (granted TileStache has a much steeper learning curve and requires alot more work to set up and get running).
As for the query filter you are referring to, I was able to get it to work sometimes but not always, I'm not sure what I was doing wrong or different.
I have noticed that while the other geometries are simplified at different zoom levels, this is not the case with points, the
http://localhost:3001/services/postgis/pois/geom/vector-tiles/10/719/410.pbf
(point layer) is 212kb, and as we go to higher zoom levels it is sliced. I have over 27k points in the layer and when the endpoints are created for lower zoom levels, (9 or 10) they take a long time to load and process.According to VectorTiles.md , I can filter the results by adding the
where
query string in the URL, :But using the where query string in the URL will filter all the results, while I only want to filter the results based on zoom levels.
Is there a way to get different different query strings for different zoom levels, so I can filter my results on the fly?
The text was updated successfully, but these errors were encountered: