[gdal-dev] problem reading arc from shapefile with OGR

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Apr 27 23:23:37 EDT 2010


Bruce,

OGR doesn't support all the Shape Types. Curved line segments show up as
straight line segments. Could this be the case?

On Wed, Apr 28, 2010 at 6:37 AM, Clay, Bruce <bclay at ball.com> wrote:

>  I created a shapefile in ArcMap with 5 objects.  The first two are really
> a collection of many line strings that I copied from a Census Tigerline file
> and the other three I created using the ArcMap editor arc tool.  The
> attached file shows what the shapes look like.
>
>
>
> I can read the two smaller objects using OGR without any problem.  They
> have reasonable point counts and the X/Y data from the ones I looked at in
> the debugger look valid.
>
>
>
> I can not get to the point data in the larger three shapes.  The geometry
> type shows up as linestrings but the point counts are way to low (i.e 28, 10
> and 3).
>
>
>
> I tried to cast them into OGRCurve, OGRMultiLineString, GeometryCollection
> and a few more I think but none of them worked.
>
>
>
> Is there some special way to read data like this?
>
>
>
> 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.
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9848167848
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100428/af6e835f/attachment.html


More information about the gdal-dev mailing list