A quick reading of your issue let me think you're hitting the "well-known" and 
still unresolved issue, reported as http://trac.osgeo.org/gdal/ticket/2286

Le Wednesday 24 September 2008 21:14:11 Clay, Bruce, vous avez écrit :
> Follow on to earlier message.
>
>
>
> I removed the SetLength and SetPrecision from the field specification
> and things are working now.  ArcMap thinks the integer fields are
> Doubles with length of 11 and precision of 11 but the values do not
> appear to be truncated so that is a good thing
>
>
>
> It just seems odd that the OCI driver accepted the size but the
> shapefile driver did not.
>
>
>
> Bruce
>
>
>
> ________________________________
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Clay, Bruce
> Sent: Wednesday, September 24, 2008 2:55 PM
> To: [email protected]
> Subject: [gdal-dev] shapefile field size
>
>
>
> I have an OGR based application that I am having problems with data
> storage
>
>
>
> Several fields are OFTInteger and several are OFTReal
>
>
>
> When I write a dataset using the OCI driver the integer fields all store
> valid information.
>
>
>
> When I write a dataset using the Shapefile driver the integer fields
> appear to be truncated to shorts. They are defined with a field width of
> 4 bytes.  It almost looks like the data is stored as ASCII because only
> the 4 most significant digits are actually saved in the shapefile.
>
>
>
> Is this the intended operation or is there some extra flag that I need
> to set when I switch between creating an Oracle table and a shapefile?
>
>
>
> Bruce
>
>
>
>
>
> This message and any enclosures are intended only for the addressee.
> Please
> notify the sender by email if you are not the intended recipient.  If
> you are
> not the intended recipient, you may not use, copy, disclose, or
> distribute this
> message or its contents or enclosures to any other person and any such
> actions
> may be unlawful.  Ball reserves the right to monitor and review all
> messages
> and enclosures sent to or from this email address.
>
>
>
> This message and any enclosures are intended only for the addressee. 
> Please notify the sender by email if you are not the intended recipient. 
> If you are not the intended recipient, you may not use, copy, disclose, or
> distribute this message or its contents or enclosures to any other person
> and any such actions may be unlawful.  Ball reserves the right to monitor
> and review all messages and enclosures sent to or from this email address.


_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to