clarisma / geodesk-py

Fast and storage-efficient spatial database engine for OpenStreetMap data
https://docs.geodesk.com/python
GNU Lesser General Public License v3.0
36 stars 0 forks source link

`Map`: `add_circle()` #47

Open clarisma opened 9 months ago

clarisma commented 9 months ago

Allow users to directly add circles to a Map. Right now, the only way to show a circle is buffering a point to create an approximate Shapely Polygon:

circle = shapely.buffer(point, to_mercator(meters=100, lat=38))
map.add(circle)

This would be nicer:

map.add_circle(point, meters=100)