Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#7227 closed enhancement (fixed)

MVT: Improve driver search for TileJSON metadata

Reported by: jpalmer Owned by: Even Rouault
Priority: normal Milestone: 2.3.0
Component: default Version: svn-trunk
Severity: normal Keywords: MVT


OGR MVT driver only searches for /path/to/metadata.json and it would be good to also search for /path/to.json (e.g http://localhost:32769/data/parcels.json) to support Tileserver-gl TileJSON endpoints without having to set the metadata_file open options.

Change History (4)

comment:1 by Even Rouault, 6 years ago

So you mean that if you open "MVT:http://localhost:32769/data/parcels/{z}", it should try to fetch "http://localhost:32769/data/parcels.json". Have the parcels.json file and parcels/ subdirectory always the same radix ?

comment:2 by jpalmer, 6 years ago

Yes. It's documented is the source data tileserver-gl docs:

comment:3 by Even Rouault, 6 years ago

Resolution: fixed
Status: assignedclosed

In 41406:

MVT: automatically find TileJSON metadata as generated by tileserver-gl (fixes #7227)

comment:4 by jpalmer, 6 years ago

Thank you Even. This is wonderful.

Note: See TracTickets for help on using tickets.