[mapserver-users] shp2img bug? included map files

Steven Lehr lehrs at erau.edu
Wed Mar 19 10:13:01 PDT 2008


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
 

Steven Lehr
Associate Professor
Freshmen Program
College of Engineering
Embry-Riddle Aeronautical University (LB263)
600 S. Clyde Morris Blvd.
Daytona Beach, FL 32114-3900
386-226-7740
  

 

________________________________

From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Steven
Lehr
Sent: Wednesday, March 19, 2008 11:33 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] shp2img ? pass in parameters?


Can I pass in a parameter to shp2img, i.e. I want to pass in parcel
number, as in my map file it highlights the parcel number. 
 
i.e
shp2img -m /tmp/parcel.map -o 1234.jpg -l parcels parcel=1234
 
Or do I need to write a mapscript script to create images like this.
 
Glancing at the
http://mapserver.gis.umn.edu/docs/reference/utilityreference/shp2img I
think I already have my answer, but I thought I might ask first.  Anyone
got a quick script I can borrow.. 

Steven Lehr
Associate Professor
Freshmen Program
College of Engineering
Embry-Riddle Aeronautical University (LB263)
600 S. Clyde Morris Blvd.
Daytona Beach, FL 32114-3900
386-226-7740
  


  

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080319/e70dc13c/attachment.htm>


More information about the MapServer-users mailing list