ExplorusDataSolutions / OGC-CHISP

OGC Climatology-Hydrology Information Sharing Pilot - This use case focuses on exchanging cross-border hydrologic data (stream flow and groundwater levels) with a unified alert service. Stream/river gauge and groundwater well locations are associated with a river network that in turn is associated with a set of basins (watersheds) (For the purposes of this Pilot, a simple geometric buffer will be used to identify gauge and well locations rather than catchments). For any well or stream gauge location, a web service provides access to the gauge and well information on all upstream stream segments or in all contributing basins. An event service provides subscribers a notification if any upstream streamflow or well water level reaches or exceeds a user-defined threshold. Selected river basins cross the U.S./Canada border. Data providers include state, provincial, and federal agencies. Based on sensor events, a flood is determined to be imminent and alerts are sent to the authorities in the affected areas.
http://chisp.explorus.org/
0 stars 0 forks source link

csw update not working #47

Closed whyvez closed 11 years ago

whyvez commented 11 years ago

When trying to update a record using the csw update operation the record is not updated.

used the following xml in the csw util:

<?xml version="1.0" encoding="UTF-8"?>
<csw:Transaction service="CSW" version="2.0.2" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:ogc="http://www.opengis.net/ogc" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <csw:Update>
  <csw:Record xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2">
<dc:contributor>test1 - yves7 - updated</dc:contributor>
<dc:description>test1 - yves7</dc:description>
<dc:format>text/plain</dc:format>
<dc:identifier>test1 - yves 7</dc:identifier>
<dc:subject>test1</dc:subject>
<dc:title>test1</dc:title>
<dc:type>dataset</dc:type>
<dc:contributor>test1</dc:contributor>
</csw:Record>
        <csw:Constraint version="1.0.0">
            <Filter xmlns="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:dc="http://purl.org/dc/elements/1.1/">
                <PropertyIsLike wildCard="%" singleChar="_" escapeChar="\">
                    <PropertyName>dc:identifier</PropertyName>
                    <Literal>test1 - yves 7</Literal>
                </PropertyIsLike>
            </Filter>
        </csw:Constraint>
    </csw:Update>
</csw:Transaction>