[Geomoose-users] Displaying a sid image
Fischer, Brian
bfischer at houstonengineeringinc.com
Tue May 27 22:32:11 EDT 2008
Mike,
That looks right. Try setting the status of the layer to "DEFAULT"
instead of "ON". Also make sure you have the .sid in the same
coordinate system as the rest of the data and you have the .sdw file
with the .sid file. That should work, I use .sid occasionally.
-Brian
From: geomoose-users-bounces at lists.sourceforge.net
[mailto:geomoose-users-bounces at lists.sourceforge.net] On Behalf Of Mike
Hamby
Sent: Tuesday, May 27, 2008 5:02 PM
To: geomoose-users at lists.sourceforge.net
Subject: [Geomoose-users] Displaying a sid image
Greetings,
I am admittedly a novice, so any help would be appreciated. I have been
able to setup an application on my desktop using Mapserver for Windows
and GeoMoose. Most of what I have done is patterned very closely after
the excellent demo applications. I want to display orthophotos, but
can't find a good example. The orthophoto I want to display is a single
file located in the same folder as the map file.
I have included this text in the crawforddemo.xml file located in the
webdocs folder:
<map title="Orthos" default="false">
<file>/ms4w/apps/GeoMOOSE/maps_Crawford/imagery/imagery.map</file>
</map>
Following is the entire imagery.map file located in the
/ms4w/apps/GeoMOOSE/maps_Crawford/imagery folder:
MAP
NAME 'orthos'
SIZE 800 650
STATUS ON
EXTENT 572600 375000 751000 529000
UNITS FEET
FONTSET '../fonts/fontset.list'
SYMBOLSET '../symbols/symbol.sym'
TRANSPARENT TRUE
IMAGETYPE PNG
QUERYMAP
STATUS ON
STYLE SELECTED
END
WEB
INCLUDE "/ms4w/apps/GeoMOOSE/maps_crawford/web_config.map"
END
LAYER
NAME "ortho"
DATA "crawford.sid"
TYPE RASTER
STATUS ON
END
END ## end Map
When I run the application, the orthos option shows up in the map layers
list as expected. When I check the box to display orthos, the "loading"
message appears briefly but no orthos are displayed. The EXTENT data is
the same as the parcel layer which displays just fine.
Can anyone tell me what I am doing wrong?
Mike Hamby
GIS Specialist
Crawford County Assessor's Office
www.crawford-county.org
(479) 471-3203
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20080527/03ac0dae/attachment.html
More information about the Geomoose-users
mailing list