[gdal-dev] Use Ogr Geometry childs classes in C#.

Benjamin benjamin.lux at maxsea.fr
Thu Jul 26 01:28:50 PDT 2012


Hi,

I code in C# with Ogr wrapers - gdal_csharp.dll, gdalconst_csharp.dll,
ogr_csharp.dll and osr_csharp.dll -
"release-1600-x64-gdal-1-9-0-mapserver-6-0-1".

I want use specifics polygon methods on my geometry as "OGRLinearRing *
OGRPolygon::getInteriorRing ( int iRing )".
(see
http://www.gdal.org/ogr/classOGRPolygon.html#af0bf0b1d1104e142b47637659518ad9c)

But it seems that the Polygon classe doesn't exist with the C# wraper.
There is a enum wkbGeometryType but not the class. 

I know nothing about swig but I took a look at swig files into sources
("gdal-1.9.1\swig\include\csharp") and, in fact, I didn't see the Geometry
childs classes.

Is it an ogr or a geos issue ?
Anyone know a C# wraper of Ogr that include these classes ?

----
Best regards,
Benjamin.





--
View this message in context: http://osgeo-org.1560.n6.nabble.com/gdal-dev-Use-Ogr-Geometry-childs-classes-in-C-tp4990983.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list