Re: Get mvt ouput

Jeff McKenna <[email protected]>
Newsgroups gmane.comp.gis.mapserver.user
Message-ID <[email protected]>
You can get MVT output through a CGI mode=tile call, such as:

http://127.0.0.1/cgi-bin/mapserv.exe?
MAP=/ms4w/apps/mvt-demo/demo.map&
mode=tile&
tilemode=gmap&
tile=986+1445+12&
layers=all&
map.imagetype=mvt

This leverages a specific outputformat set in your mapfile, as:

   OUTPUTFORMAT
     NAME "mvt"
     DRIVER MVT
     FORMATOPTION "EDGE_BUFFER=20"
   END

You can view that demo in action at: https://ms4w.me/mvt-demo/index.html

The source of that demo is thanks to Steve Lime (download it at 
https://github.com/sdlime/mvt-demo or it is also included now in all 
MS4W installations https://ms4w.com)

Hope that info helps a little,

-jeff



-- 
Jeff McKenna
MapServer Consulting and Training Services
https://gatewaygeomatics.com/



On 2019-04-01 3:22 AM, BrainDrain wrote:
> Hello!
> Is it possible to get map output (postis layers, custom projection) using
> vector type output format somehow?
> Cgi app (as wms service or mode=map)  doesn't allow it as well as mapscript
> (c# bindings).
> Thank you very much!
> 
> 

_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.