Re: [Gdal-dev] Writing a polygon to a new shapefile

2009-03-24 Thread Frank Warmerdam
Amanda, I see a few issues. On Tue, Mar 24, 2009 at 1:09 PM, AmandaH wrote: > OSGeo.OGR.Driver new_drv = Ogr.GetDriverByName("ESRI Shapefile"); > OSGeo.OGR.SpatialReference new_sr = new OSGeo.OGR.SpatialReference(""); > OSGeo.OGR.DataSource ds_out = > new_drv.CreateDataSource("D:\\Vector\\Outpu

[Gdal-dev] Writing a polygon to a new shapefile

2009-03-24 Thread AmandaH
Hello- I'm new to the GDAL/OGR libraries. I'm trying to use the C# wrapper to OGR in order to create a new shapefile, but I'm running into some issues. Here is the code I have...can anyone tell me what I'm doing wrong? Geometry temp_geom; OSGeo.OGR.Driver new_drv = Ogr.GetDriverByName("ESRI