Click here to Skip to main content
15,313,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am tried to parse java.awt.shape to postgis Geometry type.
how to i am parse the arc or circle or rectangle to geometry type.

Example :

Arc2d arc = new Arc2D.Double(100,100,50,50,60,70);
Geometry geom = new Geometry(arc);

Result :

Polygon (..........) - i want this type of result

there any API is applicable??????
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900