can you include a short code example which shows the problem, you may need
to include a link to some example data too.

Ian

On 1 June 2017 at 08:32, "Ludwig Moser-Spitzenstätter" <luke2...@gmx.at>
wrote:

> Dear NG
>
> 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
>
>


-- 
Ian Turton
------------------------------------------------------------------------------
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

Reply via email to