[mapserver-users] Error messages (again)
Steve Lime
steve.lime at dnr.state.mn.us
Fri Sep 6 21:23:50 PDT 2002
The shape drawing function is really independent of an actual dataset
and at the moment there are no pointers from a shapeObj back to any
particular datasource parameters. In MapScript, for example, a shape can
exist without any parent datasource.
That said, the best you could probably expect is a layer name, which I
agree should be there. I'll check to code to see if there's more
available.
If the problem is in one tile amongst thousands than finding the
offending data may be tedious.
It has not been a design goal to date for MapServer to resolve
inconsistencies in data, rather simply print a simple error message and
not crash when running into them. Obviously that's changing as more
users are pushing to software. On the otherhand there are 1000's of
error points and not every one has been revisited for clarity.
Steve
>>> <woodbri at swoodbridge.com> 09/06/02 15:45 PM >>>
I just got this error message:
Warning: MapServer Error in msDrawShape(): Only polygon shapes can be
drawn using a POLYGON layer definition. in
/home/httpd/html/maplab-2.0rc3/htdocs/common/wrapper/drawmap.php on
line 292
OK, it make perfect sense, but it is almost total useless toward
solving the problem. Would it be so hard to add the shapefile name?
and possible the object index. I have 3.2 GB of data to look through
to find this problem!!!!
Any ideas how to go about it?
Thanks,
-Steve W.
More information about the MapServer-users
mailing list