Blank image being created in MS 4.6.0
Brent Fraser
bfraser at GEOANALYTIC.COM
Thu Aug 25 11:35:34 PDT 2005
Mike,
You don't have a PROJECTION definition for your map (the target image to
be created by mapserver). And your EXTENT coordinates look like pixel
values instead of world coordinates (e.g. meters or degrees).
Try changing
EXTENT 0 0 576 432
to
EXTENT 300000 5000000 700000 6000000
or better yet, get the world extents of your input jpg file by using:
gdalinfo C:\inetpub\ftproot\input_images\AUG162454635.jpg
You might want to add
PROJECTION
"init=epsg:32611"
END
after the EXTENT entry as well.
Brent Fraser
GeoAnalytic Inc.
Calgary, Alberta, Canada
----- Original Message -----
From: "Mike Boos" <mboos at AUGSIGNALS.COM>
To: <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Thursday, August 25, 2005 12:17 PM
Subject: Re: [UMN_MAPSERVER-USERS] Blank image being created in MS 4.6.0
> Thanks, but neither changing the colour nor the transparency did anything.
>
> Mike
>
> Hydock,Shaun T. wrote:
>
> >I ran into something similar, adding a class to set the color in the
> >layer generated a viewable image for me:
> >
> > CLASS
> > COLOR 0 100 200
> > END
> >
> >Good luck!
> >
> >Shaun
> >
> >-----Original Message-----
> >From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
> >Behalf Of Mike Boos
> >Sent: Thursday, August 25, 2005 2:02 PM
> >To: MAPSERVER-USERS at LISTS.UMN.EDU
> >Subject: [UMN_MAPSERVER-USERS] Blank image being created in MS 4.6.0
> >
> >Hello
> >
> >I'm trying to upgrade our map server from version 4.1 to 4.6.0 and am
> >facing some hurdles. The map files work fine in version 4.1, but are all
> >
> >generating blank white images for me in 4.6.0. From reading the mailing
> >lists and the documentation, I can't seem to find what's wrong with the
> >map files. Here's an example:
> >
> >#epsg:32611
> >NAME AUG21234542.map
> >SIZE 400 400
> >EXTENT 0 0 576 432
> >WEB
> >TEMPLATE ../mapServerTemplateVis.html
> >IMAGEPATH ""
> >IMAGEURL ""
> >END
> >LAYER
> >TYPE RASTER
> >STATUS DEFAULT
> >DATA "C:\inetpub\ftproot\input_images\AUG162454635.jpg"
> >PROJECTION
> >"init=epsg:32611"
> >END
> >TRANSPARENCY 100
> >END
> >END
> >
> >Does anyone know what changes I need to make to have the image appear on
> >
> >my map?
> >
> >Thanks
> >Mike Boos
> >
> >
> >
> >
> >
More information about the MapServer-users
mailing list