Implementing Web GIS Solutions using open source software

Implementing Web GIS Solutions using open source software Karsten Vennemann Seattle Open Source Web GIS Solutions

Talk Overview Why and What is Open Source (GIS)? Why use it ? Components of a Web GIS What is out there ? Some Foundations OGR, GDAL, PROJ 4, Geo. Tools Web GIS Engines Mapserver Geoserver Frameworks Mapbender, Map. Fish, Cartoweb Open Layers, Ka-Map Extending GIS Capabilities Spatial Data Storage Solutions Additional Tools pli ca tio n Co m po ne nts Overview of Web GIS Resources Open Source Web GIS Solutions How can you build your own ? … 5 simple steps

Why and What is Open Source (GIS)? Open source means that the source code is available to the general public for use, distribution, and modification from its original design free of charge (among a long list of other requirements) Open Source ≠ Open Standards While most open source geospatial software is built on the standards of the Open Geospatial Consortium (OGC) the term “Open Source” it is not synonymous with Open Standards because both proprietary and open source software can be compliant with the OGC Open Standards. http: //www. opengeospatial. org OSGeo is the organization that supports the development of the highest quality open source geospatial software. http: //www. osgeo. org Open Source Web GIS Solutions

Why and What Why use it ? General and incomplete listing User is in control Pick you favorite operating system: supports many operating systems: Windows-Linux-Solaris-… No licensing issues (did we install one to many PCs with software XY? ) Vendor independency Access to source code: don’t like something, need changes to the core system, need extensions – hire somebody to change it right now High performance, high quality, high interoperability distributed programming effort, highly modular… System heterogenity - less prone to hacker attacks and viruses Interoperable – very advanced support of OGC open standards Exceptional Support - Commercial and non commercial Mailing lists, user groups, Conferences, IRC channels Fast response times for bug fixes typically tracked on the web accessible and open to everybody to report or fix a bug It is free Open Source Web GIS Solutions

Overview of Web GIS What is out there ? A whole lot ! More than 250 project entries on http: //opensourcegis. org/ Selection of some of the most advanced and popular Web GIS components Open Source Web GIS Solutions

Overview of Web GIS Schematic View Interoperable Web GIS Client computer Web browser Client Side Framework Client Side Scripting (Java. Script/AJAX) Server computer(s) Web Server Mapping Engine Server Side Framework WMS/ WFS Spatial Data Vector file Raster file Spatial DB Open Source Web GIS Solutions Additional Services Data Access (Read/Write) Caching and Tiling Extended GIS Functionality Web Processing Services

Overview of Web GIS Relations of Web GIS Components Carto. Web Mapserver Map. Bender WMS Ka-Map Geoserver Open. Layers Tile. Cache Map. Fish Feature. Server Modified from “The State of Open Source GIS”, Paul Ramsey, Sep. 2007, formerly Refractions Research, Victoria, BC, Canada Open Source Web GIS Solutions Post. GIS File Sources

Some Foundations (Tools) A few libraries that are the foundation of many Open Source and commercial Geospatial Software Packages GDAL (Raster) and OGR (Vector) Geospatial Data Abstraction Library / Open. GIS Simple Features Reference Implementation Tools for reading, writing and processing of raster and vector data sets -> formats Important base for many Desktop GIS systems e. g. Arc. GIS OGR extends Mapserver formats Oracle Spatial, ESRI Geodatabase (MDB), TIGER, Map. Info… PROJ 4 is a library for cartographic projection routines stand alone projection utility “proj” libraries for more than 2500 projections (e. g. EPSG list) Geo. Tools is an open source Java GIS toolkit is a library for cartographic projection routines Similar usage as OGR and GDAL for Java based projects Udig and Geoserver are based on Geo. Tools Open Source Web GIS Solutions

Web GIS Engines Mapserver (C) Geoserver (Java) Mapnik (C++) Map Guide Open Source (C++) + “Fusion” by DM Solutions Open Source Web GIS Solutions

Web GIS Engines Map Server Originally developed at the University of Minnesota (UMN), short “Map. Server” one of the most mature open source projects written in C Main Focus rendering spatial data development environment for spatially-enabled internet applications Map output CGI mapserv (Linux) and mapserv. exe (windows) Map. Script API available for Python, PHP, Perl, and Java Map/Layer configuration text file. map Formats In: Post. GIS, Oracle Spatial Arc. SDE, WMS, GDAL and OGR formats Out: GIF, JPG, PNG, all GDAL formats, WFS and WMS Open Source Web GIS Solutions

Web GIS Engines Geo. Server Main supporter The Open Planning Project (TOPP) newer development than Mapserver) written in Java, built on top of Geotools (like Udig) Main Focus rendering images, serving and editing spatial data More differences to Mapserver configuration web-based Graphical user interface (stored as xml) transactional capabilities, support for shared editing Formats Post. GIS, Shapefile, Arc. SDE, DB 2, Oracle (soon VPF, My. SQL, Map. Info, WFS) JPG, GIF, PNG, SVG, KML/KMZ, GML, Shapefile, Geo. JSON, Geo. RSS WFS and WMS output Open Source Web GIS Solutions

Web GIS Engines Geo. Server Open Source Web GIS Solutions

Frameworks Web GIS Frameworks Client Side Java. Script/Ajax Libraries Client-Server Side Java. Script/Ajax Libraries Server Side Scripts, Database Open Layers Java. Script API Mapbender PHP, Java. Script, Post. GIS Ka-Map Java. Script API Map. Fish Python (Pylons), Java Script (Ext. Js) and Open Layers Cartoweb PHP, Java. Script Open Source Web GIS Solutions

Client side - Frameworks Open Layers Main supporter “Meta. Carta” object-oriented Java. Script library (using Prototype. js and Rico library) Lets you add maps to any web page by embedding Open. Layer. js no server-side dependencies Easily reusable component …similar to Google Maps and MSN Virtual Earth Web Mapping APIs “Slippy map style” Input Formats Tile sources: Virtual Earth, Worldwind, Yahoo & Google Maps, WMS Vector layer input: Ka. Map, Map. Server, Geo. RSS, WFS, [KML] Standard Tools Google Like zoom bar, standard functions like zoom in/out pan Open Source Web GIS Solutions

Client/Server - Frameworks Map. Fish Main supporter “Camptocamp” Widgets and plugins oriented architecture Map. Fish Client - Java. Script framework – two parts mapping part Open. Layers user interface (GUI widgets) Ext. Js library Map. Fish Server is a Python framework (based on Pylons) Main Focus - Adding server side framework to Open. Layers Advanced UI components: layer tree… Server-side services: authentication, query… Server-side processing: routing, editing… Open Source Web GIS Solutions

Client/Server - Frameworks Map. Fish Open Source Web GIS Solutions

Client/Server - Frameworks Map. Fish Open Source Web GIS Solutions

Client/Server - Frameworks Map. Fish Open Source Web GIS Solutions

Client/Server - Frameworks Mapbender Main supporter “Where. Group” Comprehensive Client - Server framework implemented in PHP, Java. Script and XML Management Database My. SQL or Postgre. Sql Functionality displaying, navigating, editing and querying spatial data and maps map services authorization services (OWS proxy functionality) management interfaces for user, group and service administration Management of WMS and WFS User interface configuration and tool stored in data base Input WMS and WFS Open Source Web GIS Solutions

Extending GIS Capabilities Spatial Data Storage solutions - Post. GIS Main supporter “Refractions” Post. GIS is an extension for Postgre. SQL adds support for geographic objects to Postgre. SQL enables Postgre. SQL server to be used as a backend spatial database for GIS Spatial operations and analysis simply mean running a (spatial) SQL query in the database Similar functions as SDE and much more …. Open Source Web GIS Solutions

Extending GIS Capabilities - Additional tools Feature. Server middleware for publishing and modifying geospatial data in lots of different formats to the web (RESTful Geographic Feature Service) dynamic capabilities to read geographic features (or collections) with standard HTTP methods from distributed sources (aggregation) translate geographic features between formats e. g. input shape file and open in Google Earth Tile. Cache server software solution with caching and rendering capabilities create your own local disk-based cache of any WMS server use the resulting map tiles in supporting clients e. g. Open. Layers, Google maps, Virtual Earth, Worldkit create a fast performing slippy style map a la Google Maps Open Source Web GIS Solutions

Resources But you still have one important question ! “How can I build my own WEB GIS ? 5 simple steps… Open Source Web GIS Solutions ”

Resources Articles The State of Open Source GIS, Version September 2007. By Paul Ramsey, formerly Refractions Research, Victoria. 49 pages Web Sites Free GIS Project http: //www. freegis. org/ Open source GIS list http: //opensourcegis. org/ Map Tools http: //maptools. org/ OSGeo http: //www. osgeo. org/ Open Source Web GIS Solutions

Resources Open source utilities and websites Simple Feature Library (OGR) www. gdal. org/ogr Geospatial Data Abstraction Library (GDAL) www. gdal. org Geo. Tools http: //sourceforge. net/projects/geotools PROJ 4 http: //www. remotesensing. org/proj Mapserver http: //ms. gis. umn. edu Geoserver http: //geoserver. org Open Layers www. openlayers. org Ka-Map http: //ka-map. maptools. org Cartoweb http: //www. cartoweb. org Mapbender www. mapbender. org Map. Fish http: //trac. mapfish. org/trac/mapfish Postgre. SQL www. postgresql. org Post. GIS http: //postgis. refractions. net Featureserver http: //featureserver. org Tile. Cache www. tilecache. org Open Source Web GIS Solutions

Resources Free and Open Source Software for Geospatial 2008 Cape Town International Convention Centre September 29, 2008 – October 3, 2008 www. foss 4 g 2008. org/ Open Source Web GIS Solutions

Resources Local GIS user group: “Cascadia Users of Geospatial Open Source” http: //groups. google. com/group/cugos Monthly meeting every 3 rd Wednesday, 5: 30 pm In the Lizard. Tech offices, located near Pioneer Square: The National Building Suite 200 1008 Western Avenue Seattle, WA 98104 Open Source Web GIS Solutions

Resources What to hear more about Feature Server and publishing data on the web? How to Quickly & Easily Publish Your Data Online Using Open Source Josh Livni – Umbrella Consulting, LLC “Managing Data & Models” Track 1: 30 pm Open Source Web GIS Solutions
- Slides: 27