Hello all, I am trying to create a simple circle geometry in OGR. My approach
so far has been something like this:

            SpatialReference defaultGeoSys = new SpatialReference("");
            defaultGeoSys.SetWellKnownGeogCS("EPSG:4326");

            //define a circle using point and buffer
            string pointlineString = "POINT (" + longitude + " " + latitude
+")";
            var circle = OGR.Ogr.CreateGeometryFromWkt(ref pointlineString,
defaultGeoSys);
            circle.Buffer(MilesToMeters(radiusInMiles), 2000);
            
But the circle.Buffer(params,params) does not seem to create a circle. All I
have is a point and a radius. Is there a way to achieve what I want?





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Simple-circle-in-OGR-tp5294053.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to