[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>&gt;Send Maplab-users mailing list submissions 
to<br>&gt;	maplab-users at lists.maptools.org<br>&gt;<br>&gt;To subscribe or 
unsubscribe via the World Wide Web, 
visit<br>&gt;	http://lists.maptools.org/mailman/listinfo/maplab-users<br>&gt;or, 
via email, send a message with subject or body 'help' 
to<br>&gt;	maplab-users-request at lists.maptools.org<br>&gt;<br>&gt;You can 
reach the person managing the list 
at<br>&gt;	maplab-users-owner at lists.maptools.org<br>&gt;<br>&gt;When 
replying, please edit your Subject line so it is more specific<br>&gt;than 
&quot;Re: Contents of Maplab-users digest...&quot;<br><p>&gt;Today's 
Topics:<br>&gt;<br>&gt;    1. maplab :g map factory error (wesley 
ruto)<br><p><hr color=#A0C6E5 size=1>
From:  <i>wesley ruto &lt;wesoruto at yahoo.com&gt;</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>&gt;<br>&gt;<br>&gt;hi everyone i have completed using map edit 
but iam<br>&gt;getting errors when i try to build the results using 
g<br>&gt;map factory i am getting the following errors can any<br>&gt;one 
please help, the application is called paste stred<br>&gt;inall the folders 
of the application my map file is<br>&gt;also saved there.or alternatively 
where do one save<br>&gt;the mapfile inorder to use g map 
factory<br>&gt;<br>&gt;on the layout elements customization 
bar<br>&gt;<br>&gt;Warning: [MapServer Error]: loadLayer(): Parsing 
error<br>&gt;near (Land):(line 114) 
in<br>&gt;C:\ms4w\apps\maplab-2.2\htdocs\gmapfactory\build_phtml.php<br>&gt;on 
line 1298<br>&gt;<br>&gt;Warning: Failed to open map 
file<br>&gt;/ms4w/apps///maplab-2.2/projects/gmf_apps/paste//paste.map<br>&gt;in<br>&gt;C:\ms4w\apps\maplab-2.2\htdocs\gmapfactory\build_phtml.php<br>&gt;on 
line 1298<br>&gt;<br>&gt;and on map 
preview<br>&gt;<br>&gt;<br>&gt;<br>&gt;Parse error: parse error 
in<br>&gt;C:\ms4w\apps\maplab-2.2\projects\gmf_apps\paste\globprefs.php<br>&gt;on 
line 
46<br>&gt;<br>&gt;__________________________________________________<br>&gt;Do 
You Yahoo!?<br>&gt;Tired of spam?  Yahoo! Mail has the best spam protection 
around<br>&gt;http://mail.yahoo.com<br>&gt;<br><p><p><p>&gt;_______________________________________________<br>&gt;Maplab-users 
mailing 
list<br>&gt;Maplab-users at lists.maptools.org<br>&gt;http://lists.maptools.org/mailman/listinfo/maplab-users<br><p></font></BLOCKQUOTE>




More information about the Maplab-users mailing list