Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JTS Geometry - Applying a buffer

Tags:

geospatial

jts

I am trying to apply a buffer of 1000 meters to a polygon shape in JTS Topology Suite. I have identified the method to do it(see link below), but I am not sure what the unit is for the distance parameter on the buffer method.

JTS geometry buffer method

Thanks for looking into this.

like image 995
Arav Vijay Avatar asked Jan 02 '13 20:01

Arav Vijay


1 Answers

The distance unit, of course, has the same unit as your coordinates.

If your coordinates are in meters, then distance is in meters, too.

like image 176
AlexWien Avatar answered Jan 03 '23 13:01

AlexWien