[MetaCRS] Inf in projection results

Paul Ramsey pramsey at cleverelephant.ca
Tue May 24 13:36:55 EDT 2011


Hi All,

We've recently run into a problem with a transformation returning Inf
coordinates... when passed further down the processing chain to GEOS,
algorithms go into infinite loops. So question: should the possibility
of getting back Inf results be something we should expect when running
a proj4 transform (in this case it was going from a planar to 4326, so
the Inf value was even more surprising to me)?

And following on with a non-projection-related query: if you as a
geometry processing routine got handed a geometry with Inf
coordinates, what would you do? Give up? Coerce them into something
else?

P.


More information about the MetaCRS mailing list