<div dir="ltr"><div><br><br>On Mon, Sep 25, 2017 at 7:26 PM, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br>><br>> On lundi 25 septembre 2017 19:19:26 CEST Markus Metz wrote:<br>><br>> > [...] OGR calls these<br>><br>> > geometries multi-surfaces.<br>><br>>  <br>><br>> Actually it is defined by<br>><br>> OpenGIS Simple Feature Access Part 1 : Common Architecture,v 1.2.1 :<br>><br>> <a href="http://portal.opengeospatial.org/files/?artifact_id=25355">http://portal.opengeospatial.org/files/?artifact_id=25355</a><br>><br>>  <br>><br>> > Investigating a bit more, I found curve-polygons<br>><br>> > within these multi-surfaces. Curve-polygons are in turn not ordinary<br>><br>> > polygons, but defined by curves, and v.in.ogr (most GIS software in<br>><br>> > general) does not support curves.<br>><br>> ><br>><br>>  <br>><br>> The relevant GDAL RFC is<br>><br>> <a href="https://trac.osgeo.org/gdal/wiki/rfc49_curve_geometries">https://trac.osgeo.org/gdal/wiki/rfc49_curve_geometries</a><br>><br>> Support for curves in FileGDB is more recent.<br>><br>>  <br>><br>> You can force a curve geometry to its linearized version (curves are approximated with segments) with:<br>><br>>  <br>><br>> hGeom = OGR_G_ForceTo(hGeom, OGR_GT_GetLinear(OGR_G_GetGeometryType(hGeom)))<br>><br></div>Thanks for the hint!<br><br>I'm looking for a way to support non-linear geometries in v.in.ogr. Is there any advantage of using OGR_G_ForceTo() instead of OGR_G_GetLinearGeometry()?<br><div><br></div><div>Thanks,</div><div><br></div><div>Markus M<br></div><div>><br>> Even<br>><br>>  <br>><br>> --<br>><br>> Spatialys - Geospatial professional services<br>><br>> <a href="http://www.spatialys.com">http://www.spatialys.com</a><br><br></div></div>