Guía del usuario Servicio WFS

Guía de usuario

El servicio de Red Geodésica se proporciona mediante una interfaz WFS. Para la utilización o visualización de estos datos es preciso disponer de un cliente WFS.

Solicitud de características del servicio: 

Método GET (formato KVP): http://idecan5.grafcan.es/ServicioWFS/RedGeodesica?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetCapabilities
Método POST: <?xml version="1.0" encoding="UTF-8"?>
<wfs:GetCapabilities service="WFS"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" />
   

 

Solicitud de caraterísticas de la capa Red Geodésica: 

Método GET (formato KVP): http://idecan5.grafcan.es/ServicioWFS/RedGeodesica?SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType
Método POST: <?xml version="1.0" encoding="UTF-8"?>
<wfs:DescribeFeatureType version="1.10" service="WFS"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" >
<wfs:TypeName>idecan:ide_redgeodesica</wfs:TypeName> </wfs:DescribeFeatureType>
   

 

Una búsqueda por el nombre exacto del punto de la red, por ejemplo, puntos de la red que tengan el nombre 'Guerra':  

Método GET (formato KVP): 

 http://idecan5.grafcan.es/ServicioWFS/RedGeodesica?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&MAXFEATURES=10&FILTER=<Filter><PropertyIsEqualTo><PropertyName>nombre</PropertyName> <Literal>Guerra</Literal></PropertyIsEqualTo></Filter>

Método POST:

<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature version="1.1.0" xmlns:idecan="http://idecan.grafcan.es/"
 xmlns:wfs="http://www.opengis.net/wfs"
 xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
<wfs:Query typeName="idecan:ide_redgeodesica">
<ogc:Filter>
<ogc:PropertyIsEqualTo>
     <ogc:PropertyName>nombre</ogc:PropertyName>
     <ogc:Literal>Guerra</ogc:Literal>
</ogc:PropertyIsEqualTo>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>

 

 

Enlaces de interés

Infraestructura de datos Espaciales de España-WFS

http://www.idee.es/show.do?to=pideep_desarrollador_wfs.ES#Carto8

Guía del desarrollador

http://www.idee.es/show.do?to=pideep_desarrollador_wfs.ES#WFS

Especificación de implementación WFS

http://www.opengeospatial.org/standards/wfs