Closed MichaelKreil closed 1 year ago
use colon :
.
But versatiles also accepts urls like "https://..." so colons are already in use :/
ah, i see. then #
fragments make sense in the url context, if you don't want to do some querytring shenanigans like ?[...]dataset=osm
. there is not really a good way to have the same "refer to something within a file" functionality in file paths.
i think this is meant for distinguishing between multiple sources?
when in doubt, try to solve it via your arg parser, depending on it's capabilities <url|path> --name=osm
or <name>=<url|path>
or --name1 <name> --source1 <url|path>
... or use the filename osm.versatiles
becomes /tiles/osm/{z}/{x}/{y}
and append integers in case of conflict.
maybe use brackets like "../file/data.versatiles[osm]"