[maplab-users] maplab :g map factory error
Ivan Kautter
ivankautter at hotmail.com
Mon Sep 12 18:44:30 EDT 2005
Wesley,
I have found that defining the path to the actual GIS data used in the map
is best when defined relative to the position of the mapfile. So if the
mapfile sits in a subfolder under mapedit, for example, then it is easier to
have the data sitting in a subfolder beneath the mapfile in your file
structure. If you did the same thing when creating the mapfile in mapedit
(defined the path to GIS data relative to the mapfile), then if you merely
moved the mapfile to another location, for instance, under the gmapfactory
folder then mapserver won't know where to find your data. Try creating the
gmap application by selecting the same mapfile in the same location as you
used in mapedit. If this is not the problem you are experiencing, then I am
not sure what problem you are experiencing.
Ivan Kautter
<BLOCKQUOTE style='PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #A0C6E5
2px solid; MARGIN-RIGHT: 0px'><font
style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'><hr color=#A0C6E5
size=1>
From: <i>maplab-users-request at lists.maptools.org</i><br>Reply-To:
<i>maplab-users at lists.maptools.org</i><br>To:
<i>maplab-users at lists.maptools.org</i><br>Subject: <i>Maplab-users Digest,
Vol 18, Issue 7</i><br>Date: <i>Mon, 12 Sep 2005 12:01:16
-0400</i><br>>Send Maplab-users mailing list submissions
to<br>> maplab-users at lists.maptools.org<br>><br>>To subscribe or
unsubscribe via the World Wide Web,
visit<br>> http://lists.maptools.org/mailman/listinfo/maplab-users<br>>or,
via email, send a message with subject or body 'help'
to<br>> maplab-users-request at lists.maptools.org<br>><br>>You can
reach the person managing the list
at<br>> maplab-users-owner at lists.maptools.org<br>><br>>When
replying, please edit your Subject line so it is more specific<br>>than
"Re: Contents of Maplab-users digest..."<br><p>>Today's
Topics:<br>><br>> 1. maplab :g map factory error (wesley
ruto)<br><p><hr color=#A0C6E5 size=1>
From: <i>wesley ruto <wesoruto at yahoo.com></i><br>To:
<i>maplab-users at lists.maptools.org</i><br>Subject: <i>[maplab-users] maplab
:g map factory error</i><br>Date: <i>Mon, 12 Sep 2005 00:31:51 -0700
(PDT)</i><br>><br>><br>>hi everyone i have completed using map edit
but iam<br>>getting errors when i try to build the results using
g<br>>map factory i am getting the following errors can any<br>>one
please help, the application is called paste stred<br>>inall the folders
of the application my map file is<br>>also saved there.or alternatively
where do one save<br>>the mapfile inorder to use g map
factory<br>><br>>on the layout elements customization
bar<br>><br>>Warning: [MapServer Error]: loadLayer(): Parsing
error<br>>near (Land):(line 114)
in<br>>C:\ms4w\apps\maplab-2.2\htdocs\gmapfactory\build_phtml.php<br>>on
line 1298<br>><br>>Warning: Failed to open map
file<br>>/ms4w/apps///maplab-2.2/projects/gmf_apps/paste//paste.map<br>>in<br>>C:\ms4w\apps\maplab-2.2\htdocs\gmapfactory\build_phtml.php<br>>on
line 1298<br>><br>>and on map
preview<br>><br>><br>><br>>Parse error: parse error
in<br>>C:\ms4w\apps\maplab-2.2\projects\gmf_apps\paste\globprefs.php<br>>on
line
46<br>><br>>__________________________________________________<br>>Do
You Yahoo!?<br>>Tired of spam? Yahoo! Mail has the best spam protection
around<br>>http://mail.yahoo.com<br>><br><p><p><p>>_______________________________________________<br>>Maplab-users
mailing
list<br>>Maplab-users at lists.maptools.org<br>>http://lists.maptools.org/mailman/listinfo/maplab-users<br><p></font></BLOCKQUOTE>
More information about the Maplab-users
mailing list