Blank image being created in MS 4.6.0
Mike Boos
mboos at AUGSIGNALS.COM
Thu Aug 25 12:07:02 PDT 2005
In this case, no it does not. gdalinfo reveals no coordinate system -
this is the system our mapfile-generating script provides when no
coordinate system is available. (I didn't develop it, just maintaining
it, so I'm not sure why it chooses that one) The way our server is
supposed to work is that if the image has coordinate system info to it,
it will project and display it appropriately according to that
information. If there is no information, we still need to display the
image, so it generates the extent data based on the image size. This
particular image has no world file or any other georeferencing info
associated with it.
The image is displayed on its own, so I could take out the projection
information. However, this does not cause the image to appear.
Mike
Fawcett, David wrote:
>Does your image really fall in a 576 meter by 432 meter spot in the origin corner of UTM Zone 11? You could run gdalinfo on image file to find out it's extent.
>
>I haven't done a lot of image work, but is there a world file associated with this image?
>
>David.
>
>David Fawcett
>Minnesota Office of Environmental Assistance
>david.fawcett at moea.state.mn.us
>651.215.0200
>
>
>-----Original Message-----
>From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On
>Behalf Of Mike Boos
>Sent: Thursday, August 25, 2005 1:27 PM
>To: MAPSERVER-USERS at LISTS.UMN.EDU
>Subject: Re: [UMN_MAPSERVER-USERS] Blank image being created in MS 4.6.0
>
>
>I'm not sure. I assumed that because the map worked before in the older
>version that the extent should match up - unless something has changed
>in the way Mapserver handles things.
>
>Mike
>
>Fawcett, David wrote:
>
>
>
>>Do you have an issue with your extent matching the projection specified in your layer?
>>
>>David.
>>
>>David Fawcett
>>Minnesota Office of Environmental Assistance
>>david.fawcett at moea.state.mn.us
>>651.215.0200
>>
>>
>>-----Original Message-----
>>From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On
>>Behalf Of Mike Boos
>>Sent: Thursday, August 25, 2005 1: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