I am on the hook for creating a service which will create a shape based on data provided with a center point. I am working with geotools which I am not very experienced with, however I am getting more familiar with it.
I am receiving data which looks like this:
{
"shape": {
"latitude": 43.87,
"longitude": -103.45,
"parameters": [
0.0,
120.0,
1000.0
],
"shapeString": "WEDGE (-103.45,43.87) AZIMUTH:0.0 ANGLE:120.0 RADIUS:1000.0"
}
}
I am assuming there is a way to create this shape in geotools but I am just so unfamiliar with it I haven't been able to do it. I have seen the ability to create polygons, however it looks like I would have to have several sets of lat,lon to create that type of shape.