1
vote
0answers
91 views

GeoTools: SimpleFeatureCollection to KML error CoordinateReferenceSystem

I want to export a SimpleFeatureCollection (Read from a MySQL DB) to a KML file, here is my code used to read the infos into the console: private void featureCollectionToKML(SimpleFeatureCollection ...
2
votes
2answers
5k views

convert wgs84 coordinate to Google Map coordinate system(EPSG 3785) with geotools and java

Could you please point me out where can I make such a transformation: convert wgs84(EPSG 4326) coordinate to Google Map coordinate system(EPSG 3785), and vise versa. Thank you.