Skip to main content
2 of 3
added 104 characters in body
alizeyn
  • 123
  • 1
  • 6

JTS: generate a polygon geometry from line geomtry

I have a line and I wish to convert it to a polygon.
The point is this is line is NOT a ring it's an straight Line. And I want to use an specific width to extend line horizontally and create a polygon.

Using JTS. is it possible? How can I make it happen?

alizeyn
  • 123
  • 1
  • 6