onthegomap / planetiler

Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast
Apache License 2.0
1.21k stars 101 forks source link

[FEATURE] Add arbitrary extra metadata using the Profile interface #794

Open bdon opened 5 months ago

bdon commented 5 months ago

Is your feature request related to a problem? Please describe. The profile has a few interface methods like name, attribution, version, isOverlay but does not provide a way to add arbitrary other string:string pairs.

Describe the solution you'd like Another interface method called extraMetadata that is a Map<String,String>

Describe alternatives you've considered

Additional context We should consider how key conflicts between extraMetadata and name, version... as well as with build-time info planetiler:githash and run-time info (osmosis:*) choose which source gets priority.