[Gdal-dev] ogr2ogr convertion data type problem

Richard Rossel rrossel at airsage.com
Tue Nov 14 15:37:07 EST 2006


Hi fellows,
I have a problem with ogr2ogr -f "ESRI Shapefile". I have an Atlas
data with a field as:
ID: Real (15.0)
Well, input file has a large ID, for example 17560002064459
but, after ogr2ogr, the new shapefile has all ID as : -2147483648

I think that is a convertion data type problem, but I don't know how
can I fix this problem.
This is the ogr2ogr script:
 ogr2ogr -f "ESRI Shapefile"  -where "FEATTYP = '4110' AND ONEWAY
!='N'" -select "ID,FEATTYP,METERS,FRC,ROUTENUM"  suiza
cheche________nw.shp

Help please!
thanks.-

-- 
Richard Rossel
Valparaiso - Chile



More information about the Gdal-dev mailing list