From: Jody G. <jga...@re...> - 2004-05-05 18:58:10
|
Here is a link: http://www.opengis.org/docs/01-068r3.pdf > I have been enjoying the high quality CRS classes and reprojection > services over the last while. And may have finally hit on something I > can contribute. > > Is automatic projections supported? (See Annex E of OGC 01-068r3) > > Basically it would be a new factory that takes something like WKT (is > it wkt?): > >> The definitions use OGC Well-Known Text (WKT) format. In the notation >> below, >> "${var}" is a reference to the value of variable "var". The variables >> "lon0" and "lat0" >> are the central point of the projection appearing in the SRS >> parameter of the map request >> (see Section 6.5.5.2). > > PROJCS["WGS 84 / Auto UTM", > GEOGCS["WGS 84", > DATUM["WGS_1984", > SPHEROID["WGS_1984", 6378137, 298.257223563]], > PRIMEM["Greenwich", 0], > UNIT["Decimal_Degree", 0.0174532925199433]], > PROJECTION["Transverse_Mercator"], > PARAMETER["Central_Meridian", ${central_meridian}], > PARAMETER["Latitude_of_Origin", 0], > PARAMETER["False_Easting", 500000], > PARAMETER["False_Northing", ${false_northing}], > PARAMETER["Scale_Factor", 0.9996], > UNIT["Meter", 1]] > > where > central_meridian = -183.0 + ${zone} * 6.0 > zone = min( floor( (${lon0} + 180.0) / 6.0 ) + 1, 60 ) > false_northing = (${lat0} >= 0.0) ? 0.0 : 10000000.0 > > I was thinking of setting up an AutoFactory to handle things like this... > > I just wanted to check: > - of this had already been done? > - is this something geserver has already done for its wms support? > - is this even a good idea (remember I also thought a property file of > EPSG to WKT codes would be fun) > > Cheers, > Jody > > BTW - this is a great week - I love to see the list (and developers so > active)! > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver > higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Geotools-devel mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-devel |