Hi,

I'm still working on using n-dimension CRS-es. My goal was to let uDig 
display the 4d geometries of the gpx datastore (x,y,z,t). As JTS is fine 
with working only with the first two ordinates, and just storing the 
other two, I started to relax GeoTools classes wherever I hit a check 
for 2d CRS. So relaxed the check in ReferencedEnvelope, and modified the 
JTS utility class, where it had a method for transforming a 
ReferencedEnvelope.

Then I hit a point where I couldn't get through. uDig for some reason 
wanted to create a transfromation from a 2d CRS to the 4d one. (I guess 
for calculating featureset coordinates from map coordinates) But that is 
something that GeoTools is not prepared for. (I guess because it is not 
fully defined, how to generate the two missing ordinates.)

I don't know what the ISO standard says about this, maybe nothing. What 
I could imagine as a solution is that every axle could have a "not-set" 
value, e.g. Double.NaN, and such transformations (2d->4d) could fill the 
undefined ordinates with this value.

So, do you have any ideas about this?

Thank you,

Peter

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to