Martin Desruisseaux ha scritto: > Andrea Aime a écrit : >> Is there any way to provide a validity area for a projection in WKT? > > No. At least not in the WKT specification that appears in OGC 01-009 > document. Maybe the WKT format has been extended in an other OGC > specification, I don't know... > > >> If not, should we think about an extension to WKT >> in order to handle that one too? > > This is doable and is probably the easiest solution. We would need to > decide whatever WKT formatting should include this solution or not, > since it is non-standard. > > However maybe we will want to add the transformation accuracy later, and > other datum shift methods than "TOWGS84" later, etc.
Indeed this is true... yet text based tools are appealing for their simplicity, and a comma separated list like the current WKT is easy to extend no? > Instead than > forking the WKT standard more, an alternative may be to write the new > CRS in an EPSG database (or a new database with the same schema but > different data). In such case, the task is either: > > * Write new code for writting an arbitrary CRS into an EPSG-like database. > It may be a two weeks work. Hum, yes, may be nice, especially because at the moment epsg-wkt is eating 3MB of heap in Geoserver, bleah (so the idea would be to move those 3MB into a db that's not memory bound). > * Or create Forms in OpenOffice.org Base software for making easy to add > manually new CRS in an EPSG-like database. EPSG already provides forms > in Access format, but Access is not freely available. In addition, forms > in OpenOffice.org Base has one additional advantage: they work no matter > what the database engine is (HSQL, PostgreSQL, etc.), at the difference > of EPSG forms which are tied to Access. That seems lots of work, and boring, too... we're not using all EPSG tables right? Cheers Andrea ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
