Search code examples
geospatialjts

JTS Geometry - Applying a buffer


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.


Solution

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

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