Y
Y
yaneblog2013-02-13 14:15:59
Java
yaneblog, 2013-02-13 14:15:59

[lat,lon] (CRS WGS_84) -> geotools-> KML(?)-> google(?) maps

Friends, I use the geotools-jts + gt-swing library version 10-*.
The input is latitude, longitude points (CRS WGS_84), radius in meters and angles. This information describes a set of circles and sectors.
I manually convert lat/lon to x,y and render the result to PNG using java 2D api.

Unfortunately, I do not know how to achieve the following:
1. As far as I understand, you can set CRS using api geotools, then the construction of Geometry (circle, arc) will be done correctly. How to do it? I have a multi-threaded application, I do not understand how the original CRS clamping mechanism works

2. Are there other java libraries that allow you to take geodata as input, create geometric shapes based on them, and build a visualization or kml format for further display of the result?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
cat_crash, 2013-02-13
@cat_crash

Trac.osgeo.org/proj/ is responsible for this functionality - you can take its sources or use the API to convert

Y
yaneblog, 2013-02-14
@yaneblog

Not much, unfortunately :(

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question