cartaro workshop at the geosharing conferenc in bern

46
Uli Müller [email protected]

Upload: uli-mueller

Post on 11-May-2015

782 views

Category:

Technology


0 download

DESCRIPTION

The workshops shows the basic usage of Cartaro, the geospatial CMS. These slides give the outline for the live presentation. In our session we will first illustrate the basic concepts of Cartaro and show some use cases of public as well as internally used sites. During the training we will develop a sample application that shall enable the public to collect local knowledge about potential archaeological sites. We use a default Cartaro installation to start from and will then define the content types needed for the information of interest. An import of OpenStreetMap data for archaeological sites will form the basis of our own data collection. We will create the maps needed to enter data and other maps that visualize the collected data. Users will be assigned different roles to enable an editorial workflow before data are published. We will also setup web services that enable others to dynamically read data from our site and integrate them in other applications.

TRANSCRIPT

Page 1: Cartaro Workshop at the Geosharing Conferenc in Bern

Uli Mü[email protected]

Page 2: Cartaro Workshop at the Geosharing Conferenc in Bern

Geodatabases

WebGIS

Web applications

Business solutions

Geospatial CMS

Page 3: Cartaro Workshop at the Geosharing Conferenc in Bern

Using and contributing to

Open Source

ole.geops.de

cartaro.org

Page 4: Cartaro Workshop at the Geosharing Conferenc in Bern

Content Management System

Management of contents

User and role administratrion

Internationalization

Versioning

Layouts & templates

Editorial workflows

Modules & plugins

Page 5: Cartaro Workshop at the Geosharing Conferenc in Bern

Geospatial CMS

Geodata

Edit

Persist

Display

Page 6: Cartaro Workshop at the Geosharing Conferenc in Bern

Data capture

Quelle: http://www.flickr.com/photos/ecstaticist/3451530961

Data import

Geocoding

Editing

Page 7: Cartaro Workshop at the Geosharing Conferenc in Bern

Persistence

Quelle: http://www.flickr.com/photos/dawn_perry/485875684

Consistency

Spatial Indices

Availability

Page 8: Cartaro Workshop at the Geosharing Conferenc in Bern

Output

Quelle: http://www.flickr.com/photos/24662369@N07/5958585066

Spatial queries

OGC services

Visualisation

Page 9: Cartaro Workshop at the Geosharing Conferenc in Bern

Positioning

oWebsitewith a map

Business appWith some GIS

Page 10: Cartaro Workshop at the Geosharing Conferenc in Bern

OpenLayers

Architecture

Browser

Data PostGIS?

GeoServer Drupal

)

([

Page 11: Cartaro Workshop at the Geosharing Conferenc in Bern

Drupal

(Distribution

Module

Themes

Libraries

Page 12: Cartaro Workshop at the Geosharing Conferenc in Bern

Drupal

Page 13: Cartaro Workshop at the Geosharing Conferenc in Bern

OpenLayers

)Maps

Layers

Styles

Page 14: Cartaro Workshop at the Geosharing Conferenc in Bern

OpenLayers

Page 15: Cartaro Workshop at the Geosharing Conferenc in Bern

OpenLayers

Page 16: Cartaro Workshop at the Geosharing Conferenc in Bern

OpenLayers

Page 17: Cartaro Workshop at the Geosharing Conferenc in Bern

OpenLayers

Page 18: Cartaro Workshop at the Geosharing Conferenc in Bern

OpenLayers

Page 19: Cartaro Workshop at the Geosharing Conferenc in Bern

GeoServer

[OGC services

Caching

KML, Shapes ...

Page 20: Cartaro Workshop at the Geosharing Conferenc in Bern

GeoServer

Page 21: Cartaro Workshop at the Geosharing Conferenc in Bern

GeoServer

Page 22: Cartaro Workshop at the Geosharing Conferenc in Bern

GeoServer

Page 23: Cartaro Workshop at the Geosharing Conferenc in Bern

GeoServer

Page 24: Cartaro Workshop at the Geosharing Conferenc in Bern

PostGIS

?Geometries

Spatial Queries

Spatial Indices

Page 25: Cartaro Workshop at the Geosharing Conferenc in Bern

PostGIS

Page 26: Cartaro Workshop at the Geosharing Conferenc in Bern

PostGIS

Page 27: Cartaro Workshop at the Geosharing Conferenc in Bern

All components

PostGIS + Drupal-Module

Geoserver + Drupal-Module

Geoserver-sec (GeoServer-PlugIn)

OpenLayers + Drupal-Module

GDAL Module with PHP-Bindings

22'515 more Drupal-Modules...

Page 28: Cartaro Workshop at the Geosharing Conferenc in Bern

Goals of the workshop

Create a portal of historic sites that allows people to add and download content

Create an appropriate content type

Import data from OpenStreetMap as a starting point

Symbolize data and show it on a map

Add hover effects and popups

Allow filtering of data in the map

Edit your data online

Publish data as web services

Allow others to add content

Review and publish the newly created content

Page 29: Cartaro Workshop at the Geosharing Conferenc in Bern

Not the goal

Explain Drupal basics (but the most basic concepts)

Create new pages with maps

Personalize design of the site

Use any other modules

Install Cartaro from Scratch

We start with a prepared instance of Cartaro

Page 30: Cartaro Workshop at the Geosharing Conferenc in Bern

Cartaro instance

http://demo.cartaro.org

Workshop-User is demo:demo

Page 31: Cartaro Workshop at the Geosharing Conferenc in Bern

The very basics of content in Drupal

Each site defines individual content types

A content type consists of a collection of fields● Fields have data types

● Fields are assigned wizards for editing and display

Each record of a content type is named a node● Nodes are added and edited, published or unpublished

● A single record of geodata will be a node of a content type

with at least one geospatial field

Page 32: Cartaro Workshop at the Geosharing Conferenc in Bern

Add Content Type for historic Sites

Page 33: Cartaro Workshop at the Geosharing Conferenc in Bern

Start with data from OpenStreetMap

http://wiki.openstreetmap.org/wiki/Map_Features#Historic

Page 34: Cartaro Workshop at the Geosharing Conferenc in Bern

Import from openpoimap.ch

http://openpoimap.ch

Page 35: Cartaro Workshop at the Geosharing Conferenc in Bern

Import from openpoimap.ch

http://openpoimap.ch

Remember the WFS-URL for your tag

http://openpoimap.ch/featureserver/featureserver.cgi?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=pois&FILTER=%3CFilter%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Ehistoric%3C/PropertyName%3E%3CLiteral%3Earchaeological_site%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E&BBOX=5.776706,46.557463,10.671115,47.221919

Page 36: Cartaro Workshop at the Geosharing Conferenc in Bern

Define the Feeds Importer

Page 37: Cartaro Workshop at the Geosharing Conferenc in Bern

Define the Feeds Importer

Page 38: Cartaro Workshop at the Geosharing Conferenc in Bern

Run the Import

Remember the WFS-URL for your tag

http://openpoimap.ch/featureserver/featureserver.cgi?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=pois&FILTER=%3CFilter%3E%3CPropertyIsEqualTo%3E%3CPropertyName%3Ehistoric%3C/PropertyName%3E%3CLiteral%3Earchaeological_site%3C/Literal%3E%3C/PropertyIsEqualTo%3E%3C/Filter%3E&BBOX=5.776706,46.557463,10.671115,47.221919

Page 39: Cartaro Workshop at the Geosharing Conferenc in Bern

Create Geoserver Layer

Page 40: Cartaro Workshop at the Geosharing Conferenc in Bern

Show the Layer on a Map

Page 41: Cartaro Workshop at the Geosharing Conferenc in Bern

Add Interactivity to the Map

Page 42: Cartaro Workshop at the Geosharing Conferenc in Bern

Styling the new Layer

Page 43: Cartaro Workshop at the Geosharing Conferenc in Bern

Recommended Next Steps

Personalize your site

Beautiful MapBox layers

Advanced symbology

Queries with views

Edit masks with AJAX

Workflow modules

Add your data

Page 44: Cartaro Workshop at the Geosharing Conferenc in Bern

Drupal-Modules

Page 45: Cartaro Workshop at the Geosharing Conferenc in Bern

OSGeo Live DVD

Try the Quickstart

Easiest testing

Don't care about installation

Version 7 contains Cartaro 1.0

Part of OSGeo Live since 6.5

Page 46: Cartaro Workshop at the Geosharing Conferenc in Bern

www.cartaro.org@CartaroORG

www.geops.de@geOps

[email protected]