simonw / download-tiles

Download map tiles and store them in an MBTiles database
https://datasette.io/tools/download-tiles
Apache License 2.0
29 stars 6 forks source link

--name option for populating the name field in metadata #5

Closed simonw closed 3 years ago

simonw commented 3 years ago

It currently defaults to a UUID: https://github.com/makinacorpus/landez/blob/6e5c71ded6071158e7943df204cd7bd1ed623a30/landez/tiles.py#L338

If not specified, the --city and --country options could automatically populate it based on the JSON they get back from Nominatim.