[Gdal-dev] ogr2ogr

Krzysztof Chodak k.chodak at autoguard.pl
Mon Apr 14 14:51:23 EDT 2003


All is strange because all features are reported (by ogrinfo) as
MULTIPOLYGONS and POLYGONS.
And I got no warnings in conversion process...
Probably I would need to debug source code to find out what it is.

BR
 
Krzysztof Chodak

-----Original Message-----
From: gdal-dev-admin at remotesensing.org
[mailto:gdal-dev-admin at remotesensing.org] On Behalf Of Daniel Morissette
Sent: Monday, April 14, 2003 6:57 PM
To: gdal-dev at remotesensing.org
Subject: Re: [Gdal-dev] ogr2ogr


Krzysztof Chodak wrote:
> 
> have you encountered such issue:
> I have mapinfo tab file with 50 objects (everyone of that 50 is listed by
> ogrinfo).
> After using ogr2ogr target shapefile reports only 44 objects.
> Have you got any idea what has happened with that missing 6?
> 

Is it possible that you'd have some objects with NONE geometry in your
dataset?  Since shapefile objects cannot have NONE geometry then these
objects may end up being dropped.  Another possibility would be that
your TAB file contains a mix of geometry types (e.g. points and lines),
and since shapefiles support only one geometry type per file then the
objects whose geometry doesn't match the geometry type of the created
shapefile may be dropped.  However you should receive a warning when
that happens.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Gdal-dev mailing list
Gdal-dev at remotesensing.org
http://remotesensing.org/mailman/listinfo/gdal-dev




More information about the Gdal-dev mailing list