[Geomoose-users] Problem adding a layer
Len Kne
lkne at houstoneng.com
Mon Oct 5 15:44:46 EDT 2009
Edward
If the demo layers work, then "mapserver_url" is set correct in the mapbook, which would point towards path problems in the map file. Another issue could be extents in either the mapbook or map file.
A real helpful tool for trouble shooting is Firebug in the Firefox browser. Using firebug, you can isolate the GET call to the server - I like to copy the URL GeoMOOSE is sending and run it directly from the browser - this way you will see MapServer errors.
Len
From: Edward E. Boesenberg, III [mailto:eboesenberg at niraengineers.com]
Sent: Monday, October 05, 2009 12:52 PM
To: Geomoose Support
Subject: [Geomoose-users] Problem adding a layer
I just installed a new server and Geomoose 2.0 and I am trying to add a layer but I am having problems. I reprojected all my data to EPSG 2915 so there is no projection error.
I included below snippets from my mapbook and mapfile. Does anybody see what's wrong?
<map-source name="muni_bndy" type="mapserver">
<file>./demo/muni_bndy/muni_bndy.map</file>
<layer name="all"/>
</map-source>
<layer title="muni_bndy" src="muni_bndy/all" status="on" legend="true"/>
Here is my mapfile:
MAP
NAME 'muni_bndy'
SIZE 800 650
STATUS ON
EXTENT 457272 4215829 1688276 5254002
UNITS METERS
INCLUDE "../../geomoose_globals.map"
WEB
INCLUDE "../../temp_directory.map"
END
LEGEND
STATUS ON
LABEL
TYPE TRUETYPE
FONT vera_sans
SIZE 8
COLOR 0 0 0
END
END
# CONFIG PROJ_LIB "/ms4w/proj/nad"
Projection
"init=epsg:26915" # UTM Zone 15N
END
LAYER
NAME 'muni_bndy'
DATA '//Nira-server/ms4w/apps/geomoose2/maps/demo/muni_bndy/muni_bndy.shp'
TYPE LINE
STATUS ON
CLASS
NAME 'muni_bndy'
STYLE
COLOR 100 100 100
END
END
MAXSCALE 1500000000
END ## Layer
END ## end Map
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20091005/06216cd0/attachment.html
More information about the Geomoose-users
mailing list