jamesdales / IconMapSupport

MIT License
4 stars 1 forks source link

Unable to add vector tiles from Geoserver to IconMap in Power BI #26

Open mjagromapping opened 9 months ago

mjagromapping commented 9 months ago

Hi James

I am a member of an agricultural NGO working with smallholder farmers accross Asia and Africa: https://adda.dk/en/front-2/

Attached please find a PowerBI file including data (packaged in one zip-file) of 102 anonimized smallholder farmers in Dodoma region, Tanzania.

I would like to add a vector tile layer consisting of the 102 fields (polygons) of the smallholder farmers.

For this purpose I have established a Geoserver provided by https://www.acugis.com/

I have followed your detailed instructions: https://www.icon-map.com/blogs/blogs.html#vectortiles

I have succeeded to (see attached word-file):

  1. create a specific gridset for ESPG 3857
  2. upload a shapefile including the 102 fields (polygons) of the farmers

The challenge that I am facing now is that the Tile Layer, with the 102 fields, that I have uploaded to the Geoserver does not show up in IconMap in PowerBI.

I assume that there is something wrong with the link to the Tile Layer that I have composed as per your instructions:

https://mam.webgis1.com/geoserver/gwc/service/wmts/rest/Dodoma:2023.09.26_polygons_export_geoserver/polygon/EPSG3857/EPSG3857:{z}/{y}/{x}?format=application/vnd.mapbox-vector-tile

Please let me know if you need any additional info to solve my request or if you would like to have a brief Microsoft Teams meeting for me to explain the challenge more in detail (may be including brief screen sharing session for quick hands-on guidance... ).

Thank you in advance for your kind assistance!

Kind regards Mikael Jonsson

Example to Icon maps.zip

Geoserver documentation and screen shots to Icon Maps.docx

jamesdales commented 9 months ago

Hi. Geoserver is currently reporting the following error. Unable to match requested TILEMATRIXSET EPSG3857 to those supported by layer

Unable to match requested TILEMATRIXSET EPSG3857 to those supported by layer

Let me work through your word doc and see if I can see what's wrong...

amarinos238 commented 8 months ago

Maybe it's just a typo, but in your text above you write that your gridset is called ESPG 3857 (S and P are swapped and there's a space between ESPG and 3857). In your URL though, you are using "EPSG3857", which is different. Maybe you could make sure that the gridset is called exactly EPSG3857...