Openlayers 2.10 Beginner's Guide

Total Page:16

File Type:pdf, Size:1020Kb

Openlayers 2.10 Beginner's Guide OpenLayers 2.10 Beginner's Guide Create, optimize, and deploy stunning cross-browser web maps with the OpenLayers JavaScript web-mapping library Erik Hazzard BIRMINGHAM - MUMBAI OpenLayers 2.10 Beginner's Guide Copyright © 2011 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: March 2011 Production Reference: 1110311 Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK. ISBN 978-1-849514-12-5 www.packtpub.com Cover Image by Jose Argudo ([email protected]) Credits Author Editorial Team Leader Erik Hazzard Aanchal Kumar Reviewers Project Team Leader Xurxo Méndez Pérez Priya Mukherji Alan Palazzolo Project Coordinator Ian Turton Jovita Pinto Couzic Mikael Proofreader Acquisition Editor Steve Maguire Usha Iyer Graphics Development Editor Nilesh Mohite Maitreya Bhakal Production Coordinator Technical Editors Adline Swetha Jesuthas Pallavi Kachare Cover Work Indexers Adline Swetha Jesuthas Hemangini Bari Rekha Nair About the Author Erik Hazzard is a web developer—designer, Open Source advocate, and VI user. He loves to learn, teach, and occasionally blogs on his website at http://vasir.net/. As a professional web developer of five years, Erik specializes in Python and JavaScript, using open source software whenever possible. When he's not developing web applications, he's often developing or designing video games. He works at FREAC (Florida Resources and Environmental Analysis Center), a great place with great people that does all kinds of GIS and web development work. I'd like to thank the developers of OpenLayers, who continually do a fantastic job of developing the best web-mapping framework. I'd like to also thank my friends and mentors Ian Johnson and David Arthur for giving me the confidence and support I needed to get into web development. I'd like to thank Georgianna Strode and Stephen Hodge for their guidance, advice, and providing me with the opportunity to become a better web developer. I could not have written this book without the help of the great team at Packt; I hope every author can be as lucky as me to have such an excellent group of people to work with. I'd like to thank my parents for their never ending support. Lastly, I'd like to thank my love, Alisen, for her understanding and taking the time to help me make sure that the book is as easy to read as possible. About the Reviewers Xurxo Méndez Pérez was born in 1983 in Ourense, a little town in the south of Galicia, Spain. He lived there until he started the study for a degree in IT in the University of A Coruña, which finalized in 2008. For the last two years he has been working, at the Computer Architecture Group of the University of A Coruña developing GIS applications (making intensive use of many OGC standards) like Sitegal and SIUXFor (web GIS based applications to manage land properties and promote their good uses in the Galician region), MeteoSIX (a GIS system that provides access to geolocated observed and forecasted meteorological data in Galicia) and others. He also has large experience (3+ years) as a developer of mobile applications, having played first with JavaME, but nowadays he specializes in Google Android, with more than a dozen developed applications, some of them combining concepts like GIS and geolocation, real time responsiveness, and multiuser needs. Alan Palazzolo has been building web applications big and small for over five years, most of which have been with the open source, content management system Drupal, and along the way has picked up some experience in data visualization and mapping. He is a strong believer and advocate for the open source methodology in software and in life. He was involved in starting a Free Geek chapter in the Twin Cities, and constantly tries to use technology, and specifically the Internet, to enhance the lives of those that are less fortunate than most. Ian Turton is a geography researcher at the Pennsylvania State University. He became a geographer by accident nearly 20 years ago and hasn't managed to escape yet. During that period he was a co-founder of the GeoTools open source Java toolkit that is now used as the basis of many geographic open source projects. He continues to serve on the Project Steering Committee for the project as well as committing new code and patches. He has also taught the very popular course "Open Web Mapping" using open standards and open source programs at the Pennsylvania State University and the University of Leeds. www.PacktPub.com Support files, eBooks, discount offers, and more You might want to visit www.PacktPub.com for support files and downloads related to your book. Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks. http://PacktLib.PacktPub.com Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books. Why Subscribe? Fully searchable across every book published by Packt Copy and paste, print and bookmark content On demand and accessible via web browser Free Access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access. Table of Contents Preface 1 Chapter 1: Getting Started with OpenLayers 7 What is OpenLayers? 8 Why use OpenLayers? 8 What, technically, is OpenLayers? 8 Client side 8 Library 9 Anatomy of a web-mapping application 9 Web map client 10 Web map server 10 Relation to Google / Yahoo! / and other mapping APIs 11 Layers in OpenLayers 11 What is a Layer? 12 The OpenLayers website 12 Time for action – downloading OpenLayers 13 Making our first map 15 Time for action – creating your first map 15 How the code works 17 Understanding the code—Line by line 18 JavaScript object notation 21 Behind the scenes—Object Oriented Programming (OOP) 24 Interaction happens with objects 25 MadLibs 25 Time for Action – play MadLibs 25 Programming with OOP 26 Subclasses 26 Now what? 27 API docs 28 Table of Contents Where to go for help 28 This book's website 28 Mailing lists 28 IRC 29 OpenLayers source code repository 29 Summary 30 Chapter 2: Squashing Bugs With Firebug 31 What is Firebug? 32 Setting up Firebug 32 Time for Action – downloading Firebug 32 Firebug controls 34 Panels 34 Console panel 35 HTML panel 35 CSS panel 37 Script panel 37 DOM panel 38 Net panel 38 Panel conclusion 41 Using the Console panel 42 Time for Action – executing code in the Console 42 Time for Action – creating object literals 43 Object literals 44 Time for Action – interacting with a map 45 API documentation 47 Summary 47 Chapter 3: The 'Layers' in OpenLayers 49 What's a layer? 50 Layers in OpenLayers 50 Base layer 51 Overlay layers 51 Time for Action – creating a map with multiple layers 51 Creating layer objects 54 Layer.WMS class 55 WMS layer parameters: 55 Parameters versus arguments 57 Time for Action – configuring the options parameter 58 Configuring layer options 61 wms_state_lines layer options 61 Scale dependency 61 wms_layer_labels layer options 62 The visibility property 62 [ ii ] Table of Contents The opacity property 62 Map tiles 62 Many images make up a map 63 Available layer properties 65 Data types 66 OpenLayers.Layer class properties 66 Modifying layer properties 71 The OpenLayers.Layer class 71 Subclasses 71 Layer Class—Sub and super classes 72 Other layer types 72 Layer.ArcGIS93Rest 72 Layer.ArcIMS 73 Layer.Google 73 Time for Action – creating a Google Maps layer 73 Layer.Grid 75 Layer.Image 76 Time for Action – using the image layer 76 Image layer parameters 77 Layer.MapGuide 78 Layer.TileCache 79 Layer.Vector 79 Layer.VirtualEarth 79 Layer.WFS 80 Layer.WMS 80 Layer.Yahoo 80 Accessing layer objects 80 Time for Action – accessing map.layers 80 Time for Action – accessing layer objects in Firebug 82 Accessing layer properties 82 map.layers 82 Storing references to layer objects 83 Layer class methods 85 Time for Action – defining a global layer object variable 85 Layer class method definitions 86 Summary 88 Chapter 4: Wrapping Our Heads Around Projections 89 Map projections 90 Why on earth are Projections used? 90 Projection characteristics 90 Area 90 [ iii ] Table
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 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]
  • 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]
  • 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]
  • Geographical Information System in Web Applica- Tion
    Zhipeng Jiang GEOGRAPHICAL INFORMATION SYSTEM IN WEB APPLICA- TION Developing Web Application to Serve Spatial Data to Users Thesis CENTRIA UNIVERSITY OF APPLIED SCIENCES Information Technology January 2020 ABSTRACT Centria University Date Author of Applied Sciences January 2020 Zhipeng Jiang Degree programme Information Technology Name of thesis GEOGRAPHICAL INFORMATION SYSTEM IN WEB APPLICATION. Developing Web Applica- tion to serve spatial data to users Instructor Pages Jari Isohanni 29 + 7 Supervisor Jari Isohanni This study is aimed to give a basic understanding of web GIS from a technological point of view. Also, how the approach is useable for other technologies. The technologies including JavaScript API for Google Maps and ArcGIS were tested with demonstration. Additionally, the open-sourced solu- tions are discussed with the self-hosted server, PostgreSQL database. And with Openlayers as the front-end JavaScript library to present the geospatial data. During the study, in the Google Maps API demonstration, the GeoJson data is made by geojson.io and attitude data of the spatial data is called with the API method, to create popup windows for each city area. Another layer that represents specific location for the school, park, and hospital at Kokkola area is marked out with Google Maps API marker and it is overlaid, on top of that city area layer. The same spatial data and its related attribute data are implemented once more with ArcGIS JavaScript API to find out what is the difference between these two technologies. The result is that the Google Maps JavaScript API does not need to have a popup template to have the popup functionality working, instead of popup template, in the Google Maps JavaScript API, the click event listener is created to handle the popup event.
    [Show full text]
  • Comparison of Tile Server Design Approaches for 3-D Geo-Visualization
    COMPARISON OF TILE SERVER DESIGN APPROACHES FOR 3-D GEO-VISUALIZATION Tao Wanga, Jianhua Gongb aState Key Laboratory of Remote Sensing Science ,Institute of remote sensing applications chinese academy of sciences - [email protected] bState Key Laboratory of Remote Sensing Science ,Institute of remote sensing applications chinese academy of sciences - [email protected] Commission VI, WG VI/4 KEY WORDS: Tile server, Wms, Visualization ABSTRACT: In order to display large-scale maps on the Internet, it is necessary to divide the huge spatial data into small tiles. And servers are needed to support the display across network. There are two kinds of tile server. One is tile server, which organizes the pre-rendered tiles on the server. Another one is MapServer, which generates the display tile. In this article, different servers are compared in efficiency. The open source software world wind is used to analyze the capacity of the two kinds of servers, and experiment results show that tile server spent more time than Mapserver, and it is suggested the Mapserver may have been optimized. 1. INTRODUCTION After researching Google Earth Enterprise, which includes Google Earth Fusion, and MapCruncher for Virtual Earth, we’re When displaying large-scale maps on personal and mobile finding out that the ability to serve tiles on demand that are computers, it is necessary to divide the huge spatial data into rendered at the time of the request, and overlay these tiles on a small tiles. There are many important characteristics of the Virtual Earth or Google Maps base map is unique. Google Earth tileset file format.
    [Show full text]
  • GB: Using Open Source Geospatial Tools to Create OSM Web Services for Great Britain Amir Pourabdollah University of Nottingham, United Kingdom
    Free and Open Source Software for Geospatial (FOSS4G) Conference Proceedings Volume 13 Nottingham, UK Article 7 2013 OSM - GB: Using Open Source Geospatial Tools to Create OSM Web Services for Great Britain Amir Pourabdollah University of Nottingham, United Kingdom Follow this and additional works at: https://scholarworks.umass.edu/foss4g Part of the Geography Commons Recommended Citation Pourabdollah, Amir (2013) "OSM - GB: Using Open Source Geospatial Tools to Create OSM Web Services for Great Britain," Free and Open Source Software for Geospatial (FOSS4G) Conference Proceedings: Vol. 13 , Article 7. DOI: https://doi.org/10.7275/R5GX48RW Available at: https://scholarworks.umass.edu/foss4g/vol13/iss1/7 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]. OSM–GB OSM–GB Using Open Source Geospatial Tools to Create from data handling and data analysis to cartogra- OSM Web Services for Great Britain phy and presentation. There are a number of core open-source tools that are used by the OSM devel- by Amir Pourabdollah opers, e.g. Mapnik (Pavlenko 2011) for rendering, while some other open-source tools have been devel- University of Nottingham, United Kingdom. oped for users and contributors e. g. JOSM (JOSM [email protected] 2012) and the OSM plug-in for Quantum GIS (Quan- tumGIS n.d.). Abstract Although those open-source tools generally fit the purposes of core OSM users and contributors, A use case of integrating a variety of open-source they may not necessarily fit for the purposes of pro- geospatial tools is presented in this paper to process fessional map consumers, authoritative users and and openly redeliver open data in open standards.
    [Show full text]
  • User Guide: Android Mobile Tool for Field Data Collection
    User guide: Android mobile tool for field data collection GEM Technical Report 2014-03 V1.0.0 Rosser, J., J.G. Morley, A. Vicini Data capture tools GEM GLOBAL EARTHQUAKE MODEL i User guide: Android mobile tool for field data collection Technical Report 2014-03 Version: 1.0.0 Date: January 2014 Author(s)*: Rosser, J., J. G. Morley, A. Vicini (*) Authors’ affiliations: Julian Rosser, University of Nottingham, UK Jeremy G. Morley, University of Nottingham, UK Alessandro Vicini, ImageCat, UK ii Rights and permissions Copyright © 2014 GEM Foundation, Rosser, J., J.G. Morley, A. Vicini Except where otherwise noted, this work is licensed under a Creative Commons Attribution 3.0 Unported License. The views and interpretations in this document are those of the individual author(s) and should not be attributed to the GEM Foundation. With them also lies the responsibility for the scientific and technical data presented. The authors have taken care to ensure the accuracy of the information in this report, but accept no responsibility for the material, nor liability for any loss including consequential loss incurred through the use of the material. Citation advice Rosser, J., J.G. Morley, A. Vicini (2014), User guide: Android mobile tool for field data collection, GEM Technical Report 2014-03 V1.0.0, 26 pp., GEM Foundation, Pavia, Italy, doi: 10.13117/GEM.DATA- CAPTURE.TR2014.03. Photo credits Large cover image: © James Brown, GEM Foundation Small cover image: © James Brown, GEM Foundation http://www.globalquakemodel.org/ iii ABSTRACT The Global Earthquake Model (GEM) aims to provide a set of tools and models for hazard and risk analysis.
    [Show full text]
  • Designing an Open Source Web Application for Visualizing Aquifers
    5/9/2016 Designing an Open Source Web Application for Visualizing Aquifers Mitchell Sodek Penn State University 596 B Report Academic Advisor: Patrick Kennelly Table of Contents Abstract ........................................................................................................................................................ 2 Introduction .................................................................................................................................................. 2 Proposed Project .......................................................................................................................................... 3 Related Work ................................................................................................................................................ 4 Web maps ..................................................................................................................................................... 8 Web Application Design ............................................................................................................................... 8 Spatial Database ....................................................................................................................................... 9 Spatial Data Publisher ............................................................................................................................... 9 Mapping Library .....................................................................................................................................
    [Show full text]
  • Openlayers-3
    openlayers-3 #openlayers -3 Table of Contents About 1 Chapter 1: Getting started with openlayers-3 2 Remarks 2 Examples 2 Installation or Setup 2 setting up OL-3 2 Getting started with a simple map 2 Example using Bing Maps 3 Chapter 2: Draw the different types of geometry 4 Examples 4 Draw a Multi Line Geometry 4 Create a vector source 4 Initiate Map Object and add vector Layer to the map and Source as the vectorSource 4 Transform the projection from source projection system to target project system. 4 pass points to the ol.geom.MultiLineString([]) constructor 4 Create a feature and add geometry as a thing 5 Finally add it to source 5 Credits 6 About You can share this PDF with anyone you feel could benefit from it, downloaded the latest version from: openlayers-3 It is an unofficial and free openlayers-3 ebook created for educational purposes. All the content is extracted from Stack Overflow Documentation, which is written by many hardworking individuals at Stack Overflow. It is neither affiliated with Stack Overflow nor official openlayers-3. The content is released under Creative Commons BY-SA, and the list of contributors to each chapter are provided in the credits section at the end of this book. Images may be copyright of their respective owners unless otherwise specified. All trademarks and registered trademarks are the property of their respective company owners. Use the content presented in this book at your own risk; it is not guaranteed to be correct nor accurate, please send your feedback and corrections to [email protected] https://riptutorial.com/ 1 Chapter 1: Getting started with openlayers-3 Remarks This section provides an overview of what openlayers-3 is, and why a developer might want to use it.
    [Show full text]
  • Implementation of a Geoserver Application for GIS Data Distribution and Manipulation
    Department of Physical Geography and Quaternary Geology Implementation of a Geoserver application for GIS data distribution and manipulation Karteek Kommana Master’s thesis NKA 79 Physical Geography and Quaternary Geology, 45 Credits 2013 Preface This Master’s thesis is Karteek Kommana’s degree project in Physical Geography and Quaternary Geology at the Department of Physical Geography and Quaternary Geology, Stockholm University. The Master’s thesis comprises 45 credits (one and a half term of full- time studies). Supervisors have been Göran Alm at the Department of Physical Geography and Quaternary Geology, Stockholm University and Stefan Ene, Department of Human Geography, Stockholm University. Examiner has been Peter Schlyter at the Department of Physical Geography and Quaternary Geology, Stockholm University. The author is responsible for the contents of this thesis. Stockholm, 12 June 2013 Lars-Ove Westerberg Director of studies Abstract Accessibility and Interactivity are keywords of information today and that is equally important in science as anywhere else. When scientists share information it benefits if it is intuitive, informative and simple and does not demand expert skills in complicated formats. This master thesis has the aim to investigate open source software tools to design a web map application that can be used by any institute or NGO to distribute their data over internet. The Java platform to be implemented is the open source OpenLayers which allow users to view and potentially manipulate GIS map data through a web map application. Whatever GIS data made available on the Geoserver (the host site for the application) can be shared to users worldwide. The user can then: add from a list of available data layers, choose background (e.g.
    [Show full text]