[mapserver-users] shp2img bug? included map files

Jeff McKenna jmckenna at dmsolutions.ca
Wed Mar 19 10:26:29 PDT 2008


I have no problems using shp2img and including hundreds of files (with 
MapServer 5.0.2).  I store all layers in ".lay" files, and then my 
master mapfile might look like this (where 'layers' is a folder in the 
same directory as the master mapfile):

   INCLUDE "./layers/base/bathymetry.lay"
   INCLUDE "./layers/base/canada_land.lay"

What is your error with shp2img?

-jeff




Steven Lehr wrote:
> This software is outstanding, and I appreciate all you guys who support 
> this project.  I came across this and did not see anything on the bug 
> page for shp2img and included map files so I'm just forwarding this 
> along.  Sorry if this is a known issue or I'm using it incorrectly.
>  
> shp2img does not look like it follows included map files.
>  
> I have aerial photography in a separate map file. 
>  
> I tried using a local path, and a full path, though they did not render 
> the aerials
> INCLUDE "/maps/aerials.map"
> INCLUDE "aerials.map"
> INCLUDE "./aerials.map"
>  
> Though when I moved the aerial layer into my map file, it rendered 
> successfully.
>  
> MapServer version 5.0.1
>  



More information about the MapServer-users mailing list