Opened 4 years ago
Closed 4 years ago
#2326 closed defect (fixed)
Petascope - coordinates are translated wrong after subsetting
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 10.0 |
Component: | petascope | Version: | 9.8 |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description
This one works:
for c in (test_nullvalues_no_update_map_mosaic) return encode(clip(c, POLYGON((2.39 7.07, 9.90 18.30, 20.72 8.07)) ), "tiff")
This one doesn't:
for c in (test_nullvalues_no_update_map_mosaic) return encode(clip(c[Lat(-19.9:50.0), Long(2.8:67.3)], POLYGON((2.39 7.07, 9.90 18.30, 20.72 8.07)) ), "tiff") with error: 'SELECT encode(clip( c[46:77,-5:29], POLYGON((48 -8,53 -10,49 -16)) ), "tiff" , "{\"geoReference\":{\"crs\":\"EPSG:4326\",\"bbox\":{\"xmin\":6,\"ymin\":4,\"xmax\":18,\"ymax\":22}},\"nodata\":[1.0]}") FROM test_nullvalues_no_update_map_mosaic AS c'. Reason: Error: All polygons in the request lie outside the MDDObject's domain.
Note:
See TracTickets
for help on using tickets.