[Mapserver-users] img problem

Martin, Daniel DMartin at erac.com
Tue Feb 11 15:29:02 PST 2003


Well, I'm going to assume you are using the CGI mapserv.  AFAIK, the only
way the extent in the mapfile matters at all is if you are using
shp2img.exe.

The question really is: What extent are you passing into the page when you
initialize the CGI parameters?  IE, what is the value of [mapext].  If you
aren't sure, put [mapext] somewhere in your client to show the value -
somewhere outside of an html tag.

-Dan Martin

> -----Original Message-----
> From: Kevin Slover [mailto:kevin.slover at noaa.gov]
> Sent: Tuesday, February 11, 2003 11:15 AM
> To: Mapserver Mailing-List
> Subject: [Mapserver-users] img problem
> 
> 
> I have gotten the demo to work pretty well, and I am now attempting to
> develop my own images, but am running into an issue at this 
> point.  The
> initial image that it creates is not even close to the actual extents,
> and is not able to load into the applet window.  The code 
> initial lines
> in the map file are:
> 
> NAME FLORIDA
> STATUS ON
> SIZE 600 600
> EXTENT -78 24.2 -88 31.2
> SHAPEPATH "data
> IMAGECOLOR 255 255 255
> 
> IMAGETYPE PNG
> 
> PROJECTION
>   "proj=latlong"
> END
> 
> I have attached the file to give a better understanding.  I 
> am guessing
> it is something simple, but it has dumbfounded me for most of the
> morning...
> 
> Thanks!
> 
> -- 
> LTJG Kevin Slover, NOAA
> GIS Specialist/Oceanographer
> NOAA/TPC/TSB/Storm Surge Unit
> 11691 SW 17th Street 
> Miami FL  33165
> 
> W (305) 229-4456
> 



More information about the MapServer-users mailing list