[mapserver-users] shp2img line-command to output mapfile with multiple layers

ninofor ninofor60 at gmail.com
Fri Mar 11 03:20:30 PST 2016


I try  -l "layer1,layer2,layer3" syntax, but not working !


2016-03-11 11:58 GMT+01:00 Rahkonen Jukka (MML) [via OSGeo.org]
<ml-node+s1560n5255811h2 at n6.nabble.com>:
> Hi,
>
> http://mapserver.org/utilities/shp2img.html
>
> -l layers: layers to enable - make sure they are quoted and space separated
> if more than one listed
>
> Your syntax is for sure not right. Instead of
> -l "layer1" "layer2" "layer3"
> try
> -l "layer1,layer2,layer3"
>
>
> -Jukka Rahkonen-
>
>
>
>
> nino formica wrote:
>
> I want to use "shp2img" command to create a map image (PNG) from a mapfile
> that contains 3 layer.
> So I write on terminal (Ubuntu):
> shp2img -m my_map.map -o my_map.png -l "layer1" "layer2" "layer3"
>
> But I always get a map with only a layer: the first-one on the list after
> "-l" option !
> Why ??
> How do I get a map image with all the overlapping layers ?
>
> Thanks !
> Nino
> _______________________________________________
> mapserver-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> _______________________________________________
> mapserver-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://osgeo-org.1560.x6.nabble.com/Re-shp2img-line-command-to-output-mapfile-with-multiple-layers-tp5255811.html
> To start a new topic under Mapserver - User, email
> ml-node+s1560n4226646h87 at n6.nabble.com
> To unsubscribe from Mapserver - User, click here.
> NAML




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-shp2img-line-command-to-output-mapfile-with-multiple-layers-tp5255817.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160311/b586af88/attachment.html>


More information about the mapserver-users mailing list