Ticket #1417 (new defect)

Opened 2 years ago

Last modified 2 years ago

Incomplete import of data from TAB file

Reported by: nickblack1@gmail.com Assigned to: mloskot
Priority: normal Milestone:
Component: OGR_SF Version: 1.3.2
Severity: normal Keywords:
Cc: nickblack1@gmail.com

Description

Importing from a TAB file to PostGIS, some data is not imported.  Using ogrinfo on the RoadsGB_Nov06.TAB dataset shows 56150 features, when imported to PostGIS there are 47525 features - 1 Polygon, 1811 MultiLinesStrings, 45713 Linestrings.

Imported using:

ogr2ogr -f PostgreSQL -nln Roads_a "PG:dbname=test_spatial user= password= host=localhost" -a_srs EPSG:27700 RoadsGB_Nov06.TAB

Change History

12/22/06 11:35:58 changed by nickblack1@gmail.com

Using ogrinfo on the original tab file:

Total number of features: 56150
Polygons: 1
Linestring: 45713
MultiLinestring: 1811

Converting to a shp using ogr2ogr:

Total number of features: 47,524
Polygons: 0
Linestring: 45713
MultiLinestring: 1811

Importing to postgis from the original TAB file using OGR2OGR:

Total number of features: 47,525
Polygons: 1
Linestring: 45713
MultiLinestring: 1811

Importing to postgis from the shp OGR2OGR:

Total number of features: 47,524
Polygons: 0
Linestring: 45713
MultiLinestring: 1811