Martin Desruisseaux ha scritto:
> Begining with the first exception on the list...
> 

> This is a 3D CRS, and there is no way I'm aware of to specify the unit of the
> vertical axis, since the only "UNIT" element is already used for the lat,long 
> axis.

Hum, wondering if I could avoid reporting them in the srs list. I don't 
think we can do anything useful with them, Geoserver is dealing only 
with 2d data so far. Is there a way to tell that a CRS is 3D by using 
instanceof? Are these "compound" CRS?

> It would be possible for the WKT formatter to write 3D-Geographic CRS as
> COMPD_CS[GEOGCS..., VERT_CS]. I wonder if you have any example of 
> 3D-Geographic
> CRS formatted as WKT, so we can see what the common practice is?

Unfortunately not...

> Geoserver could use 'crs.toString()' instead of 'crs.toWKT()' if it wants to 
> get
> ride of those exceptions, but I'm not sure I would recommand that if it is
> important to get valid WKT. I'm not sure that Geotools itself could parse the
> above 3D CRS.

I see, good hint, we'll use that one. In fact we do use toWKT just to 
provide users a list of CRS so that they can look up their own with text 
search tools (maybe they know more or less the ellipsoid and the 
projection, with a few searches they can find a match).

Cheers
Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to