![]()
Instant OpenLayers Starter
![]()
Instant OpenLayers Starter
Copyright © 2013 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 authors, 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: April 2013
Production Reference: 1190413
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78216-510-1
www.packtpub.com
![]()
Authors
Alessio Di Lorenzo
Giovanni Allegri
Reviewer
Antonio Santiago
Acquisition Editor
Usha Iyer
Commissioning Editor
Neha Nagwekar
Technical Editor
Prasad Dalvi
Project Coordinator
Amigya Khurana
Proofreader
Joel T. Johnson
Production Coordinator
Melwyn Dsa
Cover Work
Melwyn Dsa
Cover Image
Abhinash Sahu
![]()
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 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 fields range from spatial data modeling and GIS analysis, to GIS/WebGIS software development and cartography.
He holds courses on spatial DB design and management, GIS analysis, and WebGIS development, mainly based on free and open source technologies.
![]()
Antonio Santiago has more than ten years of experience in Computer Science, designing and implementing systems.
Since the beginning of his professional life, his experience has always been related to the world of the meteorology, working for different companies as an employee and freelance. He is experienced in development of systems to collect, store, transform, analyze, and visualize data and is actively interested on any GIS-related technology, with preference for data visualization.
As a restless mind, which is mainly experienced in the Java ecosystem, he also has worked actively with many related web technologies. He is always looking to improve the client side of web applications.
He is a firm believer of Software Engineering practices. He is an enthusiast of agile methodologies involving customers as a main key for the project’s success.
Antonio is also the author of the OpenLayers Cookbook by Packt Publishing.
![]()
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.
![]()
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.
- 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.
![]()
Chapter 1. Instant OpenLayers Starter
Welcome to the Instant OpenLayers Starter. This book has been especially created to provide you with all of the information that you need to set up OpenLayers. You will learn the basics of OpenLayers, get started with building your first web map, and discover some tips and tricks for using OpenLayers.
This book contains the following sections:
So, what is OpenLayers? explains what OpenLayers actually is, what you can do with it, and why it’s so great.
Installation discusses how to download and install OpenLayers with the minimum fuss and then set it up so that you can use it as soon as possible.
Quick start – Creating your first web map shows you how to perform one of the core tasks of OpenLayers; creating web maps. Follow the steps discussed in this section to create your own web map, which will be the basis of most of your work with OpenLayers.
Top features you need to know about illustrates how to perform six tasks with the most important features of OpenLayers. By the end of this section, you will be able to add image and vector overlays, add interaction controls, display attributes information, and buil...