[postgis-users] importing curved polygons

Richard Greenwood richard.greenwood at gmail.com
Sat Mar 11 08:40:00 PST 2017


Thank you Andreas. Summary: Using ogr2ogr 2.2 (which hasn't been released
yet) curves are read from an ESRI file gdb and written to postgis as
curves. When building ogr without any explicit configure option for fgdb
the OpenFileGDB driver is used. To use the ESRI driver the --with-fgdb
option has to be used but I personally didn't get that working. Using the
OpenFileGDB driver is probably preferable unless you need to write to a
file gdb. I was told on the gdal-dev list that the Windows dev version of
gdal available at gisinternals probably supports curves but I have not
tried it.

As always, thanks for the help.

Rich


On Wed, Mar 8, 2017 at 8:25 AM, Neumann, Andreas <a.neumann at carto.net>
wrote:

> Hi Rich,
>
> What GDAL/OGR version do you have? Which driver do you use? There are two.
>
> According to
>
> http://www.gdal.org/drv_openfilegdb.html
> and
> http://www.gdal.org/drv_filegdb.html (requires ESRI FileGDB API SDK)
> both versions require version 2.2 or higher.
>
> It is quite likely that you use an older version.
>
> Try "ogrinfo --version" to get the version.
>
> Andreas
>
> On 2017-03-08 16:16, Richard Greenwood wrote:
>
> I have received an ESRI file geodatabase with polygons containing curves
> that I would like to import into postgis. Using ogr2ogr the curved portion
> of the polygon is comprised of the chord of the curve (example below).
>
> Does anyone have any suggestions for importing an ESRI file geodatabase
> containing curved polygons?
>
> Thanks,
> Rich
>
>
>  MULTIPOLYGON(((-11750835.4823935 5060835.88854035,-11750867.8784639
> 5060835.62656567,-11750871.3924507 5060835.59816625,-11750871.8264507
> 5060873.75984909,-11750871.2171506 5060883.12929326,-11750870.900856
> 5060884.35132355,-11750864.5457614 5060884.41587281,-11750835.8933664
> 5060856.50810022,-11750835.4823935 5060835.88854035)))
>
> --
> Richard W. Greenwood, PLS
> www.greenwoodmap.com
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users
>
>
>
>



-- 
Richard W. Greenwood, PLS
www.greenwoodmap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20170311/193da171/attachment.html>


More information about the postgis-users mailing list