Take the tour ×  What is the unit of measurement used by
Geometry class for it's buffer calculation ? Api doc currently
defines it as " distance - the width of the buffer (may be
positive, negative or 0)"  I need to draw polygons around a
given Geometry with X miles away. Wondering if there is an easy
way to do it with current set of GeoTools API.  Api : http://www
.vividsolutions.com/jts/javadoc/com/vividsolutions/jts/geom/Geom
etry.html#buffer(double)  share|improve this question add
comment  1 Answer  The units of measurement is based on the
underlying spatial reference. So, for example, if it is
EPSG:4326 it is decimal degrees or if it EPSG:2037 it is meters.
share|improve this answer I tried the following code with
GeoTools api CRSAuthorityFactory factory =
CRS.getAuthorityFactory(true); CoordinateReferenceSystem crs =
factory.createCoordinateReferenceSystem("EPSG:2037"); I get an
exception as follows : org.opengis.referencing.FactoryException:
Unit conversion from "DMS" to "°" is non-linear. –  Madana Ta