[BUGFIX][Oracle] Mixing SDO_GEOMETRY Point definition
Fixes #18900
In `sdoobj`, the `elem_info` array size is not the right way to defined the way
to read Point coordinate. The right way is to check the
sdoind attributes, like in Mapserver.
The way Mapserver defined check point coordinate: https://github.com/mapserver/mapserver/blob/fd04328a89e75ac963f15867d9d90a50d47513c1/maporaclespatial.c#L1588
(cherry-picked from 4017690)
rldhont <rldhont@gmail.com> 2018-05-03
[Oracle][Tests] Enhance Point convertion test
Instead of using 'SDO_UTIL.FROM_WKTGEOMETRY' to generate `SDO_GEOMETRY` object
for Point, the `testdata` generate Point and MultiPoint with `SDO_POINT_TYPE`
or `SDO_ELEM_INFO_ARRAY` and `SDO_ORDINATE_ARRAY`.
With this way of creating Point and MultiPoint, we can test the way Point and
MultiPoint are converting to WKB.
(cherry-picked from 4bc315e)
Nyall Dawson <nyall.dawson@gmail.com> 2018-04-26
Followups
(cherry-picked from 12a2243)
Nyall Dawson <nyall.dawson@gmail.com> 2018-04-26
[oracle] Some updates to Oracle provider test suite
Now the Oracle provider passes the data provider edit stress/
conformance tests without issue!
(cherry-picked from 68838aa)
Nyall Dawson <nyall.dawson@gmail.com> 2018-04-26
[oracle] Fix handling of NULL values when add features to provider
Fixes NULL attribute values are incorrectly converted to empty
strings or 0 numeric values instead of NULL.
(cherry-picked from 3a3b0fe)
Nyall Dawson <nyall.dawson@gmail.com> 2018-04-18
[oracle] Fixes for edit tests (still disabled)
(cherry-picked from e197f80)
Nyall Dawson <nyall.dawson@gmail.com> 2018-04-21
[oracle] Always fetch features with null goemetry unless feature rect is set
...to match behaviour of other providers
(cherry-picked from c5c22d3)
Nyall Dawson <nyall.dawson@gmail.com> 2018-04-21
[oracle] Fix crash when adding a feature with missing attributes
to data provider
(cherry-picked from 5709908)
Nyall Dawson <nyall.dawson@gmail.com> 2018-04-22
[oracle] Always check bounding box intersection when using filter rect
Because oracle sdo_filter sometimes returns results outside
the given filter (depending on the spatial index), and is
only designed for use as a fast "first-pass" filter.
From the Oracle docs:
"This operator performs only a primary filter operation..
The secondary filtering operation, performed by the SDO_RELATE operator,
can be used to determine with certainty if objects interact spatially."
Instead of using SDO_RELATE we can instead just do a bounding
box intersection inside QGIS if an exact intersection is not
required.
Fixes failing provider conformance test suite for oracle provider.
(cherry-picked from f9a8d9f)
Nyall Dawson <nyall.dawson@gmail.com> 2018-04-26
Followups
(cherry-picked from fb16dab)
Nyall Dawson <nyall.dawson@gmail.com> 2018-04-26
[oracle] Fix incorrect feature count after adding features to layers
(cherry-picked from b6142c8)
Nyall Dawson <nyall.dawson@gmail.com> 2018-04-26
[oracle] Fix handling of NULL values when add features to provider
Fixes NULL attribute values are incorrectly converted to empty
strings or 0 numeric values instead of NULL.
(cherry-picked from befed4d)
Nyall Dawson <nyall.dawson@gmail.com> 2018-04-16
[oracle] Ensure that all attributes required for order by are fetched
Fixes potentially broken iterator sorting with oracle provider when
a subset of attributes is fetched
(cherry-picked from 89a84f0)
Nyall Dawson <nyall.dawson@gmail.com> 2018-04-16
[oracle] Always mark features as invalid when iterator is closed
Fixes some failing oracle provider conformance test suite failures
(cherry-picked from 649dc19)
Nyall Dawson <nyall.dawson@gmail.com> 2018-04-16
[oracle] Fix expression compilation of integer division
Merge pull request #7048 from mhugent/fix_large_sized_print
Disable RenderPartialOutput Setting in printing. It is unused in prin…
Marco Hugentobler <marco.hugentobler@sourcepole.ch> 2018-05-24
Disable RenderPartialOutput also in composer map preview
Merge: e8e15d5b1e b9be0a5bbc
Even Rouault <even.rouault@mines-paris.org> 2018-05-23
Merge pull request #7052 from rouault/fix_18740_qgis2_18
[WFS provider] 2.18 / Avoid request by feature id to cause a full layer download (fixes #18740)
Even Rouault <even.rouault@spatialys.com> 2018-05-22
[WFS provider] Avoid request by feature id to cause a full layer download (fixes #18740)
Backport of 6cf1c502d1e057aa63ba7b48e2a532324a98194d
Even Rouault <even.rouault@spatialys.com> 2018-05-21
[WFS provider] Fix excessive memory consumption on big layers (refs #18740)
There was a pseudo memory leak in qgsgml.cpp
And the WFS downloader could also have to process big replies, causing a
lot of features to be instanciated at once.
Was seen on the 'portugal_addresses' layer of http://www.naturalgis.pt/cgi-bin/opendata/mapserv?
Backport of
0addae5b783e541953522eabe178426e820bf852
c3c5c9760a0b300548f9a669ff64f513988add7c
6cf1c502d1e057aa63ba7b48e2a532324a98194d
Marco Hugentobler <marco.hugentobler@sourcepole.ch> 2018-05-22
Disable RenderPartialOutput Setting in printing. It is unused in printing, even worse it causes the creation of a background QImage, which is a memory problem in large-format printing