[mapserver-users] strange mapinfo layer

Alex Rice alex_rice at arc.to
Thu Jul 25 20:03:35 EDT 2002


On Wednesday, July 24, 2002, at 05:23  PM, Daniel Morissette wrote:
> Hummm... this is bad... even though a layer with no geometries is
> useless to MapServer, it should not crash on it... this as a bug 
> that we
> should fix since objects with "NONE" geometries are a valid case coming
> from MapInfo and other GIS formats.
>
> FYI I filed this in the MapServer bugzilla at
>   http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=169

Daniel, here is some more info. There is only one file I've found 
that causes this behavior. It's supposed to be a Mapinfo .TAB 
file & it IS supposed to have point geometry in it. However, 
ogrinfo insists on opening it with the ESRI Shapefile driver! The 
shapefile output from ogrinfo is:

# ogrinfo Eslocs.TAB Eslocs | more
INFO: Open of `Eslocs.TAB'
using driver `ESRI Shapefile' successful.

Layer name: Eslocs
Geometry: None
Feature Count: 83
Layer SRS WKT:
(unknown)
NAME: String (40.0)
ID: Integer (11.0)
ADDRESS: String (40.0)
PHONE: String (10.0)
MAPADD: String (40.0)
...

Let me know if you want a copy of these files Eslocs.*. Now I'm 
going to try opening it in Mapinfo Pro and seeing if it thinks 
it's a TAB file or something else.

Thanks,

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
alex_rice at arc.to
alrice at swcp.com





More information about the mapserver-users mailing list