[mapserver-users] Getting an empty MVT output for a point layer

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Thu Aug 9 07:18:25 PDT 2018


Hi,

My colleague has suffered from the same issue. Here is a link to a directory with a mapfile and corresponding datasets (OSM data as GeoPackage and Natural earth populated places as shapefile) http://193.167.189.71/temppi/

-Jukka Rahkonen-

Lähettäjä: Lime, Steve D (MNIT) [mailto:steve.lime at state.mn.us]
Lähetetty: 8. elokuuta 2018 21:14
Vastaanottaja: Caleb Lee <caleblee at hotmail.com<mailto:caleblee at hotmail.com>>; Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi<mailto:jukka.rahkonen at maanmittauslaitos.fi>>; mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Aihe: RE: Getting an empty MVT output for a point layer

I’ll have a look at this too. My demo instance had a point player so it certainly should be working. Can you share your data (contact me off list if you’d like)? --Steve

From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Caleb Lee
Sent: Wednesday, August 08, 2018 12:40 PM
To: Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi<mailto:jukka.rahkonen at maanmittauslaitos.fi>>; mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Subject: Re: [mapserver-users] Getting an empty MVT output for a point layer

I will be away for a while so I cannot do that right now. However, I can do that probably early next week.

If it helps, I just tried WMS request to generate both png and mvt and I got the similar result:

1. WMS request with FORMAT set to image/png
    - I got a png image with 50k points drawn)

mapserv?map=D:\home\site\wwwroot\100k_3857_node.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&layers=nodes&width=800&height=600&srs=epsg:3857&STYLES=&bbox=-8979930,4769116,-8362889,5173075&FORMAT=image/png

2. WMS request with application/x-protobuf
    - got the same result like the following:

       nodesIdName(€ x

mapserv?map=D:\home\site\wwwroot\100k_3857_node.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&layers=nodes&width=800&height=600&srs=epsg:3857&STYLES=&bbox=-8979930,4769116,-8362889,5173075&FORMAT=application/x-protobuf<http://xxx.com/cgi-bin/mapserv?map=D:\home\site\wwwroot\100k_3857_node.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&layers=nodes&width=800&height=600&srs=epsg:3857&STYLES=&bbox=-8979930,4769116,-8362889,5173075&FORMAT=application/x-protobuf>

Thanks,

Caleb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20180809/24e78fcb/attachment.html>


More information about the mapserver-users mailing list