SlideShare une entreprise Scribd logo
1  sur  50
Télécharger pour lire hors ligne
TALLER WFS: INTERFACES WEB
PARA INFORMACION
GEOGRAFICA VECTORIAL (WFS
Tutorial - Web Interface for
Geospatial Vector Data)
Agenda
• OGC
• Motivation and Web Services
• Features
• GML
• WFS
Open Geospatial Consortium (OGC)
• Funded in 1994
• Voluntary consensus
• Standards organization
• Leads the development of standards for geospatial and location
based services.
OGC Mission
To serve as a global forum for the collaboration of developers and users
of spatial data products and services, and to advance the development of
international standards for geospatial interoperability.
Miembros OGC
Mas de 450 a nivel mundial
En México:
Publishing Geospatial Data
Publishing Geospatial Data
What changed?
What changed?
What is this?
Internet
Internet enables the World Wide Web
The Web = All Information from
Computers connected around the
world.
How do we connect to the Web?
Protocols
• TCP/IP
• HTTP (GET, POST)
Let's Try - Setup
To view HTTP requests, we can use Firefox:
• Open: Tools / Web Developer / Web Console
• Select Net
Let's Try - Test
• Open any page
• Open a wrong URL
• Inspect the console
• Click on example petition: "Get http:// ...."
What Should I get back if I ask a server
for a "Toluca"
• A Map of Toluca
• A video
• A picture
• The history
• List of Hotels
• ???
We need to design specialized systems
Por ejemplo - Servicio de restaurantes:
• Encuentrame todos los restaurantes a 5 km de distancia
• Encuentrame el restaurante con el mejor guacamole y chorizo verde
• Agrega mi comentario - comida salada, servicio terrible - al
restaurante X
• Reserva el restaurante YY a las 8 PM y preparen un ponque con 30
velas
Heterogeneous Services
Heterogeneous Services
Lack of agreement looks bad
Agreement of Interfaces- Great!
Feature
Geospatial Feature
Feature has Properties
Generalization
Class = Tree
Properties of Tree:
• Height
• Location
Feature Instance
My favorite tree in Cartagena is the one in front of the hotel Colombia.
Features Modeling
Geographic Markup Languaae (GML)
<Bridge>
<span>100</span>
<height>200</height>
<gml:centerLineOf>
<gml:LineString>
<gml:pos>100 200</gml:pos>
<gml:pos>200 200</gml:pos>
</gml:LineString>
</gml:centerLineOf>
</Bridge>
Feature Instance of Type Bridge
<Bridge>
<span>100</span>
<height>200</height>
<gml:centerLineOf>
<gml:LineString>
<gml:pos>100 200</gml:pos>
<gml:pos>200 200</gml:pos>
</gml:LineString>
</gml:centerLineOf>
</Bridge>
Feature Types are defined in GML
<xs:complexType name="BridgeType">
<xs:complexContent>
<xs:extension base="gml:AbstractFeatureType">
<xs:sequence>
<xs:element name="span" type="xs:integer"/>
<xs:element name="height" type="xs:integer"/>
<xs:element ref="gml:centerLineOf"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
GML Provides
• Defines an abstract feature model
• Provides XML Schemas
• Provides primitives:
• Geometry
• Feature Types
• Coordinate Reference Systems
GML Geometries
How can I model a radio station?
How can I model a radio station?
point - when looking at a country map
How can I model a radio station?
polygon - location of the building
How can I model a radio station?
Multipolygon - Area of Transmition
Communities develop their own
Application Schemas
• AIXM – Aviation
• CAAML – Canadian avalanches
• CityGML – 3D city models
• CSML – Climate Science Modelling
• DAFIF – Defense aviation
• GeoSciML - Geoscience
• ...
Web Feature Service (WFS)
• Service (Protocol)
• Do the following with Geographic Features:
• publish
• access
• manipulate
WFS Operations
• getCapabilities - summary of the service
• DescribeFeatureType - structure of the feature types
• GetFeature - get the feature instance
• Transaction - create, update and delete geographic features
• Lock Feature - Protects feature record when updating it.
GeoServer Demo
• GeoServer is the reference implementation for WFS 1.1.0.
• Open and free software
• Java-based
GeoServer Demo
• http://localhost:8080/geoserver/web/
• click on Demos
• Explore Operations
Example getCapabilities
http://localhost:8080/geoserver/topp/ows?
service=WFS&version=1.0.0&request=GetCapabilities
http://localhost:8080/geoserver/topp/ows?service=WFS&version=1.0.0&request=GetCapabilities
Example DescribeFeature
http://localhost:8080/geoserver/topp/ows?
service=WFS&version=1.1.0&request=DescribeFeatureType&
typeName=topp:tasmania_water_bodies
http://localhost:8080/geoserver/topp/ows?service=WFS&version=1.1.0&request=DescribeFeatureType&typeName=topp:tasmania_water_bodies
link
Example getFeature
http://localhost:8080/geoserver/topp/ows?
service=WFS&version=1.1.0&request=getFeature&
TypeName=topp:tasmania_water_bodies
http://localhost:8080/geoserver/topp/ows?service=WFS&version=1.1.0&request=getFeature&TypeName=topp:tasmania_water_bodies
Query based on values of properties
Lakes with area > 1067000000 cm. Request:
http://localhost:8080/geoserver/topp/ows?
service=WFS&version=1.1.0&request=getFeature&
TypeName=topp:tasmania_water_bodies&
FILTER=
<Filter xmlns="http://www.opengis.net/ogc">
<PropertyIsGreaterThan>
<PropertyName>AREA</PropertyName>
<Literal>1067000000</Literal>
</PropertyIsGreaterThan>
</Filter>
http://localhost:8080/geoserver/topp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=topp:tasmania_water_bodies&maxFeatures=50&outputFormat=GML2&&FILTER=%3CFilter%20xmlns=%22http://www.opengis.net/ogc%22%3E%3CPropertyIsGreaterThan%3E%3CPropertyName%3EAREA%3C/PropertyName%3E%3CLiteral%3E1067000000%3C/Literal%3E%3C/PropertyIsGreaterThan%3E%3C/Filter%3E
`link <http://localhost:8080/geoserver/topp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=topp:tasmania_water_bodies&maxFeatures=50&outputFormat=GML2&&FILTER=%3CFilter%20xmlns=%22http://www.opengis.net/ogc%22%3E%3CPropertyIsGreaterThan%3E%3CPropertyName%3EAREA%3C/PropertyName%3E%3CLiteral%3E1067000000%3C/Literal%3E%3C/PropertyIsGreaterThan%3E%3C/Filter%3E>`_
Client - Server Demo
• Open uDIG
• Connect with geoserver:
http://localhost:8080/geoserver/topp/ows
References
OGC Standards
http://www.opengeospatial.org/standards
GML Application Profiles
http://www.ogcnetwork.net/gmlprofiles
GeoServer
http://docs.geoserver.org/stable/en/user/data/vector/index.html
uDIG
http://udig.refractions.net
The End
Ventajas de unirse al consorcio OGC
http://www.opengeospatial.org/ogc/join/levels
Luis Bermudez, Ph.D.
lbermudez@opengeospatial.org
@berdez on Twitter
http://www.linkedin.com/in/bermudez

Contenu connexe

Similaire à WFS Tutorial OGC Interoperability Day - Toluca mexico - May 30 2013

The State of the GeoServer project
The State of the GeoServer projectThe State of the GeoServer project
The State of the GeoServer projectGeoSolutions
 
Drupal and the GeoSpatial Web
Drupal and the GeoSpatial WebDrupal and the GeoSpatial Web
Drupal and the GeoSpatial WebAndrew Turner
 
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12touchtitans
 
State of GeoServer 2012
State of GeoServer 2012State of GeoServer 2012
State of GeoServer 2012Jody Garnett
 
VizEx View HTML5 Workshop
VizEx View HTML5 WorkshopVizEx View HTML5 Workshop
VizEx View HTML5 WorkshopDavid Manock
 
gDayX 2013 - Advanced AngularJS - Nicolas Embleton
gDayX 2013 - Advanced AngularJS - Nicolas EmbletongDayX 2013 - Advanced AngularJS - Nicolas Embleton
gDayX 2013 - Advanced AngularJS - Nicolas EmbletonGeorge Nguyen
 
gDayX - Advanced angularjs
gDayX - Advanced angularjsgDayX - Advanced angularjs
gDayX - Advanced angularjsgdgvietnam
 
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...Aman Kohli
 
Opera and the Open Web platform
Opera and the Open Web platformOpera and the Open Web platform
Opera and the Open Web platformAndreas Bovens
 
Rapid Application Development with WSO2 Platform
Rapid Application Development with WSO2 PlatformRapid Application Development with WSO2 Platform
Rapid Application Development with WSO2 PlatformWSO2
 
Cape Cod Web Technology Meetup - 2
Cape Cod Web Technology Meetup - 2Cape Cod Web Technology Meetup - 2
Cape Cod Web Technology Meetup - 2Asher Martin
 
State of GeoServer at FOSS4G-NA
State of GeoServer at FOSS4G-NAState of GeoServer at FOSS4G-NA
State of GeoServer at FOSS4G-NAGeoSolutions
 
Google's HTML5 Work: what's next?
Google's HTML5 Work: what's next?Google's HTML5 Work: what's next?
Google's HTML5 Work: what's next?Patrick Chanezon
 
Modern Web Development
Modern Web DevelopmentModern Web Development
Modern Web DevelopmentRobert Nyman
 
Basic html5 and javascript
Basic html5 and javascriptBasic html5 and javascript
Basic html5 and javascriptwendy017
 

Similaire à WFS Tutorial OGC Interoperability Day - Toluca mexico - May 30 2013 (20)

The State of the GeoServer project
The State of the GeoServer projectThe State of the GeoServer project
The State of the GeoServer project
 
Drupal and the GeoSpatial Web
Drupal and the GeoSpatial WebDrupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
 
Responsive UX - One size fits all @BigDesign conference #BigD12
Responsive UX - One size fits all   @BigDesign conference #BigD12Responsive UX - One size fits all   @BigDesign conference #BigD12
Responsive UX - One size fits all @BigDesign conference #BigD12
 
State of GeoServer 2012
State of GeoServer 2012State of GeoServer 2012
State of GeoServer 2012
 
VizEx View HTML5 Workshop
VizEx View HTML5 WorkshopVizEx View HTML5 Workshop
VizEx View HTML5 Workshop
 
VizEx View HTML5 Workshop
VizEx View HTML5 WorkshopVizEx View HTML5 Workshop
VizEx View HTML5 Workshop
 
gDayX 2013 - Advanced AngularJS - Nicolas Embleton
gDayX 2013 - Advanced AngularJS - Nicolas EmbletongDayX 2013 - Advanced AngularJS - Nicolas Embleton
gDayX 2013 - Advanced AngularJS - Nicolas Embleton
 
gDayX - Advanced angularjs
gDayX - Advanced angularjsgDayX - Advanced angularjs
gDayX - Advanced angularjs
 
Intro to JavaScript
Intro to JavaScriptIntro to JavaScript
Intro to JavaScript
 
HTML5 - A Whirlwind tour
HTML5 - A Whirlwind tourHTML5 - A Whirlwind tour
HTML5 - A Whirlwind tour
 
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
DSLing your System For Scalability Testing Using Gatling - Dublin Scala User ...
 
Camel as a_glue
Camel as a_glueCamel as a_glue
Camel as a_glue
 
Opera and the Open Web platform
Opera and the Open Web platformOpera and the Open Web platform
Opera and the Open Web platform
 
Rapid Application Development with WSO2 Platform
Rapid Application Development with WSO2 PlatformRapid Application Development with WSO2 Platform
Rapid Application Development with WSO2 Platform
 
AngularJS Basics
AngularJS BasicsAngularJS Basics
AngularJS Basics
 
Cape Cod Web Technology Meetup - 2
Cape Cod Web Technology Meetup - 2Cape Cod Web Technology Meetup - 2
Cape Cod Web Technology Meetup - 2
 
State of GeoServer at FOSS4G-NA
State of GeoServer at FOSS4G-NAState of GeoServer at FOSS4G-NA
State of GeoServer at FOSS4G-NA
 
Google's HTML5 Work: what's next?
Google's HTML5 Work: what's next?Google's HTML5 Work: what's next?
Google's HTML5 Work: what's next?
 
Modern Web Development
Modern Web DevelopmentModern Web Development
Modern Web Development
 
Basic html5 and javascript
Basic html5 and javascriptBasic html5 and javascript
Basic html5 and javascript
 

Plus de Luis Bermudez

Simple APIs for Health Tracking - COVID Case
Simple APIs for Health Tracking - COVID CaseSimple APIs for Health Tracking - COVID Case
Simple APIs for Health Tracking - COVID CaseLuis Bermudez
 
Map store geosolutions
Map store   geosolutionsMap store   geosolutions
Map store geosolutionsLuis Bermudez
 
Plataforma de gestión de riesgos de código libre - GeoSolutions
Plataforma de gestión de riesgos  de código libre - GeoSolutionsPlataforma de gestión de riesgos  de código libre - GeoSolutions
Plataforma de gestión de riesgos de código libre - GeoSolutionsLuis Bermudez
 
OGC Compliance and Certification - 2019
OGC Compliance and Certification - 2019OGC Compliance and Certification - 2019
OGC Compliance and Certification - 2019Luis Bermudez
 
Estándares tecnológicos para la interoperabilidad en la administración inteli...
Estándares tecnológicos para la interoperabilidad en la administración inteli...Estándares tecnológicos para la interoperabilidad en la administración inteli...
Estándares tecnológicos para la interoperabilidad en la administración inteli...Luis Bermudez
 
Habilitando Toma de Decisiones a Través de Estándares Abiertos
Habilitando Toma de Decisiones a Través de Estándares AbiertosHabilitando Toma de Decisiones a Través de Estándares Abiertos
Habilitando Toma de Decisiones a Través de Estándares AbiertosLuis Bermudez
 
Efficient use of Standards-based Interfaces and Encodings in Geospatial Intel...
Efficient use of Standards-based Interfaces and Encodings in Geospatial Intel...Efficient use of Standards-based Interfaces and Encodings in Geospatial Intel...
Efficient use of Standards-based Interfaces and Encodings in Geospatial Intel...Luis Bermudez
 
OGC Innovation Program and Maritime Limits and Boundary Pilot
OGC Innovation Program and Maritime Limits and Boundary PilotOGC Innovation Program and Maritime Limits and Boundary Pilot
OGC Innovation Program and Maritime Limits and Boundary PilotLuis Bermudez
 
Using Blockchain in Geospatial Applications
Using Blockchain in Geospatial ApplicationsUsing Blockchain in Geospatial Applications
Using Blockchain in Geospatial ApplicationsLuis Bermudez
 
Machine Learning in GeoHealth Applications
Machine Learning in GeoHealth ApplicationsMachine Learning in GeoHealth Applications
Machine Learning in GeoHealth ApplicationsLuis Bermudez
 
Setting up and testing NSG and DGIWG Profiles
Setting up and testing NSG and DGIWG Profiles Setting up and testing NSG and DGIWG Profiles
Setting up and testing NSG and DGIWG Profiles Luis Bermudez
 
Interoperabilidad, Estándares e Innovación
Interoperabilidad, Estándares e InnovaciónInteroperabilidad, Estándares e Innovación
Interoperabilidad, Estándares e InnovaciónLuis Bermudez
 
Interoperability and Standards for Disaster Risk Management
Interoperability and Standards for Disaster Risk ManagementInteroperability and Standards for Disaster Risk Management
Interoperability and Standards for Disaster Risk ManagementLuis Bermudez
 
Geoint2017 training open interfaces - luis bermudez
Geoint2017 training   open interfaces - luis bermudezGeoint2017 training   open interfaces - luis bermudez
Geoint2017 training open interfaces - luis bermudezLuis Bermudez
 
Addressing Health Challenges Through Spatial Analytics using Geospatial Data ...
Addressing Health Challenges Through Spatial Analytics using Geospatial Data ...Addressing Health Challenges Through Spatial Analytics using Geospatial Data ...
Addressing Health Challenges Through Spatial Analytics using Geospatial Data ...Luis Bermudez
 
OGC Sensor Web Enablement SOS 2.0, SensorML and WaterML
OGC Sensor Web Enablement  SOS 2.0, SensorML and WaterMLOGC Sensor Web Enablement  SOS 2.0, SensorML and WaterML
OGC Sensor Web Enablement SOS 2.0, SensorML and WaterMLLuis Bermudez
 
Geospatial Data and Key Characteristics of Geospatial Data Analysis and Science
Geospatial Data and Key Characteristics of Geospatial Data Analysis and ScienceGeospatial Data and Key Characteristics of Geospatial Data Analysis and Science
Geospatial Data and Key Characteristics of Geospatial Data Analysis and ScienceLuis Bermudez
 
Evolution of System Architectures: Where Do We Need to Fail Next?
Evolution of System Architectures: Where Do We Need to Fail Next?Evolution of System Architectures: Where Do We Need to Fail Next?
Evolution of System Architectures: Where Do We Need to Fail Next?Luis Bermudez
 
Validation of services, data and metadata
Validation of services, data and metadataValidation of services, data and metadata
Validation of services, data and metadataLuis Bermudez
 

Plus de Luis Bermudez (20)

Simple APIs for Health Tracking - COVID Case
Simple APIs for Health Tracking - COVID CaseSimple APIs for Health Tracking - COVID Case
Simple APIs for Health Tracking - COVID Case
 
Map store geosolutions
Map store   geosolutionsMap store   geosolutions
Map store geosolutions
 
Plataforma de gestión de riesgos de código libre - GeoSolutions
Plataforma de gestión de riesgos  de código libre - GeoSolutionsPlataforma de gestión de riesgos  de código libre - GeoSolutions
Plataforma de gestión de riesgos de código libre - GeoSolutions
 
OGC Compliance and Certification - 2019
OGC Compliance and Certification - 2019OGC Compliance and Certification - 2019
OGC Compliance and Certification - 2019
 
Estándares tecnológicos para la interoperabilidad en la administración inteli...
Estándares tecnológicos para la interoperabilidad en la administración inteli...Estándares tecnológicos para la interoperabilidad en la administración inteli...
Estándares tecnológicos para la interoperabilidad en la administración inteli...
 
Habilitando Toma de Decisiones a Través de Estándares Abiertos
Habilitando Toma de Decisiones a Través de Estándares AbiertosHabilitando Toma de Decisiones a Través de Estándares Abiertos
Habilitando Toma de Decisiones a Través de Estándares Abiertos
 
Efficient use of Standards-based Interfaces and Encodings in Geospatial Intel...
Efficient use of Standards-based Interfaces and Encodings in Geospatial Intel...Efficient use of Standards-based Interfaces and Encodings in Geospatial Intel...
Efficient use of Standards-based Interfaces and Encodings in Geospatial Intel...
 
OGC Innovation Program and Maritime Limits and Boundary Pilot
OGC Innovation Program and Maritime Limits and Boundary PilotOGC Innovation Program and Maritime Limits and Boundary Pilot
OGC Innovation Program and Maritime Limits and Boundary Pilot
 
Using Blockchain in Geospatial Applications
Using Blockchain in Geospatial ApplicationsUsing Blockchain in Geospatial Applications
Using Blockchain in Geospatial Applications
 
Machine Learning in GeoHealth Applications
Machine Learning in GeoHealth ApplicationsMachine Learning in GeoHealth Applications
Machine Learning in GeoHealth Applications
 
Setting up and testing NSG and DGIWG Profiles
Setting up and testing NSG and DGIWG Profiles Setting up and testing NSG and DGIWG Profiles
Setting up and testing NSG and DGIWG Profiles
 
Interoperabilidad, Estándares e Innovación
Interoperabilidad, Estándares e InnovaciónInteroperabilidad, Estándares e Innovación
Interoperabilidad, Estándares e Innovación
 
Interoperability and Standards for Disaster Risk Management
Interoperability and Standards for Disaster Risk ManagementInteroperability and Standards for Disaster Risk Management
Interoperability and Standards for Disaster Risk Management
 
Geoint2017 training open interfaces - luis bermudez
Geoint2017 training   open interfaces - luis bermudezGeoint2017 training   open interfaces - luis bermudez
Geoint2017 training open interfaces - luis bermudez
 
Addressing Health Challenges Through Spatial Analytics using Geospatial Data ...
Addressing Health Challenges Through Spatial Analytics using Geospatial Data ...Addressing Health Challenges Through Spatial Analytics using Geospatial Data ...
Addressing Health Challenges Through Spatial Analytics using Geospatial Data ...
 
Bold GIS
Bold GISBold GIS
Bold GIS
 
OGC Sensor Web Enablement SOS 2.0, SensorML and WaterML
OGC Sensor Web Enablement  SOS 2.0, SensorML and WaterMLOGC Sensor Web Enablement  SOS 2.0, SensorML and WaterML
OGC Sensor Web Enablement SOS 2.0, SensorML and WaterML
 
Geospatial Data and Key Characteristics of Geospatial Data Analysis and Science
Geospatial Data and Key Characteristics of Geospatial Data Analysis and ScienceGeospatial Data and Key Characteristics of Geospatial Data Analysis and Science
Geospatial Data and Key Characteristics of Geospatial Data Analysis and Science
 
Evolution of System Architectures: Where Do We Need to Fail Next?
Evolution of System Architectures: Where Do We Need to Fail Next?Evolution of System Architectures: Where Do We Need to Fail Next?
Evolution of System Architectures: Where Do We Need to Fail Next?
 
Validation of services, data and metadata
Validation of services, data and metadataValidation of services, data and metadata
Validation of services, data and metadata
 

WFS Tutorial OGC Interoperability Day - Toluca mexico - May 30 2013