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 now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Applied Geospatial Data Science with Python

You're reading from   Applied Geospatial Data Science with Python Leverage geospatial data analysis and modeling to find unique solutions to environmental problems

Arrow left icon
Product type Paperback
Published in Feb 2023
Publisher Packt
ISBN-13 9781803238128
Length 308 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
David S. Jordan David S. Jordan
Author Profile Icon David S. Jordan
David S. Jordan
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Part 1:The Essentials of Geospatial Data Science
2. Chapter 1: Introducing Geographic Information Systems and Geospatial Data Science FREE CHAPTER 3. Chapter 2: What Is Geospatial Data and Where Can I Find It? 4. Chapter 3: Working with Geographic and Projected Coordinate Systems 5. Chapter 4: Exploring Geospatial Data Science Packages 6. Part 2: Exploratory Spatial Data Analysis
7. Chapter 5: Exploratory Data Visualization 8. Chapter 6: Hypothesis Testing and Spatial Randomness 9. Chapter 7: Spatial Feature Engineering 10. Part 3: Geospatial Modeling Case Studies
11. Chapter 8: Spatial Clustering and Regionalization 12. Chapter 9: Developing Spatial Regression Models 13. Chapter 10: Developing Solutions for Spatial Optimization Problems 14. Chapter 11: Advanced Topics in Spatial Data Science 15. Index 16. Other Books You May Enjoy

To get the most out of this book

As readers of this book, we assume that you come from a background in either data science or GIS. We also expect that you have some foundational knowledge of working with Python.

Software/hardware covered in the book

Operating system requirements

Anaconda Distribution

Windows, macOS, or Linux

Python 3.10.6

Windows, macOS, or Linux

Additionally, you will need to set up keys to several APIs, from which you will access data throughout the book.

API

Setup link

OpenMapQuest

https://developer.mapquest.com/user/login/sign-up

Google Maps

https://developers.google.com/maps

US Census Bureau

https://api.census.gov/data/key_signup.html

If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.

The quality of the hardware can impact the runtime for some analyses, as is the case for most data science activities. As such, we recommend hardware similar or better to the specified hardware outlined to prevent any potential issues:

  • NVIDIA GeForce GTX 1050
  • 16 GB RAM

We recommend that you use Anaconda as your Python environment and package manager. To begin installing the Anaconda Distribution, you’ll want to visit the Anaconda Distribution installation website at https://docs.anaconda.com/anaconda/install/. The Python version we are using throughout this book is 3.10.6, as this is one of the latest versions of Python available at the time of publication. Leveraging this version will ensure that all packages are compatible. To make the setup of your virtual environment as streamlined as possible, we’ve exported our environment.yml file and uploaded it to the GitHub repository at https://github.com/PacktPublishing/Applied-Geospatial-Data-Science-with-Python.

To set up the virtual environment called GeospatialPython, launch Anaconda prompt and execute the following command:

conda env create -file environment.yml

You’ll need to substitute environment.yml for the full path of the downloaded file.

After the environment is installed, you can activate it by executing the following command:

conda activate GeospatialPython

Throughout the book, you’ll see the following code:

data_path = r'YOUR FILE PATH'

Anytime you see this, you’ll need to substitute ‘YOUR FILE PATH’ with the file path of the data folder which can be downloaded from the GitHub repo. The data stored in the GitHub repo can be found in the Releases section or by visiting https://github.com/PacktPublishing/Applied-Geospatial-Data-Science-with-Python/releases. There are three parts to the data:

  • Data.pt1.zip
  • LCMS_CONUS_v2021-7_Land_Cover_Annual_2021.zip
  • S2B_MSIL2A_20220504T161829_N0400_R040_T17TNF_20220504T210702.SAFE.zip

You’ll need to extract the contents of these zip folders and store the contents in a single folder. You’ll then point to this folder any time you see ‘YOUR FILE PATH’ referenced in the Jupyter notebooks.

Similarly, you will also see the following code from time to time:

out_path = r"YOUR FILE PATH"

You’ll need to substitute YOUR FILE PATH in this code reference with the directory to which you’d like the output to be saved.

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 $19.99/month. Cancel anytime