Create a generic shape and draw it as a polygon with center (or base) and rotation?

المشرف العام

Administrator
طاقم الإدارة
In Java (jts), is there a way to draw a generic shape, eg. bounded in meters, and apply this to a coordinate, with rotation around a center or base?

Something like:

double lat = 65.100double lon = 7.123Box box = new Box(10, 100, METERS);Rectangle rect = GeometricShapeFactory.createRectangle(box, lat, lon, Math.toRadians(45));where lat and lon are coordinates in WGS84



أكثر...
 
أعلى