PostGIS Indexes. Geometries Require Special Index



Similar documents
DISMAR implementing an OpenGIS compliant Marine Information Management System

CURSO Inspire INSPIRE. SPEAKER: Pablo Echamendi Lorente. JEUDI 23/ THURSDAY 23 rd W S V : G E O S P A T I A L D A T A A C C E S S

Open Source GIS. Open Source GIS. Agenda. Open Source. Typische GIS Funktionen. LOTS Bern

Data Visualization Using Web GIS Software

Interoperable Solutions in Web-based Mapping

3 CREATING A WFS SERVER

Neues vom QGIS Server und QGIS-Webclient

About scope of OpenGIS technology in oceanographic data management and visualization Andrey V. Golik, Vitaly K. Fischenko, Stepan G.

Quality Assessment for Geographic Web Services. Pedro Medeiros (1)

UK Location Programme

Institute of Computational Modeling SB RAS

Web Map Context Service for Adaptive Geospatial Data Visualization

DEVELOPMENT OF THE INTEGRATING AND SHARING PLATFORM OF SPATIAL WEBSERVICES

Access to ESPON Database by third- party applications An expertise on the potentialities of web services for accessing the ESPON metadata and data

Developing of A GIS Based Enviromental Monitoring System with Open Source Softwares

VISUAL INSPECTION OF EO DATA AND PRODUCTS - OVERVIEW

Introduction to the Mapbender OWS Security Proxy

CentropeSTATISTICS a Tool for Cross-Border Data Presentation Manfred Schrenk, Clemens Beyer, Norbert Ströbinger

Standards based spatial data management, GIS and web mapping. Spatial data management, analysis & sharing the free & easy way!

Integrating AJAX Approach into GIS Visualization Web Services

Geographic Web Application

Webservices Technological Evolutions. Peter Bogaert University of Ghent (Belgium) E Governement Academy 8 Geoservices 15 februari 2006 Kortrijk.

smespire - Exercises for the Hands-on Training on INSPIRE Network Services April 2014 Jacxsens Paul SADL KU Leuven

PERFORMANCE TESTING OF WEB MAP SERVICES IN THREE DIMENSIONS X, Y, SCALE

Combining Drupal Content Management System with OGC Web Services

Managing a Geographic Database From Mobile Devices Through OGC Web Services

Statusreport MapServer

DataTube: web services voor data

How To Install The Arcgis For Inspire Server Extension On A Microsoft Gis For Inspire Server Extension (For Microsoft) On A Pc Or Macbook Or Ipa (For Macbook)

Open Source GIS The Future?

AN OPENGIS WEB MAP SERVER FOR THE ESA MULTI-MISSION CATALOGUE

Enabling embedded maps

Open Source Visualisation with ADAGUC Web Map Services

Setup a connection to RS Image Server using WMS MapBrowser

GIS AS A DECISION SUPPORT FOR SUPPLY CHAIN MANAGEMENT

This document does not represent a commitment to implement any portion of this specification in any company s products.

County of Los Angeles. Chief Information Office Preferred Technologies for Geographic Information Systems (GIS) September 2014

ONLINE VISUALIZATION OF SPATIAL DATA

Analysis of the Free GIS Software Applications in respect to INSPIRE services and OGC standards

Choosing the right GIS framework for an informed Enterprise Web GIS Solution

National critical geo infrastructure runs on open source database PostGIS

A Web services solution for Work Management Operations. Venu Kanaparthy Dr. Charles O Hara, Ph. D. Abstract

Oklahoma s Open Source Spatial Data Clearinghouse: OKMaps

There are various ways to find data using the Hennepin County GIS Open Data site:

Geodata-Management in the Thünen- Institute. Till Kirchner Thünen-Institute for Forest Ecosystems, Eberswalde

Implementation of information system to respond to a nuclear emergency affecting agriculture and food products - Case of Morocco

OPEN STANDARD WEB SERVICES FOR VISUALISATION OF TIME SERIES DATA OF FLOOD MODELS

Primitive type: GEOMETRY: matches SDO_GEOMETRY and GEOMETRY_COLUMN types.

WebGD: Framework for Web-Based GIS/Database Applications

Building a Spatial Database in PostgreSQL

OSSIM Mapping ARchive OMAR Users Guide

Standardized data sharing through an open-source Spatial Data Infrastructure: the Afromaison project

GEO 425, Spring 2012 LAB 3: Introduction to Web Map Services

Secure your GIS. Protecting GIS applications suites. camptocamp / 9. septembre 2010 / / info@camptocamp.com

ARCHITECTURE OF INTEGRATED GIS AND GPS FOR VEHICLE MONITORING

Open Source Geospatial Software. Bob Bruce, P.Eng Mapping and Lands Branch, Manitoba Conservation

Introduction to Spatial Data Management with Postgis. Spatial Data Management

GEOENGINE MSc in Geomatics Engineering, Master Thesis Gina Campuzano

Design Requirements for an AJAX and Web-Service Based Generic Internet GIS Client

Proposal for a Spatial Data Infrastructure Standards Suite: SDI 1.0

An architecture for open and scalable WebGIS

reviewed paper Proceedings REAL CORP 2009 Tagungsband April 2009, Sitges.

Introduction to Web-based GIS

IAC-BOX Network Integration. IAC-BOX Network Integration IACBOX.COM. Version English

Web-based Visualisation of Water Information: an overview

HELCOM Data and Map Service. User Manual

Data interchange between Web client based task controllers and management information systems using ISO and OGC standards

Web 3D Service (W3DS) in Geoserver

Semantic Web. Semantic Web: Resource Description Framework (RDF) cont. Resource Description Framework (RDF) W3C Definition:

IBM Informix. Reference Documentation on Why Informix Spatial for GIS Projects

The Virtual Database A Tool for Integrated Data Processing in a Distributed Environment

EasySDI Publish. Software requirements & specifications

WP 3. Elaboration database Architecture Features (Software Architecture Document)

Step by Step Guide for GIS Cloud Applications

Web Map Tile Service Developer Guide Cloud Services August 2013

ishare in the Cloud Service Definition v5.0

Chapter 6: Data Acquisition Methods, Procedures, and Issues

Introduction to PostGIS

OpenGIS web services architecture description

MapServer and OGC Standards in real life (and saving real lives) Daniel Morissette, Mapgears

ArcGIS Framework Plug-In: Extending the ArcGIS Desktop for ANSI Standard Framework Data to Support Government Decision Making

Search Engines Chapter 2 Architecture Felix Naumann

An Introduction to Open Source Geospatial Tools

Visualizing Multi-Dimensional WMS within ArcGIS For JavaScript API

Distributed GML Management with SVG Tools

Enhancing IMS QTI assessment with web maps. José Bouzo, Helena Batlle, Toni Navarrete, Josep Blat

Transcription:

PostGIS Indexes 11 0 Geometries Require Special Index Sortable in two dimensions Cover range of values R-Tree Index (GiST Implementation) Linear Time Picksplit Algorithm http://postgis.refractions.net/rtree.pdf

11 1

Kartenserver 11 2 Proprietary ArcIMS MapExtreme Open Source GeoServer DeeGree UMN Mapserver

UMN Mapserver 11 3 mapserver.gis.umn.edu Multiple Format Support Shape, TAB, Coverage, DGN, PostGIS, More Multiple Projection Support Standards Support OpenGIS Web Map Server OpenGIS Web Feature Server OpenGIS Styled Layer Descriptor

UMN Mapserver 11 4 Format A Projection 1 Format B Projection 1 Mapserver Format C Projection 2 Map File ourmap.map

MAP EXTENT 1192130 379840 1199560 385520 SIZE 400 400 SHAPEPATH "/Users/pramsey/Sites" PROJECTION "init=epsg:42102" # BC Albers LAYER NAME "Lakes" STATUS ON DATA "lakes" TYPE POLYGON PROJECTION "init=epsg:42102" # Geographic CLASS NAME "Lakes" COLOR 205 223 255 11 5

UMN Mapserver & PostGIS 11 6 PostGIS / PostgreSQL Spatial Database Mapserver GIS Data Map File kartendef.map

Interoperabilität 11 7 Web Browser Kombination unterschiedlicher Kartenebenen zu einer neuen Karte Web Server WMS Interface UMN MapServer Data Data Data WMS Interface ArcIMS Data Data Data

Interoperabilität(kaskadierend) 11 8 Web Browser Web Server Ein kaskadierender WMS Server hat neben der Anfragekomponente auch Clientfunktionalität. Als Ergebnis wird ein einzelnes Bild gesendet GetMap request WMS Interface WMS Interface Cubewerx GetMap ArcIMS request Data Data WMS Data Data Data

Web Dienste 11 9 Client 1 Mapserver web Application Implementation (Server) WMS* WFS** The Internet Client 2 Mapserver Web Application with WMS and WFS service Client n * Web map service ** Web feature service

Terminologie 12 0 WMS Web map service / server WFS Web Feature service / server OGC Open GIS Consortium Mapserver University of Minnesota s Internet Mapping Software GML Geographic markup language

Standards 12 1 1) Wer ist verantwortlich für die WMS/ WFS Standards? OpenGIS Consortium (OGC) Organization ist analog der IEEE oder ANSI zuständig für GIS relelvante Entwicklungen. 2) Informationen zu WMS/WFS? WMS 1.0.0 specification: http://www.opengis.org/docs/00-028.pdf WMS 1.1.0 specification: http://www.opengis.org/docs/01-047r2.pdf WMS 1.1.1 specification: http://www.opengis.org/docs/01-068r2.pdf WMS FAQ: http://www.intlinterfaces.net/cookbook/wms/faq/faqw.py?req=home WMS Cookbook: http://www.intl-interfaces.net/cookbook/wms/ WFS specification: http://www.opengis.org/techno/specs/02-058.pdf GML specification: http://www.opengis.net/gml/02-069/gml2-12.html

Web Map Server 12 2 GetCapabilities WMS CGI Implementation Request Types GetMap GetFeatureInfo DescribeLayer Mandatory requests supported per OGC recommendations Optional requests of some implementations Client s Computer

Client Request Types GetCapabilities XML document with metadata of the WMS 12 3 Client GetMap Client Clicks on map GetFeatureInfo Send request Text/ Plain attribute information Text/ Plain using Mapserver query templates set in wms_feature_info_mime_type GML features Client DescribeLayer* XML description of One or more layers (currently supported Only in SLD servers) * NOT SUPPORTED IN MAPSERVER

WMS Server mit dem UMN 12 4 UMN mit der with_wms Option kompilieren Ergebnis: Bei der Abfrage mit dem Kommando mapserv v solllte der unterstützte Service auch WMS_SERVER beinhalten Beispiel: Wechseln in das Verzeichnis cgi-bin $./mapserv v Ergebnis: MapServer version 4.2-beta1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

WMS konfigurieren 12 5 http://mapserver.gis.umn.edu/doc/wms-server-howto.html Hinzufügen der WMS Informationen zur Karte und zu jedem Layer Map NAME Map PROJECTION Map Metadata (in the WEB Object): wms_title wms_onlineresource wms_srs (unless PROJECTION object is defined using "init=epsg:...") Layer NAME Layer PROJECTION Layer Metadata wms_title wms_srs (optional since the layers inherit the map's SRS value)

Testen des WMS Servers 12 6 Testen der Konfiguration 1. GetCapabilities: In a web browser, type in the URL, http://spree.geogr.uni-jena.de/cgibin/mapserv?map=/opt/janus/www/htdocs/itasca/demo.map&re QUEST=GetCapabilities Result: XML Datei mit der Beschreibung 2. GetMap http://spree.geogr.uni-jena.de/cgibin/mapserv?map=/opt/janus/www/htdocs/itasca/demo.map&ver SION=1.1.1 &REQUEST=GetMap&layers=autobahn&FORMAT=image/png Resultat: Bild

Sample Map file: 3.3 WMS Samples 1. MAP PARAMETERS NAME TAMILNADU.. WEB EMPTY norecords.htm" TEMPLATE tamilnadumap.htm" IMAGEPATH /tmp/" IMAGEURL "/tmp/" METADATA "wms_title TamilNadu WMS Server" "wms_abstract" Tamilnadu" "wms_extent" "-633771.227805 1060738.573036 152927.340425 1689379.870746" "wms_accesscontraints" "none" "wms_contactperson" Mahalakshmi" "wms_contactorganization" Tamil Nadu" "wms_contactposition" "Software Engineer" "wms_fees" "none" "wms_onlineresource" "http://localhost/cgi-bin/mapserv.cgi?map=tnmap.map&" "wms_srs" "EPSG:99999" 2. LAYER PARAMETERS LAYER NAME state TYPE POLYGON STATUS DEFAULT DATA county PROJECTION #GEOGRAPHIC NAD83 proj=longlat ellps=grs80 no_defs CLASS COLOR 255 255 255 METADATA "wms_title" "State" "wms_srs" "EPSG:4019" 12 7

3.2 GetMap Parameters 12 8 VERSION REQUEST LAYERS STYLE SRS BBOX WIDTH HEIGHT FORMAT WMS Server (mapserver cgi location) Map file WMS request version Map layers Spatial reference system from EPSG file Width of returned map image Format of returned map image Request- GetMap Rendering Style for SLD support. Mapserver currently does not support this, leave empty Bounding box corners (lower left, upper right) in SRS units Height of returned map image