Opened 10 years ago

Closed 9 years ago

#917 closed defect (invalid)

Deleting coverage from petascope fails

Reported by: Dimitar Misev Owned by: Alex Dumitru
Priority: major Milestone: 9.1
Component: petascope Version: development
Keywords: Cc: Vlad Merticariu, Piero Campalani
Complexity: Medium

Description

petascopedb=# delete from ps_coverage where name = 'alcala_de_henares_1';
ERROR:  query returned no rows
CONTEXT:  PL/pgSQL function select_field(text,text,anyelement,text) line 14 at EXECUTE statement
PL/pgSQL function drop_quantity(integer) line 54 at assignment
SQL statement "SELECT drop_quantity(OLD.field_id)"
PL/pgSQL function range_component_drop() line 28 at PERFORM

The attached file was imported with:

rasimport -f alcala-de-henares-1-v2.jp2 --coll alcala_de_henares_1 -t RGBImage:RGBSet --crs-uri "%SECORE_URL%/crs/OGC/0/Index2D" --coverage-name alcala_de_henares_1

Attachments (1)

alcala-de-henares-1-v2.jp2 (381.2 KB ) - added by Dimitar Misev 10 years ago.

Download all attachments as: .zip

Change History (4)

by Dimitar Misev, 10 years ago

Attachment: alcala-de-henares-1-v2.jp2 added

comment:1 by Dimitar Misev, 10 years ago

Piero I added you, maybe you have a quick idea where the issue is :)

comment:2 by Piero Campalani, 10 years ago

Hey Dimitar,
It seems the range-type is broken.
Does that happen only with that coverage?

What do you get with this:

petascopedb=# SELECT * FROM getRangeType('alcala_de_henares_1');
Last edited 10 years ago by Piero Campalani (previous) (diff)

comment:3 by Dimitar Misev, 9 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.