Instant OpenLayers Starter [Instant]


This title is available as an eBook only
Instant OpenLayers Starter [Instant]
eBook: $12.99
Formats: PDF, PacktLib, ePub and Mobi formats
$11.04
save 15%!
Print & eBook also available on:
Learn in an Instant - Short, Fast, Focused
Overview
Table of Contents
Author
Support
Sample Chapters
  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • Visualize your geographical data
  • Integrate with third party map services to create mash-ups
  • Stylize and interact with your maps

Book Details

Language : English
eBook : 58 pages
Release Date : April 2013
ISBN : 178216510X
ISBN 13 : 9781782165101
Author(s) : Alessio Di Lorenzo, Giovanni Allegri
Topics and Technologies : All Books, Instant, Web Development, Open Source

Table of Contents

Instant OpenLayers Starter
  • Instant OpenLayers Starter
    • So, what is OpenLayers?
    • Installation
      • Step 1 – What do I need?
      • Step 2 – Downloading OpenLayers
      • Step 3 – Unpacking OpenLayers
      • Step 4 – Serving the library
      • And that's it!
    • Quick start – Creating your first web map
      • Step 1 – Organizing your workspace
      • Step 2 – Creating the HTML template
      • Step 3 – Including the OpenLayers library
      • Step 4 – Defining an initialization JavaScript function
      • Step 5 – Creating the map
    • Top features you need to know about
      • Adding an image overlay
      • Using Google Maps, OSM, and Bing as base layers
      • Using layers from OGC WMS services
      • Obtaining information about the mapped features from WMS servers
      • Using data from tile servers
      • Adding interaction controls
      • Adding a vector overlay
      • Creating a vector layer from GeoJSON data
      • Obtaining vector data from WFS and transforming coordinates with Proj4js
      • Adding a vector overlay from GeoRSS
      • Showing feature attributes in a pop up
      • Creating a thematic map
      • Using strategies and attribute replacement
    • People and places you should get to know
      • Official site and documentation
      • Community channels

Alessio Di Lorenzo

Alessio Di Lorenzo is a Marine Biologist and an MSc in Geographical Information Systems and Remote Sensing. Now he is living in Pescara, Italy, the place where he was born in October 1979. One fine day, looking for suitable tools to represent and analyze the environmental phenomena, he discovered GIS and decided that it was worthwhile to investigate the topic. By mixing his personal interest in computer science, open source software, and programming languages with the spatial knowledge, he has concentrated more and more on Web Mapping and Web GIS. Nowadays, he works as a consultant and trainer for local and central governments and various organizations. Most of his experience concerns the use of geospatial and web technologies to study and manage data from emergency and monitoring plans in the environmental, veterinary, and public health fields. He is author and co-author of articles concerning GIS for various scientific papers and for the TANTO blog. When not having fun with maps and connected stuff, he likes to spend his time swimming and riding his mountain bike or his motorcycle!

Giovanni Allegri

Giovanni Allegri has a degree in Earth Science from the Centre for Geotechnologies (CGT) at the University of Siena (Italy). He works as a GIS freelance consultant and analyst for public agencies and private companies. His work ranges from Spatial data modeling and GIS analysis, to GIS/WebGIS software development and cartography. He runs courses on Spatial DB design and management, GIS analysis and WebGIS development, based mainly on free and open source technologies.
Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 1 submitted: last submission 31 Jul 2013

Errata type: Code    Page No: 20 Date 30-07-2013
layers: [california_litho_hi, california_litho_lo],
instead of layers:[california_litho_high, california_litho_high]
true, instead of True
‘text/plain’ instead of text/plain

Errata type: Code    Page No: 22 Date 30-07-2013
recipe_02.html instead of recipe_01_gio.html

Errata type: Code    Page No: 30 Date 30-07-2013
Source code in the book is not the same as in the source code downloaded the only difference being the BBOX argument:
in the downloaded recipe: strategies: [new OpenLayers.Strategy.BBOX({ratio:1})], in the book: strategies: [new OpenLayers.Strategy.BBOX()],
the first one is the preferred, so the change should be made to the code in the book.

Errata type: Code    Date 30-07-2013
Page No: 31   [osm, gs] instead of [osm, os]
Page No: 32 http://earthquake.usgs.gov/earthquakes/ should be in proxy.cgi
Page No: 33 Make a copy of the recipe_07.html file and name it recipe_10.html
instead of Make a copy of the recipe_10.html file and name it recipe_10.html. Page No: 36 Make a copy of the recipe_10.html file and name it recipe_11.html
instead of Make a copy of the recipe_09.html file and name it recipe_11.html Page No: 39 Make a copy of the recipe_09.html file and name it recipe_13.html
instead of Make a copy of the recipe_12.html file and name it recipe_13.html Page No: 40 change it in recipe_13.html
recipe_14.html.

 

Sorry, there are currently no downloads available for this title.

Frequently bought together

Instant OpenLayers Starter [Instant] +    Instant Eclipse 4 RCP Development How-to [Instant] =
50% Off
the second eBook
Price for both: £11.65

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Learn OpenLayers and what you can expect by using it
  • Install and configure a simple web environment to publish your maps
  • Use the OpenLayers library in your web projects
  • Create a simple web map in no more than a dozen lines of JavaScript code
  • Add layers from a variety of different sources, local and remote
  • Activate and deactivate layers using scale dependency
  • Show a popup with information contained in your spatial data
  • Combine styling properties, data retrieving, and representation strategies to make your web maps responsive and readable

In Detail

OpenLayers is an open source JavaScript web mapping library distinguished from other alternatives, like Leaflet or Google Maps APIs, because of its huge set of components. Having being on the scene for a long time, users can benefit from a large set of resources and documentations, and a wide and actively supportive community.

Instant OpenLayers Starter gives you the possibility to produce your first “real” web map without being an experienced programmer or a GIS specialist. It provides you with an overview of the most popular vector and raster data formats used to share spatial information on the Web. By the end of the book you will be able to amaze your boss with a brand new web map and a bag of skills to give life to your geodata.

Instant OpenLayers Starter guides you through a fast and effective journey of web mapping, to discover how easy it is to put maps in your web projects, from simple base maps to interactive geo mash-ups, Google Maps, OpenStreetmap, GeoRSS, Panoramio, and your data. Starting with a lot of geo-information sources and a powerful library, we will explore how to manage maps inside web pages using basic third-party base maps to the overlay of re-projected vector data, going through styling thematic data and data interaction.

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks.A quick and simple Starter to working with the OpenLayers JavaScript library architecture, helping you become productive with it in a very short time.

Who this book is for

Instant OpenLayers Starter is a book for web designers or GIS specialists with a basic knowledge of JavaScript, for learning how to create simple, embedded, and basic maps, or to build complex data analysis and data management RIAs.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software