OpenLayers Cookbook

所需积分/C币:11 2016-03-23 10:25:49 4.85MB PDF
0
收藏 收藏
举报

OpenLayers 很好的入门教程,书中含有源代码,有助于学习。
Open Layers Cookbook Copyright C 2012 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 th nformation 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: August 2012 Production reference: 1170812 Published by packt publishing Ltd Livery place 35 Livery Street Birmingham B3 2PB, UK ISBN978184951-7843 www.packtpub.com CoverImagebyAvishekRoy(roy0o7avishek88@gmail.com) Credits Author Project Coordinator Antonio santiago perez Joel Goveya Reviewers Proofreaders David Burgoon Mario Cecere Mohammad motamed Linda morris Jorge sanz Srinivas shanmugam Copy Editors Laxmi subramanian Davor Zelic Richard zijlstra Alfida Paiva Indexer Acquisition Editor Rekha n Usha lyer Lead technical editor Production coordinator Kedar bhat Shantanu Agade Cover Work Technical editors Shantanu agade Madhuri das Prasad dalvi Prashant salvi About the author Antonio Santiago Perez is a Computer Science Engineer with more than 10 years of experience in designing and implementing systems Since the beginning of his professional life, his experience has always been related to the world of meteorology, working for different companies as an employee and a freelancer He is experienced in development of systems to collect, store, transform, analyze, and visualize data, and actively interested in any gis-related technology with preference for data visualization Having a restless mind and being experienced mainly in Java ecosystem, he also has been working actively with many related web technologies, always looking to improve the client side of web applications. As a firm believer in Software engineering practices he is an enthusiast of agile methodologies involving customers as a main key for the projects success First, I would like to dedicate this book to my wife, for understanding my passion for programming and the world of computers Second, I would like to dedicate this book to all the restless people who make great open source projects possible, such as Open Layers, for the simple pleasure to create something one step better About the reviewers David Burgoon is a Software Developer with over 15 years of experience and lives and works in New York City. He specializes in designing and developing web mapping applications and geographic information systems(GIs). David currently works at the center for Urban Research at the city University of New York, here he develops web applications and data visualizations related to issues concerning New York city and other large metropolitan areas. Some of his recent projects using Open Layers include visualizing demographic changes between the 2000 and 2010 census and the effects of voter redistricting on local populations Mohammad Motamedi is a Software Developer/Analyst, specializing in GIS ( Geographic Information System) for more than 10 years. He currently works as a GIs Systems Analyst in the energy sector in Alberta, Canada Jorge sanz is a GIS Consultant from Valencia, Spain Formerly a Surveying and Cartography Engineer, he has been working on Geographical Information Systems for the last eight years After working as a researcher at the Polytechnic University of valencia, he joined Prodevelop, a software development company. There he started as a Geospatial Developer, working on web and desktop GIS projects Over the years he has been working mainly to help his colleagues with his geospatial experience on analysis, development, consultancy, documenting, training, and participating in many different conferences and workshops Apart from working on Prodevelop projects, he has also been part of the gvSIG team(a free GIs desktop software project)since 2006. Nowadays he works at gvsIG project as a technica collaborations manager, and he is also a charter member of the open Source geospatial Foundation(OSGeo) as well as a member of the OSGeo Spanish Language Local Chapter and other locallocal groups where he devotes some time and energy In 2005, during his time as a researcher, he participated in the authoring of a UMN Mapserver book, one of the first publications in Spanish on this excellent software I want to thank my colleagues at Prodevelop I've learned from them more than from any book or published resource; they give me inspiration and energy to work on innovative projects, always looking for excellence and perfection Srinivas Shanmugam has more than 10 years of software application development and architect experience using open source technologies in various domains. He specializes in analysis, design, implementation, development, and data migration he has expertise in implementing User Inter face components, Map components using OpenLayers, Web 2.0, OOPS/ Design pattern methodologies, open source custom framework development, MVC (Model view Controller), and other open source software development methodologies would like to thank my past company logica, my Pm rajesh roy and Finland counterparts for giving me the opportunity to work in Open Layers which made me review this book Davor Zelic is an iT professional who has been working in the it industry for 12 years During his career, Davor has gained expertise in working with various Geographic Information Systems. He originally worked with Intergraph Technologies where he earned the certificate of Intergraph Certified Developer for GeoMedia Desktop Solutions. Later, his focus moved to Open Source Gis technology where he gained significant experience working with server-side technology such as Geoserver and client-side technology such as OpenLayers From the beginning of his career, davor has worked constantly with Oracle technology as an SQL, PLSQL, Spatial, Forms, and reports expert and earned the certificate of Oracle Certified Professional issued by Oracle Corporation Davor holds a Master's degree in Electrical Engineering from the University of Zagreb. Currently he works at a small Croatian IT company, TEB Informatika, as a Chief Technology Officer. Richard Zijlstra is a civil Engineer. he has used his engineering degree in the Netherlands on Water Management, Infrastructure Planning, and Geographical Information Management on all of the environmental and social human aspects. He collaborates on system architecture, requirement management, and development of cloud-based Geographical Information Technology At the moment(2012) Richard Zijlstra is developing an open layers application for all of the Governmental institutes in the Netherlands. This application will be an interactive alternative to Google Maps. Also, interactivity in social media will be possible. His future vision is based on Geographical Intelligence in all contexts in life and on earth Richard Zijlstra is the owner of the company Geoneer Geoneer is a pioneer in geography and information technology. From this vision and point of view, Geoneer will help and collaborate in all aspects of geographical information technology worldwide. You can find geoneer at ageoneer on Twitter. Richard Zijlstra has written a lot of documents, system architectures, and on the usage of Geographical Information Technology, which you can find on the Web want to thank my parents for my healthy brain and childhood environment in the Frisian country side. Also, I thank the people from the town of Groningen who inspired me a lot for doing my thing (they know what I mean). also l'm very thankful to those people who know how I think, what do, and what I wish to do in the future. my greatest thanks goes out to my son Alessio Mori Zijlstra, my greatest inspiration in lifel www.packtpubcom Support files, eBooks, discount offers and more Youmightwanttovisitwww.paCktpub.comforsupportfilesanddownloadsrelatedto your book. Did you know that Packt offers e Book versions of every book published, with PDF and ePub filesavailable?YoucanupgradetotheebooKversionatwww.Packtpub.comandasaprint book customer, you are entitled to a discount on the eBook copy. Get in touch with us at service@packtpub com for more details. Atwww.packtpub.comyoucanalsoreadacollectionoffreetechnicalarticlessignup for a range of free newsletters and receive exclusive discounts and offers on Packt books and e Books PACKTLIB° http://packtlIb.Packtpub.cor 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 IfyouhaveanaccountwithPacktatwww.Packtpub.comyoucanusethistoaccess PacktLib today and view nine entirely free books Simply use your login credentials for immediate access Table of contents Preface Chapter 1: Web Mapping Basics Introduction Creating a simple full screen map Different ways to include Open Layers 177846 Understanding base and non-base layers Avoiding the need of a base layer 20 Playing with the map s options 22 Managing map,'s stack layers 25 Managing map s controls 32 Moving around the map view 35 Restricting the map extent Chapter 2: Adding Raster Layers 43 Introduction 43 Using Google Maps imagery 44 Using Bing imagery Adding WMs layer 50 Wrapping the date line options 54 Changing the zoom effect 56 Changing the layer opacity 58 Using WMS with single tile mode 61 Buffering the layer data to improve the map navigation 63 Creating an image layer 68 Setting the tile size in WMs layers 70

...展开详情
试读 127P OpenLayers Cookbook
立即下载 低至0.43元/次 身份认证VIP会员低至7折
抢沙发
一个资源只可评论一次,评论内容不能少于5个字
上传资源赚积分or赚钱
    最新推荐
    OpenLayers Cookbook 11积分/C币 立即下载
    1/127
    OpenLayers Cookbook第1页
    OpenLayers Cookbook第2页
    OpenLayers Cookbook第3页
    OpenLayers Cookbook第4页
    OpenLayers Cookbook第5页
    OpenLayers Cookbook第6页
    OpenLayers Cookbook第7页
    OpenLayers Cookbook第8页
    OpenLayers Cookbook第9页
    OpenLayers Cookbook第10页
    OpenLayers Cookbook第11页
    OpenLayers Cookbook第12页
    OpenLayers Cookbook第13页
    OpenLayers Cookbook第14页
    OpenLayers Cookbook第15页
    OpenLayers Cookbook第16页
    OpenLayers Cookbook第17页
    OpenLayers Cookbook第18页
    OpenLayers Cookbook第19页
    OpenLayers Cookbook第20页

    试读结束, 可继续阅读

    11积分/C币 立即下载 >