Jody Garnett ha scritto:
> 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?

I've looked at all WMS specs under the sun (1.0, 1.1, and 1.3) and none
works like the auto factory was implemented. 1.0 and 1.1 have units,
1.3 does not have unit but has a scale factor in its place (that case
is not handled at the moment).

The format is not per "auto" code, it's indeed fixed:
auto:code,unitCode,lon0,lat0
but its interpretation varies according to the projection.

Don't know where the unit-less version comes from, but anyways,
both are parsed now.

> Can we make use of the existing "strict" boolean flag? Basically
> arrange for these to fail when findMathTransform( crs, crs, true ) is
> called?

The strict flag is to build a transformation, 
auto:code,unitCode,lon0,lat0 is to buid a CoordinateReferenceSystem,
there is no flag there.

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
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to