[Mapbender-dev] Catalog Service Get Query

Christoph Baudson (Wheregroup) christoph.baudson at wheregroup.com
Thu Apr 15 03:35:45 EDT 2010


Hi Mifan

sorry for not responding for so long...I'm very busy at the moment.

However, I just looked into this issue and I assume I got it working, 
like this

http://geomatics.nlr.nl/excat/csw?request=GetRecords&service=CSW&version=2.0.2&namespace=xmlns(csw=http://www.opengis.net/cat/csw)&resultType=results&outputSchema=http://www.opengis.net/cat/csw/2.0.2&outputFormat=application/xml&maxRecords=10&typeNames=csw:Record&elementSetName=summary&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&constraint=AnyText+LIKE+%27%25water%25%27

Please let me know if it helps, or if I have misunderstood something. 
Thanks for your contributions,

Christoph



Mifan Careem schrieb:
> Hi List--,
>         
> I'm debugging the CSW code I created sometime back to try to get the
> csw:AnyText search via GET to work again, and would appreciate some help
> on it.
>         
> According to the CSW spec, a sample URL (keyword-value pair encoded)
> would look like this for a  AnyText query via GET:
>         
> http://geomatics.nlr.nl/excat/csw?request=GetRecords&service=CSW&ResultType=results&TypeNames=csw:Record&version=2.0.2&constraintlanguage=cqltext&constraint="csw:AnyText Like '%water%'"
>         
> The last bit will be url_encoded to give the following:
> http://geomatics.nlr.nl/excat/csw?request=GetRecords&service=CSW&ResultType=results&TypeNames=csw:Record&version=2.0.2&constraintlanguage=cqltext&constraint=%22csw:AnyText%20Like%20%27%water%%27%22
>         
>         
>  My issue is that running the above query (just typing it in a browser)
> gives the total set of results and not a subset of results with 'water'
> in it. If I can get the AnyText search to work on the browser, then I
> can get the same to work from MB as well - this was working previously
> but now for some reason it isn't.
>         
> Can anyone figure out what is wrong with the above URL to do a
> successful csw:AnyText query? Is it because some of the catalogs do not
> support this?
>         
> Thanks
>         
> Mifan
>         
>
> _______________________________________________
> Mapbender_dev mailing list
> Mapbender_dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_dev
>   


-- 

----------------------------------

Aufwind durch Wissen!

Qualifizierte OpenSource-Schulungen
bei der www.foss-academy.eu

---------------------------------- 

_______________________________________

W h e r e G r o u p GmbH & Co. KG

Siemensstraße 8
53121 Bonn
Germany

Christoph Baudson
Anwendungsentwickler

Fon: +49 (0)228 / 90 90 38 - 15
Fax: +49 (0)228 / 90 90 38 - 11
christoph.baudson at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
_______________________________________

Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
_______________________________________ 



More information about the Mapbender_dev mailing list