when i create a MapContent with a given CRS (lets say EPSG:3857)
and want to add a Layer containing data which is based on another CRS (for example EPSG:4326 - WGS84)
in my test the loaded shapefile comes up on the wrong position and totally wrong size (in the example above the wgs84 data is located at 0.0 in the mercator, obviously because the data has completely different values)
do i need to transform the data by hand (like in this tutorial http://docs.geotools.org/stable/userguide/tutorial/geometry/geometrycrs.html)
or is there a Simple way to enable automatic transformation?
how do i transform a DirectLayer/Image/GeoTiff?
if each layer has information about its own crs and the map has information about the rendered CRS it should be possible to automatically transform the data - right?
i hope i was clear in what i have to do and what i tried.
thanks in advance
Ludwig Moser-Spitzenstätter
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users