Re: [Geotools-devel] Mercator Projection valid area bounds question

2019-11-07 Thread Daniele Romagnoli
Hi Luis, Well, it's not a projection class. It's a projectionHandlerFactory being used in reprojections. It returns a Projection Handler in order to deal with map wrapping, geometries crossing the dateline, singularity of CRS and so on. The validity bounds are simply a reference area used when chec

Re: [Geotools-devel] Mercator Projection valid area bounds question

2019-11-07 Thread Luí­s Moreira de Sousa via GeoTools-Devel
Hi Daniele, theoretically, those bounds are properties of the map, not of the projection itself. A complete Mercator projection class should be able to transform any values between 90º S and 90º N. It would be better to known the reasoning of the original author to hard code map bounds in the

[Geotools-devel] Mercator Projection valid area bounds question

2019-11-07 Thread Daniele Romagnoli
Hi List, I have a question about the Mercator Projection's domain of validity. Checking at this class https://github.com/geotools/geotools/blob/master/modules/library/main/src/main/java/org/geotools/renderer/crs/MercatorHandlerFactory.java#L33 I see that valid latitudes are in the range -85°, +85