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

Default basemap is https://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png #17

Closed starsep closed 9 months ago

starsep commented 10 months ago

According to https://docs.geodesk.com/python/Map#map-attributes

Tile server URL for the base map (Default: OpenStreetMap Carto)

But actually

from geodesk import Map
print(Map().basemap)

https://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png

Please either change the default basemap or documentation. I cannot find basemap in this repo so I suspect this line is responsible: https://github.com/clarisma/geodesk/blob/8d1aa56556920d47e42abd48a510cc167766e9b6/src/main/java/com/geodesk/util/MapMaker.java#L33

clarisma commented 10 months ago

Good catch, thanks! We'll change this in the next release. In the meantime, you can set the basemap explicitly using:

(Where url is this case ishttps://tile.openstreetmap.org/{z}/{x}/{y}.png)