Isobar - SharpMap/Gdalrasterlayer

Jan 20, 2011 at 12:54 PM

Hi everyone,

I'm programming a GIS in C# with Sharpmap librairies.

I have grid files composed of pressure datas. I would like to create isobar with this grid files(like create contour in Arcgis 9.3).

Is it possible?

thank you

S.

Coordinator
Jan 20, 2011 at 2:31 PM

Hello shouba,

The csharp bindings for GDAL do not -as far as I know- expose the "Contour" method, therefore it cannot be done within GdalRasterLayer.

Maybe you could start a process calling gdal_contour with the appropriate arguments and than create an OgrLayer with the output?

Hth FObermaier

Jan 20, 2011 at 2:43 PM

It works fine.

Thank you Fobermaier.

S.

Jul 19, 2011 at 1:54 PM

Hello Shouba,

Did you use the .net Sharpmap librairies or .net gdal libraries ?

Sincerely