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
Even if it does not seem that simple when working with polygons... (Intersection of a polygon (the bbox) and another one (a geometry of the GeoJSON) could give a polygon, a line, a point, multiple lines or multiple points)…
It could be interesting to be able to generate GeoJSON tiles from a datasource (shapefile, GeoJSON, database, ...) with Landez.
So I think we have to get the intersection of a bounding box and each feature of the GeoJSON. It may be possible using Shapely:
tile_content.coords contains:
(0.0, 0.0)
(0.5, 1.0)
Even if it does not seem that simple when working with polygons... (Intersection of a polygon (the bbox) and another one (a geometry of the GeoJSON) could give a polygon, a line, a point, multiple lines or multiple points)…
And to read/write the datasource: there is Fiona.
The text was updated successfully, but these errors were encountered: