geosolutions-it / MapStore2

The solution to create and share maps, dashboards, geostories with 3D support on the web. And it is open-source too!
https://mapstore.geosolutionsgroup.com/
Other
515 stars 402 forks source link

Problems with loading OpenAerialMap WMTS #2399

Open simboss opened 7 years ago

simboss commented 7 years ago

I am unable to load WMTS layers from OpenAerialMap, I am not sure this depends on MapStore 2 or not.

It is worth doing an investigation as some time. Here is an example but data mightnot be there anymore when we investigate: in such case just go to OpenAerialMap and load one of the samples.

allyoucanmap commented 7 years ago

After a quick investigation I found that this issue could be caused by:

allyoucanmap commented 5 years ago

@simboss The issues described in the previous comment are solved on the current master of MapStore but the layers from OpenAerialMap are not visible yet. They are not visible yet because wmts capabilities provide a TileMatrixSet with size 512px x 512px and MapStore supports only 256px x 256px for WMTS layers.

After some quick tests on the mapping libraries of MapStore I was able to display a layer only in openlayer by switching the 256 tileSize to 512 (hard-coded) but this test didn't work with leaflet and cesium.

We need to introduce support for tile sizes different from 256px x 256px in all the mapping libraries of MapStore.

simboss commented 5 years ago

@allyoucanmap can you make an estimate for this?