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
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
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
Erik Westra Erik Westra
Author Profile Icon Erik Westra
Erik Westra
Arrow right icon
View More author details
Toc

Spatial database concepts


As mentioned in the previous chapter, spatial databases are databases which can store and query spatial data. Each record in a spatially-enabled database table has one or more geometry fields which position that record somewhere on the Earth's surface. How the geometry field(s) are used will depend on what type of information you are storing in the database table. For example:

  • A record representing a delivery vehicle might include a Point geometry reflecting the vehicle's current location.

  • A record representing a road might include a LineString geometry representing the shape of the road.

  • A record representing a forest fire might include a Polygon geometry representing the area affected by the fire.

    Note

    Some spatial databases allow you to have multiple geometry fields, while others are limited to just one per record.

By itself, a geometry field is simply a database blob which can hold the encoded geometry data. The data is usually stored in Well-Known Binary (WKB) format...

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
Banner background image