EXERCISE: Developing Geo-Web Application with Openlyers 3

Total Page:16

File Type:pdf, Size:1020Kb

EXERCISE: Developing Geo-Web Application with Openlyers 3 EXERCISE: Developing geo-web application with OpenLyers 3 Ivana Ivánová Milton Hirokazu Shimabukuro Barend öbben September 1, 2015 Contents 1 Introduction2 2 Adding a map to a website — using OpenLayers 32 3 Adding external web map services to a map5 3.1 Spatial reference systems in OpenLayers 3................9 3.2 Adding legend to a map.......................... 10 3.3 Setting the visibility of layers....................... 11 3.4 Using the GetFeatureInfo operation with OpenLayers 3........ 12 4 Adding more layers 13 5 Summary 13 ©FCT/UNESP This document may be freely reproduced for educa- tional use. It may not be edited or translated without the consent of the copyright holder. Objectives of this exercise In this exercise you will learn the how to: • create a simple website with HTML and JavaScript; • add spatial content (maps and web map services to a website with Open- Layers 3; • add controls for manipulating the spatial content on a website; NOTE: This exercise was developed using materials and tutorials available at Open- Layaer’s website (http://www.openlayers.org). NOTE 2: Throughout the whole exercise, take care of this special character in the code listings: ! — this is a line breaking character used by the typesetting environ- ment of this exercise document (if you must know ;-), it is the listing package of the LATEXtypesetting system). The ! character means the line of the code should be typed without interruption (i.e. you should not type a return or enter in this place). © Faculdade de Ciências e Tecnologia da Universidade Estadual Paulista “Júlio de Mezquita de Filho” 1 1 Introduction Geo-web applications are websites with mapping content in them. Geo-web application is a website — this means it is written in a language interpretable to the web browser; this language is called the HyperText Markup Language (HTML). JavaScript language is used to allow user interaction in websites. Geo-web applications are usually targeted to a specific user group which determines the selection of the spatial content itself — i.e. what kind of spatial data and in which data format is used. we will use the OpenLayers JavaScript library to put spatial content to our geo-web application. 2 Adding a map to a website — using OpenLayers 3 OpenLayers is a JavaScript library that allows putting dynamic mapping content to a website. Through an application programming interface it allows geo-web application developers putting spatial data in variety supported formats on a webpage. We will explain how OpenLayers works using a complete working example from Open- Layer’s website1. Task 1 : Create a new file and save it as .html somewhere on your drive. Copy in the contents in listing1 to the new file, save and open it .html in a web browser. Ob- serve the indentation in this example file — indentation in the HTML and JavaScript language does not have syntactical nature, however, it improves the readability of the code tremendously. Listing 1: map.html <!doctype html> <html> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="http://openlayers.org/en/v3.8.2/css/ol.css→ " type="text/css"> <style> #map { height: 400px; width: 400px; } </style> <title>Example OpenLayers3 page</title> <script src="http://openlayers.org/en/v3.8.2/build/ol.js" type="text/→ javascript"></script> 1 http://openlayers.org/en/v3.1.1/doc/quickstart.html and http://openlayers.org/ ol3-workshop/basics/map.html 2 Ivana Ivánová </head> <body> <h1>My Map</h1> <div id="map"></div> <script type="text/javascript"> var map = new ol.Map({ target: ’map’, layers: [ new ol.layer.Tile({ source: new ol.source.MapQuest({layer: ’osm’}) }) ], view: new ol.View({ center: [254031,6254016], zoom: 16 }) }); </script> </body> </html> • To include a map on a web page we will need three things: 1. Include the OpenLayers library, which allows us to put spatial content on a web- page: This line includes the OpenLayers library to the webpage: <script src="http→ ://openlayers.org/en/v3.8.2/build/ol.js" type="text/javascript"></script→ >. The first part is to include the JavaScript library. In our example we simply point to the openlayers.org website to get the whole library. In a production environment, you would build a custom version of the library by downloading ol.js from OpenLayers website including only the module needed for your ap- plication eventually. Technically, you could put the reference to a JavaScript library anywhere else in the .html document. In our example the reference to the OpenLayers (in our example the only one) JavaScript library is in the <head> of the .html document — advantage is not only making it easy for de- velopers to find all referenced scripts in the code, but mainly, making sure that all necessary libraries are loaded before the website is displayed. 2. Creating a HTML container for our map: First, we define a style sheet for our map — we will use the standard cascading style sheet (CSS) defined in the OpenLayers and we include the link to this css (<link rel="stylesheet" href="http://openlayers.org/en/v3.8.2/css/ol.css→ © Faculdade de Ciências e Tecnologia da Universidade Estadual Paulista “Júlio de Mezquita de Filho” 3 " type="text/css">) in the <head> of our document. <div> HTML holding a map is created with <div id="map" class="map"></div>. Through this <div>→ the map properties like width, height and border can be controlled through CSS. Our map is 400 pixels high and 400 pixels wide, and this definition is included in the <head> of the .html document as well. <style> #map { height: 400px; width: 400px; } </style> You could provide the dimensions of the map relative to the browser window, e.g. if you’d like the map being as wide as the browser window the width would be 100%. 3. Create a simple map with JavaScript by writing a script specifying the map de- tails: The next step in generating our map is to include some initialization code. In our case, we have included a <script> element at the bottom of our document <body> to do the work: <h1>My Map</h1> <div id="map"></div> <script type="text/javascript"> var map = new ol.Map({ target: ’map’, layers: [ new ol.layer.Tile({ source: new ol.source.MapQuest({layer: ’sat’}) }) ], view: new ol.View({ center: [254031,6254016], zoom: 16 }) }); </script> With this JavaScript code, a map object is created with a layer from the MapQuest tile server 2 zoomed on the Porte Maillot station in Neuilly, Paris (France). Let’s look closer at our script: • The following line var map = new ol.Map({ ... }); creates an OpenLayers Map object. Just by itself, this does nothing since there is no layers or interaction attached to it. 2 http://www.mapquest.com/ 4 Ivana Ivánová • We attach the map object to the <div>, with <div id="map">the map object takes a target into arguments. The value is the id of the <div>: target: ’map’ • The layers: [ ... ] array is used to define the list of layers available in the map. The first and only layer right now is a tiled layer: layers: [ new ol.layer.Tile({ source: new ol.source.MapQuest({layer: ’sat’}) }) ] Layers in OpenLayers 3 are defined with a type (Image, Tile or Vector) which contains a source. The source is the protocol used to get the map tiles. You can consult the list of available layer sources here: http://openlayers.org/en/v3. 8.2/apidoc/ol.source.html • The next part of the Map object is the View. The view allows specifying the center, resolution, and rotation of the map. The simplest way to define a view is to define a center point and a zoom level. Note that zoom level 0 is zoomed out. view: new ol.View({ center: [254031,6254016], zoom: 16 }) Note that the center specified is in coordinates defined in the spatial reference system called Pseudo-Mercator (EPSG: 3857), which is native to OpenLayers. 3 Adding external web map services to a map After creating a simple map page, we will learn how to add more layers to it. In previous exercises you published your own web map services, and now let’s see how to add these services to our map. For this exercise we will create a new web page. Task 2 : Create a new file and save it as map2.html somewhere on your drive. Copy in the contents in listing2 to the new file. Listing 2: map2.html <!doctype html> <!-- Simple example of Web Mapping using HTML and OpenLayers 3/JavaScript → --> <html> <head> <meta charset="UTF-8"> <!-- definition of the styles --> <link rel="stylesheet" href="http://openlayers.org/en/v3.8.2/css/ol.css→ " type="text/css"> © Faculdade de Ciências e Tecnologia da Universidade Estadual Paulista “Júlio de Mezquita de Filho” 5 <style> .map { height: 500px; width: 500px; } </style> <!-- JavaScript libraries used in the application --> <script src="http://openlayers.org/en/v3.8.2/build/ol.js" type="text/→ javascript"></script> <!-- My own OpenLayers 3/JavaScript code --> <script src="layers.js" type="text/javascript"></script> <title>OpenLayers 3 Example</title> </head> <body onload="init()"> <!-- init() is a JavaScript function defined in a → separate file --> <h2>My Map of Thailand</h2> <div id="map" class="map" style="float:left;"></div> </body> </html> • This is a simple .html file prepared to hold our mapping content. Observe the in- clusion of layers.js script in the head (find <script src="layers.js" type="text/→ javascript"></script> line in the <head> of your document). Because our OpenLayers JavaScript code will be a bit more complex (and because we want to adhere to the programming paradigm of separating concerns) we will store our JavaScript mapping code in a separate file.
Recommended publications
  • Osmand - This Article Describes How to Use Key Feature
    HowToArticles - osmand - This article describes how to use key feature... http://code.google.com/p/osmand/wiki/HowToArticles#First_steps [email protected] | My favorites ▼ | Profile | Sign out osmand Navigation & routing based on Open Street Maps for Android devices Project Home Downloads Wiki Issues Source Search for ‹‹ HowToArticles HowTo Articles This article describes how to use key features How To First steps Featured How To Understand vector en, ru Updated and raster maps How To Download data How To Find on map Introduction How To Filter POI This articles helps you to understand how to use the application, and gives you idea's about how the functionality could be used. How To Customize map view How To How To Arrange layers and overlays How To Manage favorite How To First steps places How To Navigate to point First you can think about which features are most usable and suitable for you. You can use Osmand online and offline for How To Use routing displaying a lot of online maps, pre-downloaded very compact so-called OpenStreetMap "vector" map-files. You can search and How To Use voice routing find adresses, places of interest (POI) and favorites, you can find routes to navigate with car, bike and by foot, you can record, How To Limit internet replay and follow selfcreated or downloaded GPX tracks by foot and bike. You can find Public Transport stops, lines and even usage shortest public transport routes!. You can use very expanded filter options to show and find POI's. You can share your position with friends by mail or SMS text-messages.
    [Show full text]
  • The National Atlas and Google Earth in a Geodata Infrastructure
    12th AGILE International Conference on Geographic Information Science 2009 page 1 of 11 Leibniz Universität Hannover, Germany Maps and Mash-ups: The National Atlas and Google Earth in a Geodata Infrastructure Barend Köbben and Marc Graham International Institute for Geo-Information Science and Earth Observation (ITC), Enschede, The Netherlands INTRODUCTION This paper is about different worlds, and how we try to unite them. The worlds we talk about are different occurrences or expressions of spatial data in different technological environments: One of them is the world of National Atlases, collections of complex, high quality maps presenting a nation to the geographically interested. The second is the world of Geodata Infrastructures (GDIs), highly organised, standardised and institutionalised large collections of spatial data and services. The third world is that of Virtual Globes, computer applications that bring the Earth as a highly interactive 3D representation to the desktops of the masses. These worlds represent also different areas of expertise. The atlas is where cartographers, with their focus on semiology, usability, graphic communication and aesthetic design, are most at home. Their digital tools are graphic design software and multimedia and visualisation toolkits. The GDIs are typically the domain of the (geo-)information scientists and GIS technicians. Their 'native' technological environment has an IT focus on multi-user databases, distributed services and high-end client software. Virtual globes are produced by hard-core informatics specialists: programmers that specialise in real-time 3D rendering of large data volumes, fast image tiling and texturing, similar to computer gaming technology. Their users however are mostly not aware of, nor interested in the technology behind the products.
    [Show full text]
  • The Uch Enmek Example(Altai Republic,Siberia)
    Faculty of Environmental Sciences Institute for Cartography Master Thesis Concept and Implementation of a Contextualized Navigable 3D Landscape Model: The Uch Enmek Example(Altai Republic,Siberia). Mussab Mohamed Abuelhassan Abdalla Born on: 7th December 1983 in Khartoum Matriculation number: 4118733 Matriculation year: 2014 to achieve the academic degree Master of Science (M.Sc.) Supervisors Dr.Nikolas Prechtel Dr.Sander Münster Submitted on: 18th September 2017 Faculty of Environmental Sciences Institute for Cartography Task for the preparation of a Master Thesis Name: Mussab Mohamed Abuelhassan Abdalla Matriculation number: 4118733 Matriculation year: 2014 Title: Concept and Implementation of a Contextualized Navigable 3D Landscape Model: The Uch Enmek Example(Altai Republic,Siberia). Objectives of work Scope/Previous Results:Virtual Globes can attract and inform websites visitors on natural and cultural objects and sceneries.Geo-centered information transfer is suitable for majority of sites and artifacts. Virtual Globes have been tested with an involvement of TUD institutes: e.g. the GEPAM project (Weller,2013), and an archaeological excavation site in the Altai Mountains ("Uch enmek", c.f. Schmid 2012, Schubert 2014).Virtual Globes technology should be flexible in terms of the desired geo-data configuration. Research data should be controlled by the authors. Modes of linking geo-objects to different types of meta-information seems evenly important for a successful deployment. Motivation: For an archaeological conservation site ("Uch Enmek") effort has already been directed into data collection, model development and an initial web-based presentation.The present "Open Web Globe" technology is not developed any further, what calls for a migra- tion into a different web environment.
    [Show full text]
  • An Open Source Spatial Data Infrastructure for the Cryosphere Community
    OpenPolarServer (OPS) - An Open Source Spatial Data Infrastructure for the Cryosphere Community By Kyle W. Purdon Submitted to the graduate degree program in Geography and the Graduate Faculty of the University of Kansas in partial fulfillment of the requirements for the degree of Master of Science. Chairperson Dr. Xingong Li Dr. Terry Slocum Dr. David Braaten Date Defended: April 17, 2014 ii The Thesis Committee for Kyle W. Purdon – certifies that this is the approved version of the following thesis: OpenPolarServer (OPS) - An Open Source Spatial Data Infrastructure for the Cryosphere Community Chairperson Dr. Xingong Li Date approved: April 17, 2014 iii Abstract The Center for Remote Sensing of Ice Sheets (CReSIS) at The University of Kansas has collected approximately 700 TB of radar depth sounding data over the Arctic and Antarctic ice sheets since 1993 in an effort to map the thickness of the ice sheets and ultimately understand the impacts of climate change and sea level rise. In addition to data collection, the storage, management, and public distribution of the dataset are also one of the primary roles of CReSIS. The OpenPolarServer (OPS) project developed a free and open source spatial data infrastructure (SDI) to store, manage, analyze, and distribute the data collected by CReSIS in an effort to replace its current data storage and distribution approach. The OPS SDI includes a spatial database management system (DBMS), map and web server, JavaScript geoportal, and application programming interface (API) for the inclusion of data created by the cryosphere community. Open source software including GeoServer, PostgreSQL, PostGIS, OpenLayers, ExtJS, GeoEXT and others are used to build a system that modernizes the CReSIS SDI for the entire cryosphere community and creates a flexible platform for future development.
    [Show full text]
  • Development of a Web Mapping Application Using Open Source
    Centre National de l’énergie des sciences et techniques nucléaires (CNESTEN-Morocco) Implementation of information system to respond to a nuclear emergency affecting agriculture and food products - Case of Morocco Anis Zouagui1, A. Laissaoui1, M. Benmansour1, H. Hajji2, M. Zaryah1, H. Ghazlane1, F.Z. Cherkaoui3, M. Bounsir3, M.H. Lamarani3, T. El Khoukhi1, N. Amechmachi1, A. Benkdad1 1 Centre National de l’Énergie, des Sciences et des Techniques Nucléaires (CNESTEN), Morocco ; [email protected], 2 Institut Agronomique et Vétérinaire Hassan II (IAV), Morocco, 3 Office Régional de la Mise en Valeur Agricole du Gharb (ORMVAG), Morocco. INTERNATIONAL EXPERTS’ MEETING ON ASSESSMENT AND PROGNOSIS IN RESPONSE TO A NUCLEAR OR RADIOLOGICAL EMERGENCY (CN-256) IAEA Headquarters Vienna, Austria 20–24 April 2015 Context In nuclear disaster affecting agriculture, there is a need for rapid, reliable and practical tools and techniques to assess any release of radioactivity The research of hazards illustrates how geographic information is being integrated into solutions and the important role the Web now plays in communication and disseminating information to the public for mitigation, management, and recovery from a disaster. 2 Context Basically GIS is used to provide user with spatial information. In the case of the traditional GIS, these types of information are within the system or group of systems. Hence, this disadvantage of traditional GIS led to develop a solution of integrating GIS and Internet, which is called Web-GIS. 3 Project Goal CRP1.50.15: “ Response to Nuclear Emergency affecting Food and Agriculture” The specific objective of our contribution is to design a prototype of web based mapping application that should be able to: 1.
    [Show full text]
  • Development of an Extension of Geoserver for Handling 3D Spatial Data Hyung-Gyu Ryoo Pusan National University
    Free and Open Source Software for Geospatial (FOSS4G) Conference Proceedings Volume 17 Boston, USA Article 6 2017 Development of an extension of GeoServer for handling 3D spatial data Hyung-Gyu Ryoo Pusan National University Soojin Kim Pusan National University Joon-Seok Kim Pusan National University Ki-Joune Li Pusan National University Follow this and additional works at: https://scholarworks.umass.edu/foss4g Part of the Databases and Information Systems Commons Recommended Citation Ryoo, Hyung-Gyu; Kim, Soojin; Kim, Joon-Seok; and Li, Ki-Joune (2017) "Development of an extension of GeoServer for handling 3D spatial data," Free and Open Source Software for Geospatial (FOSS4G) Conference Proceedings: Vol. 17 , Article 6. DOI: https://doi.org/10.7275/R5ZK5DV5 Available at: https://scholarworks.umass.edu/foss4g/vol17/iss1/6 This Paper is brought to you for free and open access by ScholarWorks@UMass Amherst. It has been accepted for inclusion in Free and Open Source Software for Geospatial (FOSS4G) Conference Proceedings by an authorized editor of ScholarWorks@UMass Amherst. For more information, please contact [email protected]. Development of an extension of GeoServer for handling 3D spatial data Optional Cover Page Acknowledgements This research was supported by a grant (14NSIP-B080144-01) from National Land Space Information Research Program funded by Ministry of Land, Infrastructure and Transport of Korean government and BK21PLUS, Creative Human Resource Development Program for IT Convergence. This paper is available in Free and Open Source Software for Geospatial (FOSS4G) Conference Proceedings: https://scholarworks.umass.edu/foss4g/vol17/iss1/6 Development of an extension of GeoServer for handling 3D spatial data Hyung-Gyu Ryooa,∗, Soojin Kima, Joon-Seok Kima, Ki-Joune Lia aDepartment of Computer Science and Engineering, Pusan National University Abstract: Recently, several open source software tools such as CesiumJS and iTowns have been developed for dealing with 3-dimensional spatial data.
    [Show full text]
  • Opengis Web Feature Services for Editing Cadastral Data
    OpenGIS Web Feature Services for editing cadastral data Analysis and practical experiences Master of Science thesis T.J. Brentjens Section GIS Technology Geodetic Engineering Faculty of Civil Engineering and Geosciences Delft University of Technology OpenGIS Web Feature Services for editing cadastral data Analysis and practical experiences Master of Science thesis Thijs Brentjens Professor: prof. dr. ir. P.J.M. van Oosterom (Delft University of Technology) Supervisors: drs. M.E. de Vries (Delft University of Technology) drs. C.W. Quak (Delft University of Technology) drs. C. Vijlbrief (Kadaster) Delft, April 2004 Section GIS Technology Geodetic Engineering Faculty of Civil Engineering and Geosciences Delft University of Technology The Netherlands Het Kadaster Apeldoorn The Netherlands i ii Preface Preface This thesis is the result of the efforts I have put in my graduation research project between March 2003 and April 2004. I have performed this research part-time at the section GIS Technology of TU Delft in cooperation with the Kadaster (the Dutch Cadastre), in order to get the Master of Science degree in Geodetic Engineering. Typing the last words for this thesis, I have been realizing more than ever that this thesis marks the end of my time as a student at the TU Delft. However, I also realize that I have been working to this point with joy. Many people are “responsible” for this, but I’d like to mention the people who have contributed most. First of all, there are of course people who were directly involved in the research project. Peter van Oosterom had many critical notes and - maybe even more important - the ideas born out of his enthusiasm improved the entire research.
    [Show full text]
  • Mapserver, Oracle Mapviewer, QGIS Mapserver
    WMS Benchmarking Cadcorp GeognoSIS, Contellation-SDI, ERDAS APOLLO, GeoServer, Mapnik, MapServer, Oracle MapViewer, QGIS MapServer Open Source Geospatial Foundation 1 Executive summary • Compare the performance of WMS servers – 8 teams • In a number of different workloads: – Vector: native (EPSG:4326) and projected (Google Mercator) street level – Raster: native (EPSG:25831) and projected (Google Mercator) • Against different data backends: – Vector: shapefiles, PostGIS, Oracle Spatial – Raster: GeoTiff, ECW Raster Open Source Geospatial Foundation 2 Benchmarking History • 4th FOSS4G benchmarking exercise. Past exercises included: – FOSS4G 2007: Refractions Research run and published the first comparison with the help of GeoServer and MapServer developers. Focus on big shapefiles, postgis, minimal styling – FOSS4G 2008: OpenGeo run and published the second comparison with some review from the MapServer developers. Focus on simple thematic mapping, raster data access, WFS and tile caching – FOSS4G 2009: MapServer and GeoServer teams in a cooperative benchmarking exercise • Friendly competition: goal is to improve all software Open Source Geospatial Foundation 3 Datasets Used: Vector Used a subset of BTN25, the official Spanish 1:25000 vector dataset • 6465770 buildings (polygon) • 2117012 contour lines • 270069 motorways & roads (line) • 668066 toponyms (point) • Total: 18 GB worth of shapefiles Open Source Geospatial Foundation 4 Datasets Used: Raster Used a subset of PNOA images • 50cm/px aerial imagery, taken in 2008 • 56 GeoTIFFs, around Barcelona • Total: 120 GB Open Source Geospatial Foundation 5 Datasets Used: Extents Open Source Geospatial Foundation 6 Datasets Used: Extents Canary Islands are over there, but they are always left out Open Source Geospatial Foundation 7 Datasets Used: Credits Both BTN25 and PNOA are products of the Instituto Geográfico Nacional.
    [Show full text]
  • An Open-Source Web Platform to Share Multisource, Multisensor Geospatial Data and Measurements of Ground Deformation in Mountain Areas
    International Journal of Geo-Information Article An Open-Source Web Platform to Share Multisource, Multisensor Geospatial Data and Measurements of Ground Deformation in Mountain Areas Martina Cignetti 1,2, Diego Guenzi 1,* , Francesca Ardizzone 3 , Paolo Allasia 1 and Daniele Giordan 1 1 National Research Council of Italy, Research Institute of Geo-Hydrological Protection (CNR IRPI), Strada delle Cacce 73, 10135 Turin, Italy; [email protected] (M.C.); [email protected] (P.A.); [email protected] (D.G.) 2 Department of Earth Sciences, University of Pavia, 27100 Pavia, Italy 3 National Research Council of Italy, Research Institute of Geo-Hydrological Protection (CNR IRPI), Via della Madonna Alta 126, 06128 Perugia, Italy; [email protected] * Correspondence: [email protected] Received: 20 November 2019; Accepted: 16 December 2019; Published: 18 December 2019 Abstract: Nowadays, the increasing demand to collect, manage and share archives of data supporting geo-hydrological processes investigations requires the development of spatial data infrastructure able to store geospatial data and ground deformation measurements, also considering multisource and heterogeneous data. We exploited the GeoNetwork open-source software to simultaneously organize in-situ measurements and radar sensor observations, collected in the framework of the HAMMER project study areas, all located in high mountain regions distributed in the Alpines, Apennines, Pyrenees and Andes mountain chains, mainly focusing on active landslides. Taking advantage of this free and internationally recognized platform based on standard protocols, we present a valuable instrument to manage data and metadata, both in-situ surface measurements, typically acquired at local scale for short periods (e.g., during emergency), and satellite observations, usually exploited for regional scale analysis of surface displacement.
    [Show full text]
  • The Development of Algorithms for On-Demand Map Editing for Internet and Mobile Users with Gml and Svg
    THE DEVELOPMENT OF ALGORITHMS FOR ON-DEMAND MAP EDITING FOR INTERNET AND MOBILE USERS WITH GML AND SVG Miss. Ida K.L CHEUNG a, , Mr. Geoffrey Y.K. SHEA b a Department of Land Surveying & Geo-Informatics, The Hong Kong Polytechnic University, Hung Hom, Kowloon, Hong Kong, email: [email protected] b Department of Land Surveying & Geo-Informatics, The Hong Kong Polytechnic University, Hung Hom, Kowloon, Hong Kong, email: [email protected] Commission VI, PS WG IV/2 KEY WORDS: Spatial Information Sciences, GIS, Research, Internet, Interoperability ABSTRACT: The widespread availability of the World Wide Web has led to a rapid increase in the amount of data accessing, sharing and disseminating that gives the opportunities for delivering maps over the Internet as well as small mobile devices. In GIS industry, many vendors or companies have produced their own web map products which have their own version, data model and proprietary data formats without standardization. Such problem has long been an issue. Therefore, Geographic Markup Language (GML) was designed to provide solutions. GML is an XML grammar written in XML Schema for the modelling, transport, and storage of geographic information including both spatial and non-spatial properties of geographic features. GML is developed by Open GIS Consortium in order to promote spatial data interoperability and open standard. Since GML is still a newly developed standard, this promising research field provides a standardized method to integrate web-based mapping information in terms of data modelling, spatial data representation mechanism and graphic presentation. As GML is not for data display, SVG is an ideal vector graphic for displaying geographic data.
    [Show full text]
  • Web Map Tile Services Tiny Tile Server Bachelor Thesis
    Web Map Tile Services Tiny Tile Server Bachelor Thesis Department of Computer Science University of Applied Science Rapperswil Spring Term 2013 Author: Carmen Campos Bordons Advisor: Prof. Stefan Keller, HSR Project Partner: Klokan Technologies, Baar External Co-Examiner: Claude Eisenhut, Burgdorf Internal Co-Examiner: Prof. Dr. Andreas Rinkel, HSR Abstract Tiny Tile Server is a Python server that permits the user to display local MBTiles maps on the internet. It extracts the data from the SQLite database where the map information is stored in tables containing all the tiles, UTFGrid and metadata. The tiles are the map images, smaller than the screen for better performance. The UTFGrid is some extra information related with points in the map that appears in an infobox when the user interact with these points. The metadata is the information about the map: name, description, bounds, legend, center, minzoom, maxzoom. Tiny Tile Server shows the tiles composing the map on a website and the UTFGrid data on top of the tiles. It can also be used to show the getCapabilities information from Web Map Tile Service in XML format extracted by the metadata table. Tiny Tile Server supports two protocols to access the tiles: direct access with XYZ tile request to tiles in a directory or to MBTiles database; or Web Map Tile Service from a MBTiles database. The server is a part in a website whose purpose is to show how it works and provide templates for the user who wants to employ it, so he will not need to have programming knowledge in order to use Tiny Tile Server, just to follow a simple installation tutorial.
    [Show full text]
  • L6-Geospatial Technologies and Web Applications-Mr.Arulraj NRSC
    GeoSpatial Technologies and Web Applications M. Arulraj Sci/Engr – SF Manager, Bhuvan Web Services Development [email protected] GIS Activities in Problem Solving Environment Empowering Human Take to Activities Action Plan Complex Data Modeling Analyze Interactive Mapping Integration Measure Observe Visualization Modeling . Application of this science is multi-disciplinary Major Components of GIS and Role of open source s/w Data Creations Vector, Raster & attribute Data organizations & Management Complete GIS Data query, processing, Solutions analysis and modeling Data presentations and visualizations OpenLayers Data sharing and disseminations Tools and technologies • Quantum GIS • Open Jump • SAGA, MapWindow GIS • OpenLayer API Desktop GIS • Mapfish, • Geoeditor, • GRASS Geoweb Remote • Geexplorer • OSIM 2.0 Sensing • SAGA • Geonetwork Catalogue Statistical Server • R Geo-spatial DomainGn Geo- GPS • Gpsbabel RDBMS • POSTGIS+ POSTGRESQL • Gpsdrive • TerrLib GIS s/w GIS Servers developme nt • GDAL/OGR • Osgeo MapServer • Geotool • Geoserver • OpenLayer API What is open source? Open source software is software where the source code is made available under a license that allows the modification, and re-distribution of the software at will. The distribution terms of open-source software must comply with the following criteria: Free redistribution; Source code; Derived works; Integrity of the author's source code; No discrimination against persons or groups; No discrimination against fields of endeavor; Distribution of license; License must not be specific to a product; License must not restrict other software; License must be technology-neutral. What is open source? 1. Free Redistribution The license shall not restrict any party from selling or giving away the software as a component of an aggregate software distribution containing programs from several different sources.
    [Show full text]