We should be able to set up a MathTransform; and then call the JTS utility 
class to swap the coordinates around; I never got a satisfactory answer on how 
to set this one up?

It could be just doing the affine transform by hand would work:

[ 0 1 0 ]
[ 1 0 0 ]
[ 0 0 0 ]

However there is another approach; you could make sure when you read in your 
data that the CoordinateReferenceSystem acrutely describes your data (with the 
axis order they employ). As long as the CoordinateReferenceSystem description 
matches the data you can transform the features to other coordinate systems and 
render them.

This is covered in the docs:
- http://docs.geotools.org/latest/userguide/library/referencing/order.html

-- 
Jody Garnett

On Wednesday, 4 May 2011 at 10:46 PM, Sunela Markus wrote: 
> Hello,
> 
> I have a feature source that contains different types of features (lines and 
> polygons mostly). All features have northing and easting coordinates in wrong 
> order. What is the best way to swap the coordinates so that I can transform 
> the features to other coordinates systems and render them?
> 
> Thanks,
> 
>  Markus
> 
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network 
> management toolset available today. Delivers lowest initial 
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> 
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to