Hi all,

recently I was converting dbf files [1] to PostgreSQL database. Some
fields are recognized as characters even they contain numeric types,
eg.

ogrinfo OBCE.DBF OBCE -so
INFO: Open of `OBCE.DBF'
      using driver `ESRI Shapefile' successful.

Layer name: OBCE
ICOB: String (6.0)

ICOB is ID of a city, OGR driver defines this attribute as character.
I tried ADJUST_TYPE option, but it didn't make difference.

Thanks in advance for any hint, Martin

[1] http://geo102.fsv.cvut.cz/~landa/tmp/OBCE.DBF

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to