Re: [gdal-dev] Simple circle in OGR

2016-11-03 Thread Renison
Forgot to add that this is not a pure circle per-se, it is a polygon comprised of 1 points on the circumference of the buffer from the reference point. I have used WGS84 projection for source circle and checking the concerned OGR geometry. -- View this message in context: http://osgeo-org.1

Re: [gdal-dev] Simple circle in OGR

2016-11-03 Thread Renison
Figured it out like this: SpatialReference defaultGeoSys = new SpatialReference(""); defaultGeoSys.SetWellKnownGeogCS("EPSG:4326"); //define a circle using point and buffer string pointlineString = "POINT (" + longitude + " " + latitude + ")"

Re: [gdal-dev] Simple circle in OGR

2016-11-02 Thread Mike Toews
On 3 November 2016 at 09:46, Renison wrote: > 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");

Re: [gdal-dev] Simple circle in OGR

2016-11-02 Thread jratike80
Hi, If you have defaultGeoSys.SetWellKnownGeogCS("EPSG:4326") then perhaps units are supposed to be in degrees. -Jukka Rahkonen- -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Simple-circle-in-OGR-tp5294053p5294064.html Sent from the GDAL - Dev mailing list archive at Na

[gdal-dev] Simple circle in OGR

2016-11-02 Thread Renison
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