Home
My Page
Projects
deegree

[#2542] CSW Insert doesn't correctly write the spatial resolution field to Postgis table

Date:
2011-06-28 11:25
Priority:
3
State:
Open
Submitted by:
Henrique Silva (hsilva321)
Assigned to:
Nobody (None)
Hardware:
PC
Operating System:
Windows XP
Version:
None
Severity:
normal
Resolution:
Fixed
 
URL:
Component:
CSW
 
Summary:
CSW Insert doesn't correctly write the spatial resolution field to Postgis table

Detailed description
Hi,

I have installed the Deegree CSW 3.0.4 Demo in my Eclipse platform.

I inserted an ISO 19139 metadata record using the CSW Insert operation and notice that the isoqp_spatialresolution Postgis table was not correctly filled.



The xml code inserted:



<gmd:spatialResolution>

<gmd:MD_Resolution>

<gmd:distance>

<gco:Distance uom="meters">0.5</gco:Distance>

</gmd:distance>

</gmd:MD_Resolution>

</gmd:spatialResolution>





The record in the table:



distancevalue: -1.0000

distanceoum: null



Thank you and best compliments.

Henrique Silva





Followup

Message
Date: 2011-06-28 13:43
Sender: Lyn Buesching

Hi,
the database schema of the deegree3 CSW has changed since a few version. The database you mentioned does not exist any longer, instead spatial resolution are stored in the columns distancevalue and distanceuom in idxtb_main. I've just fixed version 3.2-pre9-SNAPSHOT to fill this columns correctly.

Thanks a lot for reporting and your compliments,
Lyn

Attached Files:

Attachments:
OrtosIGPxml.xml

Changes:

Field Old Value Date By
ResolutionNone2011-06-28 13:43lbuesching
File Added528: OrtosIGPxml.xml2011-06-28 11:25hsilva321

This site is hosted by Intevation GmbH