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°. On the EPSG registry definition I see slightly wider bounds: WGS84 bounds: <http://epsg.io/3857> -180.0 -85.06 180.0 85.06 Projected bounds: -20026376.39 -20048966.10 20026376.39 20048966.10 Wikipedia reports something like 85.05. https://en.wikipedia.org/wiki/Mercator_projection GWC GridSet has similar bounds: -20037508.34 -20037508.34 20037508.34 20037508.34 I have a 3857 request slightly above 85°, with yMin, yMax = (*1999*8372, *2003*7508) which theoretically intersects the definition range of 3857. However that -85,+85 valid area bounds definition returns an empty intersection since (-85,+85) correspond to (-19971869, *1997*1869) which is below my request. Should we increase that valid area bounds to -85.06, 85.06? Or do these rounded -85,85 have been set to cover some more cases or variants which I'm not familiar with and 85.06 is only valid for 3857? -- Regards, Daniele Romagnoli == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel