[Maplab-dev] [Bug 955] New: On adding class item to layer
(tutorial), map preview errors out
bugzilla-daemon at maptools.org
bugzilla-daemon at maptools.org
Thu Feb 10 10:09:57 EST 2005
http://www.maptools.org/bugzilla/show_bug.cgi?id=955
Summary: On adding class item to layer (tutorial), map preview
errors out
Product: MapLab
Version: 3.0
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: map editor
AssignedTo: maplab-dev at lists.maptools.org
ReportedBy: ad_wells at hotmail.com
I installed ms4w yesterday on Windows XP Professional 2003. I downloaded the
MapLab application and proceeded to run the 'Maplab 2.2 Getting Started'
tutorial. When I got to 'Selecting the class item field' (MapEdit), at step
4, the map preview pane opened up, but instead of seeing the map, I got the
following error messages:
Warning: [MapServer Error]: msDrawMap(): Failed to draw layer named 'land_fn'.
in C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on line 469
Warning: [MapServer Error]: msDBFGetItemIndex(): Item 'CAPITAL' not found. in
C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on line 469
Warning: [MapServer Error]: msInsertHashTable: Invalid hash table or key in
C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on line 469
(above message 10 times!)
Fatal error: Call to a member function on a non-object in C:\ms4w\apps\maplab-
2.2\htdocs\mapedit\preview.php on line 474
>From the second error message, it seems to be related to trying to access the
DBF field. I ran the tutorial to this point twice, just to ensure that I had
not done something wrong prior! The only deviation to the instructions that I
made was to key in 'popplace.shp' for the data field of the 'capital' layer
object, as when I tried to select it using the browse button, the following
string was returned, which did not reference the popplace.shp file correctly:
../../../../../../../..//maplab-2.2/tutorial/data/popplace
By the way, my downloaded version of Maplab is 2.2, why is this not a choice
in bugzilla bug reports? I had to choose either 2.0, 2.1 or 3.0.
Thanks in advance!
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Maplab-dev
mailing list