[MapServer-users] MVT Unable to initialize image
Jeff McKenna
jmckenna at gatewaygeomatics.com
Sat Jul 26 01:44:16 PDT 2025
Also be sure to always define a PROJECTION block for each of your layers.
Have a nice weekend,
-jeff
--
Jeff McKenna
GatewayGeo: Developers of MS4W, & offering MapServer Consulting/Dev
co-founder of FOSS4G
http://gatewaygeo.com/
On 2025-07-25 1:42 p.m., Jeff McKenna wrote:
> Hi Mathias,
>
> What happens if you try in your request: &TILE=0+0+0 (and remove the
> &map.imagetype part) ?
>
> (that's what I did while documenting steps for the page https://
> mapserver.org/output/tile_mode.html )
>
> Recent MS4W versions also include an MVT demo as well as a local.map
> test file, so you could:
>
>
> - first try in your browser http://127.0.0.1/cgi-bin/mapserv.exe?MAP=/
> ms4w/apps/local-demo/
> local.map&MODE=tile&TILEMODE=gmap&TILE=0+0+0&LAYERS=countries (you
> should see a map image of the world countries in your browser)
>
> - then add your OUTPUTFORMAT for MVT into local.map, and then try:
>
> http://127.0.0.1/cgi-bin/mapserv.exe?MAP=/ms4w/apps/local-demo/
> local.map&MODE=tile&TILEMODE=gmap&TILE=0+0+0&LAYERS=countries&map.imagetype=mvt
>
> If that fails, you might have to upgrade your MS4W version.
>
> But if that works, I would then paste your "prescription" layer into
> local.map, and reload that same request in your browser.
>
> thanks,
>
> (and thanks for using MS4W)
>
> -jeff
>
>
>
More information about the MapServer-users
mailing list