Re: [mapserver-users] Get mvt ouput

2019-04-01 Thread Jeff McKenna

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
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Get mvt ouput

2019-04-02 Thread Ritesh Saini
Helped a lot! Thanks :)

https://www.digitalkube.com/cloudways-coupon/ 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users