3DBAG / 3dbag-viewer

https://3dbag.nl
GNU General Public License v3.0
35 stars 10 forks source link

Implement download per format #50

Closed balazsdukai closed 3 years ago

balazsdukai commented 3 years ago

Currently its only possible to download the cityjson files, but there are several formats available.

Ylannl commented 3 years ago

For this the 2D download page has to be extended. One thing we'll have to agree on are the download URLs, I propose something like:

3dbag.nl/download/VERSION/FORMAT/TILE_ID.EXTENSION

balazsdukai commented 3 years ago

Except for the postgres dowloads, where we have a single file per version.

3dbag.nl/download/VERSION/FORMAT/bag3d_VERSION.EXT

Or this in general:

3dbag.nl/download/VERSION/FORMAT/bag3d_VERSION_TILE-ID.EXTENSION

balazsdukai commented 3 years ago

Plus probably a good idea to add a 'latest' subpath that points to the latest version. Makes it easier to auto-download the latest release.

3dbag.nl/download/latest/FORMAT/bag3d_VERSION_TILE-ID.EXTENSION