Andrea thank you very much. ENABLE_ADVANCED_PROJECTION=false has stopped
geoerver from making the problem queries.
We will have to look into a more permanent solution but for now we can get our
production systems back to normal.
Cheers
Peter Warren
From: [email protected] [mailto:[email protected]] On Behalf Of Andrea
Aime
Sent: Wednesday, 25 March 2015 7:55 PM
To: Warren, Peter (Mineral Resources, North Ryde)
Cc: Geoserver-devel
Subject: Re: [Geoserver-devel] Propose to add an option for latLongBoundingBox
range checking before database query.
On Wed, Mar 25, 2015 at 6:27 AM,
<[email protected]<mailto:[email protected]>> wrote:
I have discussed this with Oracle at length but they are adamant that this is
the way Standard Edition should behave and they are unwilling to do anything
about it.
Given that Oracle were not going to help I did some tracing in
geotools/geoserver to find out what the code was doing and I found the
advanced_projection_handling section in geotools
(http://www.geo-solutions.it/blog/developers-corner-advanced-raster-projection-geoserver/).
I’m not entirely sure why this is needed or what it’s actually doing but if
enabled geotools generates these split bbox queries which cause us trouble.
Unfortunately, this is where my understanding of what’s going on ends, so if
anyone has any pointers to further information or a possible
solution/workaround to this problem I would really appreciate it.
If you want a quick solutions and don't care about mapping around the dateline,
you can disable map wrapping by setting this on your JVM:
-DENABLE_MAP_WRAPPING=false
and if you want to disable advanced projection handling fully, you can add this
one as well:
-DENABLE_ADVANCED_PROJECTION=false
With the first you will loose the ability to wrap a map around the dateline,
google maps style, with the second
you'll loose the ability to handle common projection issues when asking a bbox
outside their validity
area, or around difficult points/lines (e..g, poles, dateline, antimeridian to
the central meridian, and so on).
But it should remove the extra bbox.
The non easy solution is to work around the limitations of the database, split
the query and do a union but...
uh... that sounds like complex/hairy work (e..g, recognize the multiple bboxes
inside a otherwise complex
query, figure out how to split it in two parts, teach the jdbc data store to
create two queries with a union
in between, but only for Oracle standard edition, and so on...)
Chees
Andrea
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo
è consentito esclusivamente al destinatario del messaggio, per le finalità
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro
sistema. Conservare il messaggio stesso, divulgarlo anche in parte,
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse,
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for the
attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act (Legislative
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in
accord with its purpose, any disclosure, reproduction, copying, distribution,
or either dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not the intended
recipient, please contact immediately the sender by telephone, fax or e-mail
and delete the information in this message that has been received in error. The
sender does not give any warranty or accept liability as the content, accuracy
or completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of e-mail
transmission, viruses, etc.
-------------------------------------------------------
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel