From: Jody G. <jod...@gm...> - 2010-02-03 22:53:31
|
Thanks for picking that up Andrea; when I implemented I did not remember seeing a "unit" in the mix ... I kind of thought each "auto" had its own set of expected parameters? Can we make use of the existing "strict" boolean flag? Basically arrange for these to fail when findMathTransform( crs, crs, true ) is called? Jody On 04/02/2010, at 5:53 AM, Andrea Aime wrote: > Justin Deoliveira ha scritto: > >>> For the moment I've removed support for 42003, 42004 and 42005 from >>> the AUTOCRSFactory, since they are not actually working, but I'm >>> wondering what to do with them. >>> Shall we get more relaxed and ignore the spherical/ellipsoidal issue >>> and just go ahead with the spherical code ignoring the elliptical >>> nature? Issue a warning? Have a general hint allowing the programmer >>> to switch between strict and lax behavior? Or it is just ok to leave >>> it like that? >> I would say just support the spherical case for now. At the moment we >> actually have a client that requires support for the 42004 projection. >> And I am pretty sure that having it implemented with lower accuracy will >> be preferable to not having it supported at all. > > Yeah, agreed. I also looked into the MapServer AUTO support and in > proj and they basically go and use the WGS84 ellipsoid and the > spherical equations over it (because they have, like us, nothing > but the spherical case). > It makes sense to me, those projections are for world wide usage > where high accuracy is the last of concerns. > > I'm going to implement the changes necessary to behave like the > rest of the world, and will make it so that a message is logged, > at FINE level, when a Equidistant cylindrical (aka Equirectangular) > or a Orthographic is built on top of an ellipsoid as opposed to > a sphere. > > If someone disagrees and wants to have a flag of some sort to get > back the strict behavior we can always add it, no? > > Cheers > Andrea > > > -- > Andrea Aime > OpenGeo - http://opengeo.org > Expert service straight from the developers. > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Geotools-devel mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-devel |