Opened 10 years ago
Last modified 10 years ago
#3045 closed defect
&&& operator confuses dimensions — at Initial Version
Reported by: | strk | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.1.6 |
Component: | postgis | Version: | 2.0.x |
Keywords: | Cc: | pramsey |
Description
The &&& operator does not distinguish between Z and M values, see this:
WITH v(i,g) AS ( VALUES (1,'POINT(0 0)'::geometry), (2,'POINTZ(0 0 1)'), ---- X (wrong) (3,'POINTZ(0 0 0)'), (4,'POINTM(0 0 1)'), ---- X (5,'POINTZM(0 0 0 1)'), (6,'POINTZM(0 0 1 0)') -- X (wrong) ) SELECT i FROM v WHERE g &&& 'POINT(0 0 1)'::geometry;
Note:
See TracTickets
for help on using tickets.