I need to find out orientation of buildings and perform simplification of sides of buildings with a tolerance. I came to know from StackExchange that OpenCarto has useful libraries for geometrical functions.Basically i have stored data in PostGIS. Is there any possibility to use Opencarto Java Library to perform this on buildings? I thinks it is possible to connect Java with PostGIS through JDBC driver.
Cheers, Sanjeewa.