Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Python GeoSpatial Analysis Essentials

You're reading from   Python GeoSpatial Analysis Essentials Process, analyze, and display geospatial data using Python libraries and related tools

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781782174516
Length 200 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
 Westra Westra
Author Profile Icon Westra
Westra
Arrow right icon
View More author details
Toc

Summary


In this chapter, we covered the Mapnik map-generation library and how to use it within a Python program to create great-looking maps. You installed Mapnik, looked at a simple example of how it could be used, and then began to learn more about the process of constructing and styling a map.

We then examined Mapnik in more detail, looking at the various types of datasources which you can use to load spatial data into a map layer. We also examined the various symbolizers which can be used to display spatial features, how the visible extent is used to control the portion of the map to be displayed, and how to render a map as an image file. We then created a useful Python program called shapeToMap.py, which can be used to generate a map out of any spatial data stored in shapefiles, and finally looked at some of the ways in which shapeToMap.py could be improved to make it even more useful.

In the next chapter, we will look at various tools and techniques for analyzing spatial data, including...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images