Stephen Crawford ha scritto: > All, > > I'm running Geoserver 1.4, with postGIS datastore. I'm trying to create a > custom srs for a project, something I've successfully done a few times > before.....I unpack the gt2-epsg.jar, add the wkt to the epsg.properties > file, repack the jar. However this time I get a message saying "Could not > construct a SRS tranformation- No tranform for classification > 'Lambert_Azimuthal_Equal_Area'". I looked at the existing srs's in the epsg > table, and at least a few use this tranformation...so I tried using one of > these srs's jut to test, and I get the same message. This implies (to me, > anyway) that some of the projections listed by geoserver actually don't > work. Is this true? Is there a list of the available tranformations for > Geoserver? Can I add a tranformation to Geoserver?
The answer I gave you on the geoserver users mailing list does not change, but maybe here Martin Desriusseaux will chime in. First a little geoserver-geotools dependency table: gs 1.4.x -> gt 2.2.x gs 1.5.x -> gt 2.3.x gs 1..6x -> gt trunk (will become 2.4.x) Now, the epsg database not does contain the math to carry out a mercator, conic or whatever projection, but only the parameters to be used for a specific projection code (standard parallel/meridian, false origins, and the like). Geotools is therefore only able to apply projections whose math is encoded in a projection class. Lambert azimuthal equal area projection math has been added to geotools very recently, so only Geoserver 1.6.x onwards will be able to perform transformations that involve that projection (either as source, or as destination). May I ask what's your use case? That projection seems common in atlases, but being an equal area, should be weel suited for cadastral applications as well. If area preservation is all you need, AlbersEqualArea should be well suited as well. Yet, the result is not a good looking as the Lambert one on wide areas... Cheers Andrea Aime ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
