[OpenLayers-Users] Buffers in kilometer

Robert Sanson Robert.Sanson at asurequality.com
Thu May 28 13:48:11 PDT 2015


Hi Aditya

What is your map projection? If your map units are meters, then of course very easy (1 km = 1000 m ). 

Best,

Robert

-----Original Message-----
From: openlayers-users-bounces at lists.osgeo.org [mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of adityakumar529
Sent: Thursday, 28 May 2015 7:19 p.m.
To: openlayers-users at lists.osgeo.org
Subject: [OpenLayers-Users] Buffers in kilometer

Hi User,
  I am plotting a buffer using
OpenLayers.Geometry.Polygon.createRegularPolygon(newpoint,5.9,30,0);

But as per my requirement the radius should be in kilometer but here its in map unit.
Any idea how to convert it into kilometer.

Thanks in advance

Aditya



-----
GIS Developer

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Buffers-in-kilometer-tp5207934.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users


More information about the Users mailing list