Skip to main content

I request the MVT files with these urls. (behind password)

https://maps-ver.lantmateriet.se/vt/fastighetsindelning/v1/wmts/1.0.0/fastighetsindelning/default/3006/10/1500/1600.mvt (then /1501/1600.mvt etc.)

 

Generated files in Drive link (https://drive.google.com/drive/folders/16XT71TQnF-bQFYHZ2zv87PR22a7_EJB3?usp=sharing

 

Style information: https://maps-ver.lantmateriet.se/vt/fastighetsindelning/v1/wmts?request=GetCapabilities&version=1.0.0&service=wmts

 

From provider Tilematrixset is 3006 (SWEREF99 TM).

 

I generate workspace and select all four MVT files with the following settings and press run.Skärmavbild 2021-06-07 kl. 12.45.25The generated GeoJSON files have the information stacked on top of each other on the same coordinates which are incorrect. Not sure what to do.

These vector files are not individually georeferenced but are being served from a WMTS. The information on how to georeference the mvt files will be based upon the '3006' TileMatrixSet which is defined in the get capabilities document. For these particular files you want to tile the 'TileMatrix' called '10' within the '3006' tiles matrix set.

Once you have the TileMatrix Information you can then use it to figure out where it needs to be placed.


Okey, I think I understand, that it is the TileMatrixSet,TileMatrix, Tilerow and Tilecol that determines where it needs to be placed. But how do I do that? And can I do it with a large number of MVT files at the same time?


I just saw that as of version 2021 FME has WMTS reader but I think currently it only supports raster datasets which is a shame for you.

You will have to take a look into the WMTS specification https://www.ogc.org/standards/wmts to figure out how it works, I'm afraid I don't know enough about the specifics to help you.


I just saw that as of version 2021 FME has WMTS reader but I think currently it only supports raster datasets which is a shame for you.

You will have to take a look into the WMTS specification https://www.ogc.org/standards/wmts to figure out how it works, I'm afraid I don't know enough about the specifics to help you.

Thank you for your help, I'll get back if I find a solution!


Reply