[postgis-users] FileGDB curves

Andy Colson andy at squeakycode.net
Wed Nov 12 08:20:44 PST 2014


I only use arc to convert stuff, otherwise I avoid it.  I don't even 
know how to edit with it.

This is only one curve, there are probably lots and lots in the layer.

Guess I'll try gdb -> shapefile again.  Have had some luck with that in 
the past.

Thanks all,

-Andy

On 11/12/2014 10:15 AM, Rémi Cura wrote:
> So it seems you are stuck with approximating curve with line inside
> FileGDB before using ogr.
>
> I guess you can do so using arcgis, but I never used it.
>
> Cheers,
> Rémi-C
>
> 2014-11-12 17:09 GMT+01:00 Paul Ramsey <pramsey at cleverelephant.ca
> <mailto:pramsey at cleverelephant.ca>>:
>
>     Correct, the curves were likely ruined on the way through GDAL. In
>     some ways, fortunate they ever got through at all.
>
>     On Wed, Nov 12, 2014 at 7:48 AM, Bborie Park <dustymugs at gmail.com
>     <mailto:dustymugs at gmail.com>> wrote:
>      > If I remember correctly, curve geometries are not currently
>     supported in
>      > GDAL/OGR. There is a GDAL RFC making the rounds for adding curve
>     support...
>      >
>      > http://trac.osgeo.org/gdal/wiki/rfc49_curve_geometries
>      >
>      > -bborie
>      >
>      > On Wed, Nov 12, 2014 at 7:44 AM, Andy Colson
>     <andy at squeakycode.net <mailto:andy at squeakycode.net>> wrote:
>      >>
>      >> Shoot.  I changed the command to:
>      >>
>      >> ogr2ogr
>      >>   -f PostgreSQL
>      >>   -t_srs EPSG:3857
>      >>   'PG:dbname=gis'
>      >>   WCWebDataCC.gdb
>      >>   -lco FID=gid
>      >>   -lco SPATIAL_INDEX=OFF
>      >>   -lco GEOMETRY_NAME=the_geom
>      >>   -lco SCHEMA=washingtonmn
>      >>   -lco PRECISION=NO
>      >>   streets
>      >>
>      >>
>      >> (removing the -nlt) and I still get a MULTILINESTRING, and it
>     still looks
>      >> the same.
>      >>
>      >> The ogr2ogr is part of a perl script, and the first command I
>     posted was
>      >> my guess at what it generated, which was a little off.  The
>     command above is
>      >> correct.
>      >>
>      >> I'm not sure what else to try.
>      >>
>      >>
>      >> -Andy
>      >> _______________________________________________
>      >> postgis-users mailing list
>      >> postgis-users at lists.osgeo.org <mailto:postgis-users at lists.osgeo.org>
>      >> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>      >
>      >
>      >
>      > _______________________________________________
>      > postgis-users mailing list
>      > postgis-users at lists.osgeo.org <mailto:postgis-users at lists.osgeo.org>
>      > http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>     _______________________________________________
>     postgis-users mailing list
>     postgis-users at lists.osgeo.org <mailto:postgis-users at lists.osgeo.org>
>     http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list