|
From: Charles K. <Cha...@no...> - 2004-05-11 05:02:18
|
Hello again, I have some questions about using coordinate transformation within a StyledMapPane2 component. Initially, I set up the StyledMapPane2 widget containing some MapLayer instances in a certain coordinate system and inside a certain bounding box. After that, I decide to change the coordinate system using a StyledMapPane2.setCoordinateSystem() call. Each RenderedLayer of the Renderer object is well in the new coordinate system, however no geometries have been transformed to fit the new coordinate system. It seems the coordinate system change does not modify the layers geometries. Have I well understood and is it known ? NB : Using the setCoordinateSystem() method directly on a org.geotools.renderer.geom.<Geometry> object make well the geometry modification. Thanks in advance for your help Charles |