I wrote a small java class to extract country boundaries from naturalearthdata.com data. My problem is that the coordinates do not match with OSM map, the whole polygon is shifted... e.g. according to ...
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 ...
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.