On Thu, Nov 21, 2019 at 8:06 PM Jody Garnett <[email protected]> wrote:

> Different projects describe a vastly different shape of the world and have
> different distortions of scale (often as you move north south). It looks
> like the two projections you describe cover the UK and and a large section
> of the northern hemisphere respectfully.
>

The rescaling is done based on the OGC scale denominator, which has
simplified formulas, in particular, not taking into account the projection
local deformation.
On the other side, it can be computed anywhere and it's mandatory for
interoperability (see the SLD specification for the method).

On the other side, the geometries get the full deformation of the
projection, which for the case of 3857 in UK, is already pretty severe (UK
area is
I believe  3 times bigger than it actually is on web mercator*).

The WMS has an option to force a "true scale" computation, see
https://docs.geoserver.org/latest/en/user/services/wms/vendor.html#scalemethod
You can add it to your requests and see if it fixes the problem, but I'm
not sure if it affects the scale denominator used for rule activation, or
it gets
used all the way through

Cheers
Andrea

*: you can play with
https://thetruesize.com/#?borders=1~!MTcyMDU3MzE.NzEyNjY1Mw*MzIzMTM4Nzc(MzA0NjI5OQ~!CONTIGUOUS_US*MTAwMjQwNzU.MjUwMjM1MTc(MTc1)MA~!IN*NTI2NDA1MQ.Nzg2MzQyMQ)MQ~!CN*OTkyMTY5Nw.NzMxNDcwNQ(MjI1)Mg~!GB*NjI4OTc.MTYwMTYwOTQ)Mw
,
try dragging UK to the equator, where there is almost no deformation

==

GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information. == Ing. Andrea Aime @geowolf Technical Lead
GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39
0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
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.*
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to