On 08/06/2012 01:56 PM, Niels Charlier wrote:
>> * for the trasform method imho a better, but simple implementation
>> would be to reproject the x,y and leave the Z
>>     unaltered (but preserve it). This is what JTS.tarnsform(Geometry,
>> MathTransform) does today, so it would also preserve
>>     consistency within the library
> Actually, the current implementation already does exactly this.
>
> Because transform works by calling expandToInclude on 2 coordinates, the
> 2d boundaries are expanded but the 3d boundaries are simply left untouched.
>
> Is that what you meant?
>
> Kind Regards
> Niels

Sorry, I did still have to add the preservation of the 3d coordinate 
because it starts from an empty target before it call expand. So I just 
have to add one line that smuggles the third coordinate back in.

Regards
Niels

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to