Skip to content

TileDatabaseSettings layer url has no extension #1497

Answered by robertosfield
tmonk22 asked this question in Q&A
Discussion options

You must be logged in to vote

vsg::TileDatabase was evolved to encompass a widere range of 3rd party data, so far it's always been for data that has a extension.

If a 3rd party service provider doesn't provide file extensions then a mechanism will need to be added to support this. vsg::Option's provides a mechanism for hinting what extension to assume fo istream/memory buffer data where no extension is provided, but as you point out this assumes a vsg::Option object for read.

To support the usage case of the of no file extension then the cleanest way would probably be to extend the variable subsitution syntax that vsg::TileDatabase/TileDatabaseSettings/vsg::tile presently uses to map the {x}{y} etc. to include a way o…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AnyOldName3
Comment options

@robertosfield
Comment options

Answer selected by robertosfield
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants