The Proposal of Realization the OGC Geospatial Web Services Symbolization



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

Web Map Service Architecture for Topographic Data in Finland

CatMDEdit Metadata editor

Institute of Computational Modeling SB RAS

gvsig: A GIS desktop solution for an open SDI.

Enabling embedded maps

UK Location Programme

Vector Web Mapping Past, Present and Future. Jing Wang MRF Geosystems Corporation

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

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

Oklahoma s Open Source Spatial Data Clearinghouse: OKMaps

Documentation of open source GIS/RS software projects

Web Mapping in Archaeology

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

Visualization Method of Trajectory Data Based on GML, KML

Web Map Context Service for Adaptive Geospatial Data Visualization

A Hybrid Architecture for Mobile Geographical Data Acquisition and Validation Systems

DESIGN SECURITY AND GEO-RIGHTS MANAGEMENT SERVICES IN SPATIAL DATA INFRASTRUCTURE

Open Source GIS The Future?

gvsig: Open Source GIS client. Spatial Data Infrastructure Client.

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

An HTML tool for exploiting geospatial web services

WEB MAPPING WITH DRUPAL Ranel O. Padon

What s new in Carmenta Server 4.2

DISMAR implementing an OpenGIS compliant Marine Information Management System

Cadastre in the context of SDI and INSPIRE

REAL-TIME DATA GENERALISATION AND INTEGRATION USING JAVA

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

GeoMedia Product Update. Title of Presentation. Lorilie Barteski October 15, 2008 Edmonton, AB

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

Mobile GIS for Cadastral Data Collection in Ghana

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

The ORIENTGATE data platform

Study of GML-Based Geographical Data Visualization Strategy

Use of NASA World Wind Java SDK for Three-Dimensional Accessibility Visualization of Remote Areas in Lao P.D.R.

GeoNetwork User Manual

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

Insight for location-powered decision making.

GIS AS A DECISION SUPPORT FOR SUPPLY CHAIN MANAGEMENT

Cloud application for water resources modeling. Faculty of Computer Science, University Goce Delcev Shtip, Republic of Macedonia

What's new in gvsig Desktop 2.0

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

GetLOD - Linked Open Data and Spatial Data Infrastructures

Advanced Geospatial Information & Intelligence Services Research

Fraunhofer Institute for Computer Graphics Research IGD. Spatial Information Management

CentropeMAP - Information Infrastructure for a dynamic cross-border region in the heart of Europe Manfred Schrenk, Clemens Beyer, Walter Pozarek

The use of Semantic Web Technologies in Spatial Decision Support Systems

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

Sydney Ph: Melbourne Ph: Adelaide Ph: LISAsoft. Bespoke Development

Open Source Software and Open Interoperability Standards at EDINA National Datacentre

Cloud-based Linked Data Geoprocessing: Implementing Kriging as WPS on the Cloud

Pennsylvania Geospatial Data Sharing Standards (PGDSS) V 2.5

Web Development of Spatial Content Management System through the Use of Free and Open-Source Technologies. Case Study in Rural Areas

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

Providing GRASS with a Web Processing Service Interface

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

Outline. CIW Web Design Specialist. Course Content

SIP Expert GUI Generic Use Cases and Requirements

An Esri White Paper June 2011 ArcGIS for INSPIRE

Cloud Computing and Government Services August 2013 Serdar Yümlü SAMPAŞ Information & Communication Systems

Visualizing Data: Scalable Interactivity

Green Move Web Viewer: critical issues and implementation

GEOENGINE MSc in Geomatics Engineering, Master Thesis Gina Campuzano

An architecture for open and scalable WebGIS

OSM-in-a-box A Ready-Made Highly Configurable Map Server

Oracle Platform GIS & Location-Based Services. Fred Louis Solution Architect Ohio Valley


Web Design Specialist

3 CREATING A WFS SERVER

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

PERSONALIZED WEB MAP CUSTOMIZED SERVICE

Integration of location based services for Field support in CRM systems

Providing the Public with Data Visualization using Google Maps

Developer Tutorial Version 1. 0 February 2015

GeoNetwork, The Open Source Solution for the interoperable management of geospatial metadata

Scalability of LBS in Mobile GIS Using Web Services

Polish Spatial Data Infrastructure - from the Concept towards its Implementation

From Geoportal to Spatial Data Service Platform. Jani Kylmäaho National Land Survey of Finland Development Centre

USER GENERATED CARTOGRAPHY BY CROWD SOURCING WEB MAP STYLING

ELECTRONIC JOURNAL OF POLISH AGRICULTURAL UNIVERSITIES

How To Test For Anspire

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

Integrating Linked Open Data into Open Source Web Mapping

Drag and Drop in HTML5

Configuration management of a system of interdependent standards

Data Visualization Using Web GIS Software

FOSSGIS: What is the future of Geonetwork? What changes are planned?

Correspondence can be sent to: GeoConnections Natural Resources Canada 615 Booth Street Ottawa, Ontario K1A 0E9

DATA QUALITY AND SCALE IN CONTEXT OF EUROPEAN SPATIAL DATA HARMONISATION

Modern tools for development of interactive web map applications for visualization spatial data on the internet

PDOK Kaart, the Dutch Mapping API

Questions and Answers for Citrix Ready Software

Managing a Geographic Database From Mobile Devices Through OGC Web Services

UNIVERSITY OF CALGARY. An Exploratory, Longitudinal Case Study on Testing of Web Mapping Applications. Abhishek Sharma A THESIS

Interactive visualization of big data

gvsig Mobile: gvsig goes Mobile Amelia del Rey Prodevelop gvsig Team

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)

G-Cloud Service Definition Cadcorp Web Map Layers

Geographic Web Application

Step by Step Guide for GIS Cloud Applications

Transcription:

GEOMATICS AND ENVIRONMENTAL ENGINEERING Volume 5 Number 2 2011 Grzegorz Olejarz* The Proposal of Realization the OGC Geospatial Web Services Symbolization 1. Introduction The pace of Internet in recent years provide to easy and free access to all kind of information, including geospatial data. These data are mostly used by public administration. However, private persons and institutions are more often interested in viewing and analyzing geodata. It causes necessary of developing an appropriate system. This system is Spatial Data Infrastructure, which is a set of technologies, political, economic and institutional projects that help in using and accessing to spatial data [2]. The essence of SDI is to initiate the technical arrangements, agreements, norm and laws, which improve access to spatial data and facilitate geoinformation usage at various administrative levels from local uses, through the national level, to the global range. The SDI can be also understood as standards and rules of the mutual data sharing. The result of it is cost reduction of receiving and updating data and provides consistency of this data in databases [1]. SDI in Europe The INSPIRE directive was published by the European Parliament on April 25th, 2004. On May 15th, 2007 INSPIRE was ratified. Since then, European Member States had two years to adapt law to implement the directive. INSPIRE requires from the Member States to build spatial data infrastructure by establishing the services: discovery, view, download and transformation [5]. * AGH University of Science and Technology, Faculty of Mining Survying and Environmental Engineering, Department of Mining Areas Protection, Geoinformatics and Mining Surveying, Krakow, Poland 69

70 G. Olejarz Open Geospatial Consortium, Inc The Open Geospatial Consortium, Inc. (OGC) standards are used for implementation of the services contained in the INSPIRE. OGC is an association of 381 companies, government agencies and universities founded for developing public available specifications and standards. The OGC specifications are interoperable, open and free (Fig. 1). Fig. 1. Schematic relations between OGC, ISO and INSPIRE 2. Building the Spatial Web Services Based on the OGC Specifications 2.1. Data Preparation (Stage 1) To create the system the data were saved as dgn and gml (with schema) format used taken from master thesis written by Arkadiusz ukowicz [4]. The files contain the map of Zak³ady Górnicze Lubin (Mining Plant Lubin ), part of concern KGHM Polska MiedŸ S.A. (Fig. 2). The lack of open source software, able to read and edit gml files, there was decided to use a commercial TatukGIS Editor, which is a Trial version (with limited use). Layers created from the gml source file: filar_ochronny ( protecting pillar ), granica_obszaru ( mining area border ), parcele ( parcels ), projektowane_pole ( projected panel ), wyrobiska ( mining excavations ). For the parcels and projected field layers the topology procedure was used. The aim of it was receiving polygon features, The reason: this is the object type for these layers.

The Proposal of Realization the OGC Geospatial Web Services Symbolization 71 a) b) Fig. 2. Map of Zak³ady Górnicze Lubin (Mining Plant Lubin ): a) dgn file; b) gml file Source: based on data [3] For text labels layers the dgn file was used. They were also read by TatukGIS. The layers were created: parcele_etykiety ( parcel_labels ), projektowane_pole_etykiety ( projected_panel_labels ), wyrobiska_etykiety ( mining excavation_labels ). Next, layers were exported to shp data format. This procedure allowed to distinct the point, line and polygon data types and provided to implement further steps. 2.2. Export to PostGIS Database (Stage 2) In the second stage author of this article has saved prepared geodata to PostGIS database PostgreSQL spatial extension. The PostGIS mechanism creates possibility of fast and convenient access to stored data. This is the main reason why this database was chosen for spatial web services. To view and export prepared data there was gvsig (es. Generalitat Valenciana Sistema de Información Geográfica) used. This program is a multiplatform (written in Java) client for creating and editing maps, distributed under the GNU GPL. (note: The GNU GPL is a recursive acronym for GNU is Not Unix General Public License ). Before loading the data, there was coordinate reference system set to EPSG: 2170, Zone IV, which means the Polish Coordinate System 1965. Next, there were shp data files loaded. Figure 3 presenting the data. Next, there was database prepared: there was new base with spatial option created (using built-in template template_postgis ). Next step the coordinate reference system information record about EPSG: 2170 was inserted into proper table. Data were exported from gvsig to prepared database.

72 G. Olejarz Fig. 3. Visualisation of prepared data 2.3. Publishing Spatial Data Using GeoServer GeoServer is a software based on Java Enterprise Edition, which allow to view and transform spatial data. It uses open standards, which makes it flexible for creating and sharing data. It needs only web browser to configure it. First, there was namespace created for new data. Namespaces separates data from different sources. For the following project there was namespace created called lubin. Next, there was new Data Store set. In this case the data store is the connection with PostGIS database. When connection was properly set, there were object types defined in GeoServer. These are the layers, which were added to database before. The layers (databse tables) are listed as a combo box like: datasource_name:::layer (table) After the new objects type was created, there was style given, coordinate reference system assigned and there was bounding box generated. 2.4. Data Styling and Analysis of the Possibilities of Using the SLD Specification for the Cartographic Symbolization (Stage 4) For data, which were added to GeoServer, there were simple styles assigned just for pre-view. In order to adjust the map elements of the standards, an attempt to model specific graphic symbols in SLD was made. There was used the built-in GeoServer SLD editor. It provides only validation for compliance with the SLD schema.

The Proposal of Realization the OGC Geospatial Web Services Symbolization 73 Style for layer filar_ochronny ( protecting pillar ). For label style there were GeoServer VendorOption parameters used to display text along the line. Unfortunately, this effect due to software limitations is achieved with fairly large scale (approximately 1:300, see Fig. 4, 5). To style line there was Scalable Vector Graphic (SVG) file used. SVG is a markup language for two-dimential graphics based on XML (Extensible Markup Language [3]. Fig. 4. Protecting pillar border Source: [6] Fig. 5. Visualisation of protecting pillar

74 G. Olejarz Style for layer granica_obszaru ( mining area border ). To style mining area border there was Polish Standard used [6] (Fig. 6). Fig. 6. Mining area border Source: [6] To obtain the line appearance there was Scalable Vector Graphic (SVG) file used. The resulting map portrayal is presented at figure 7. Fig. 7. Visualisation of mining area border

The Proposal of Realization the OGC Geospatial Web Services Symbolization 75 Style for layer projektowane_pole_poligony ( projected panel polygons ) and projektowane_pole_etykiety ( projected panel labels ). To style these layers there was dgn file used. The resulting map portrayal is shown at figure 8. Fig. 8. Visualisation of projected fields Style for layer wyrobiska ( excavations ) oraz wyrobiska_etykiety ( excavations labels ). To style these layers there was dgn file used. The map portrayal is shown at figure 9. Fig. 9. Visualisation of mining excavation

76 G. Olejarz Style for layer parcele ( parcels ) and parcele_etykiety ( parcels labels ). To style these layers there was dgn file used. The map portrayal is presented at figure 10. Fig. 10. Visualisation of parcels Style for parcels fill and an attempt to model the according to Polish Standards. There has been selected three polygon patterns from norm [6] (Fig. 11). Next, there were parcels selected and filled. These fills are not compatible with real mine, parcels were selected arbitrarily for the study purposes (Fig. 12). 2.5. Application WMS Client (Stage 5) The last stage of geospatial web services building was the WMS client creation. To do it there was OpenLayers used. This is the open source library written in JavaScript for publishing maps in the Internet. Using OpenLayers API (Application Programming Interface) there is possible to create complex geospatial internet applications.

Fig. 11. Seam extraction systems Source: [6] Fig. 12. Parcels fills

The Proposal of Realization the OGC Geospatial Web Services Symbolization 77 Using OpenLayers capabilities there has been a web page created, that includes the library: <script type="text/javascript" src="openlayers.js"></script> Next, parameters were set: map = new OpenLayers.Map( map, {controls: [], maxextent: new OpenLayers.Bounds(75963,10526,82354,16449), projection:"epsg:2174", units: m, srs:"epsg:2174", scales: [25000, 10000, 5000, 2000, 1000, 500, 250, 100], minscale: 25000, maxscale: 100}); The WMS layers were defined (parcels layer in listing below): var parcele = new OpenLayers.Layer.WMS.Untiled( "Parcele", "http://localhost:8080/geoserver/wms", {transparent: true, layers: 'lubin:parcele', format: 'image/png' },{projection:"epsg:2174", transparent: true, maxresolution:"auto", srs:"epsg:2174"} ); And the WMS layers were added to map: map.addlayer(parcele); The map portrayal is presented AT figure 13. Developed application allows data to be accessed using only a web browser. It provides easy and convenient data viewing without any specialized GIS software.

78 G. Olejarz Fig. 13. Map rendered using OpenLayers

The Proposal of Realization the OGC Geospatial Web Services Symbolization 79 3. Summary OGC standard and geospatial web services are still not well-known in Poland. Open source software is still being developed. According to fact, that the source code is open it is possible to adjust the software to Polish standards. Preparation of cartographic symbolisation for mining map required designing and creating the SVG files, which contains fillings and lines definitions. To properly display SVG files on the map, there have been SLD files prepared, which contains rules and constrains for symbols placement. During project developing there were few problems. One of them was the incompability the gml data with the available open-source software. Although the contents of the file has been stored in accordance with the OGC GML standard, none of the open programs could not read the data. There could not be the OGC GML standard used for data transfer, so it was the shp format used. This operation allowed non-problem data export to open source database PostGIS, and publishing them with GeoServer. Prepared data in database, loaded to spatial server can be defined as data system based on the free standards, because transformed data no longer depend on any closed and commercial software. The analyse of possibilities of using OGC standards for cartographic symbolisation according to Polish norms showed that the OGC standards can be applied, but they do not compliance all the demand of cartographic content. The SLD standard does not provide the symbolisation of complex lines and fills. Perhaps future versions of the SLD will allow to use just this standard to style both simple and complex points, lines and fills. However SLD can be used independently without additional resource files. References [1] GaŸdzicki J.: Kompedium infrastruktur danych przestrzennych (Spatial Data Infrastructure Compedium). Geodeta, 93, 2003. [2] Gotlib D., Iwaniak A., Olszewski R.: GIS Obszary zastosowañ. Wyd. Nauk. PWN, Warszawa 2007. [3] Grygierzec J.: Analiza porównawcza modelu danych GML z modelem danych GIS/CAD (Comparative analysis of GML and GIS/CAD data model). AGH, Kraków 2007 (M.Sc. Thesis, unpublished). [4] ukowicz A.: Ocena mo liwoœci zastosowania jêzyka GML do standaryzacji wybranych warstw mapy wyrobisk górniczych rud miedzi (Possibility of using GML language for standardizing chosen layers of copper ore mining map). AGH, Kraków 2008 (M.Sc. Thesis, unpublished).

80 G. Olejarz [5] Olejarz G.: Mo liwoœci realizacji symbolizacji treœci kartograficznych w serwisach us³ug geoprzestrzennych klasy OGC (Possibilities of cartography symbolization in OGC Web Services and Spatial Data Infrastructure). AGH, Kraków 2009 (M.Sc. Thesis, unpublished). [6] Mapy górnicze. Umowne znaki granic (Mining maps. Conventional symbols of borders). PKN, Warszawa 2004. [7] Mapy górnicze. Umowne znaki podziemnych wyrobisk górniczych (Conventional symbols of underground excavations). PKN, Warszawa 2005.