I noticed, that the JTS#transform(geometry,crs) uses internally the 
GeometryFactory from the input geometry. Therefore the "old" SRID ist still 
connected to the newly created Geometry.

I need a quick patch for the created Geometry in order to store it in a 
postgis database. Is it possible to retrieve the srid from the 
CoordinateReferenceSystem?

new_geometry.setSRID(crs.get...); ?

Cheers,

Jan
-- 
>From address is valid until 01.06.2010


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to