Finally, I use MVT mode successfully. Here is what I did if it can help
(and I will probably read my own lines in few months !)
- installed Mapserver with MS4W 5
- followed instructions (readme.txt) to replace old mapserver & Apache with
new ones. Not as easy as it sounds because...
- had to instal
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,
W
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 y
erratum : map.imagetype=mvt added at then end of url.
msDrawMap(): Image handling error. Unable to initialize image.
createImage(): Renderer error. createImage not implemented
Cordialement,
*--*
*Mathias Cunault*
*référent SIG / Admin Caviar*
*Inrap Tours - 148 av. Maginot37000 TOURS06
Thanks.
Indeed the message has disappeared... for this one with this request:
http://
.../mapserv.exe?MAP=C:/ms4w/Apache/site/mapfile/vue_prescription_pgts_wfs.map&mode=tile&tilemode=gmap&tile=4113+2867+13&layers=prescription
msDrawMap(): Image handling error. Unable to initialize image.
msPrepareI
Hi,
The curly brackets are for placeholders in your JS application. These are
replaces by the XYZ indexes of the tile.
Try the following request:
C:/ms4w/Apache/site/mapfile/vue_prescription_pgts_wfs.map&mode=tile&tilemode=gmap&tile=12+447+1988&layers=prescription&
There is a full working examp