On Thu, Sep 20, 2018 at 1:17 AM Devon Tucker <[email protected]>
wrote:

> So what is the correct thing to do here?
>

Read the specification about dateline crossing requests, for starters ;-)


> Should the request bounds be normalized, or should the readers be updated
> to support the normalized bounds? Or am I missing something else?
>

The specification says that in WCS 2.0 a dateline crossing request must be
expressed with the two longitudes within valid range,
and in inverted position, e.g.:

...&subset=Long(150,-150)&subset=Lang(-90,90)

The normalization code is there to handle this case and return multiple
envelopes expressed within valid range.

Strictly speaking, asking for Long(0,360) is invalid in WCS 2.0, but if you
want you can relax the code to allow that case too,
GeoServer has never played OGC cop (unless the "strict cite conformace"
flags are up, that is)

Cheers
Andrea

==

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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to