#2726 closed defect (fixed)

FIX - clip polygon with CRS:3857 on CRS:31467 is wrong

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.2
Component: petascope Version: 10.2
Keywords: Cc:
Complexity: Medium

Description

Because CRS:31467 has XY axes order but it has NorthEast orientation, hence, this query below returns wrong result:

TM coverage has metadata:

Axis name	Type	Geo Extent	         Grid Extent	Resolution	UoM
ansi	Regular Axis	["1989-12-31T12:00:00.000Z", "2023-05-02T12:00:00.000Z"]	[-10592, 1582]	1	d
E	Regular Axis	[3280414, 3934414]	[0, 653]	1000	metre
N	Regular Axis	[5237501, 6103501]	[0, 865]	-1000	metre
for $c IN (TM)
	let
		$p := POLYGON((927819.663673534 6862280.24807332,927599.907217214 6858209.97631714,940087.806713305 6857493.37917696,939285.21791631 6866895.13365604,927533.024817465 6867506.62988232,927819.663673534 6862280.24807332))
	return encode (
		clip(
			$c[ansi("2022-08-01")], $p, "http://crs.rasdaman.com/def/crs/EPSG/0/3857"),
        "tiff"
)

Change History (1)

comment:1 by Bang Pham Huu, 19 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.