Skip to content

Instantly share code, notes, and snippets.

@henningjensen
Created November 12, 2015 11:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henningjensen/91d0363ee6afeb352891 to your computer and use it in GitHub Desktop.
Save henningjensen/91d0363ee6afeb352891 to your computer and use it in GitHub Desktop.
Geonorge - CSW Search for services from Kartverket
<?xml version="1.0" encoding="utf-8"?>
<csw:GetRecords xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gml="http://www.opengis.net/gml" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:srv="http://www.isotc211.org/2005/srv" xmlns:gts="http://www.isotc211.org/2005/gts" service="CSW" version="2.0.2" resultType="results" outputSchema="csw:Record" maxRecords="20" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2">
<csw:Query typeNames="csw:Record">
<csw:ElementSetName>full</csw:ElementSetName>
<csw:Constraint version="1.1.0">
<Filter xmlns="http://www.opengis.net/ogc">
<And>
<PropertyIsLike>
<PropertyName>OrganisationName</PropertyName>
<Literal>Kartverket</Literal>
</PropertyIsLike>
<PropertyIsLike>
<PropertyName>Type</PropertyName>
<Literal>service</Literal>
</PropertyIsLike>
</And>
</Filter>
</csw:Constraint>
</csw:Query>
</csw:GetRecords>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment