This project has moved. For the latest updates, please go here.

Exporting shape and tif

Topics: General Topics
Jan 20, 2009 at 2:04 PM
Just looking tools for following scenario/requirements (c# around):
Vector data in Oracle sdo, should be able to create shape files out from data using http interface (or actually a zip file)
Raster data in .tif, .tab and .ecw, should be able to create buffer around vector data and export to tif + esri world file, same http interface 

It seems SharpMap (with gdal) can do handle these exports, have I understod right? I would also appreciate if anybody could share some experiences with this kind of functionality?

 thanks in advance

 Mike T
Jan 21, 2009 at 9:27 AM
Hi Mike, Assuming SharpMap 0.9 (the trunk on codeplex) :
Sharpmap cannot export shapefiles but you can do this with NetTopologySuite. You would have to write the world files yourself as well but this is trivial as the coordinate systems have a WKT property. The geometry model in sharpmap is quite simple and doesn't support buffering  however NTS can do these operations and converting between NTS and SharpMap geometries is simple.

Most of these issues are taken care of in v2,  however raster data is not yet implemented. hth jd