A certain Jody Garnett once said to me, SRS can be anything depending on the particular server's configuration... Has the semantics of SRS become better defined?
---adrian On Mon, 2006-11-27 at 08:26 -0800, Jody Garnett wrote: > I have been hanging out a bit more with real users and have noticed a > large gap that keeps occuring - between interaction without GeoTools and > the outside world. > > We really need a helper method to allow users to go between SRS and > CoordinateReferneceSystem - I got this in a code example today: > > tx.setSrsName((String)fc.features().next().getDefaultGeometry().getUserData()); > > I suspect the correct replacement is here: > > tx.setSrsName(ft.getDefaultGeometry().getAuthority().getIdentifier().toString() > ); > > But really we need some additional methods for the CRS facade - so users stop > guessing: > > String CRS.encodeSRS( CoordinateReferneceSystem crs ); > String CRS.decodeSRS( String srs ); > > Cheers, > Jody > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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
