Closed simonw closed 3 years ago
If you use a different --tiles-url but it's ultimately sourced from OpenStreetMap having to type --attribution="© OpenStreetMap contributors" is a bit of a pain, especially since you need to type that ©. Instead, support --attribution=osm as a shortcut for that value.
--tiles-url
--attribution="© OpenStreetMap contributors"
--attribution=osm
(If anyone ever wants to explicitly set "osm" as the attribution they'll have to do so by running sqlite3 tiles.db "update metadata set value = 'osm' where name = 'attribution';" manually instead.)
sqlite3 tiles.db "update metadata set value = 'osm' where name = 'attribution';"
If you use a different
--tiles-url
but it's ultimately sourced from OpenStreetMap having to type--attribution="© OpenStreetMap contributors"
is a bit of a pain, especially since you need to type that ©. Instead, support--attribution=osm
as a shortcut for that value.(If anyone ever wants to explicitly set "osm" as the attribution they'll have to do so by running
sqlite3 tiles.db "update metadata set value = 'osm' where name = 'attribution';"
manually instead.)