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
Mastering PostGIS

You're reading from   Mastering PostGIS Modern ways to create, analyze, and implement spatial data

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781784391645
Length 328 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (4):
Arrow left icon
George Silva George Silva
Author Profile Icon George Silva
George Silva
 Mikiewicz Mikiewicz
Author Profile Icon Mikiewicz
Mikiewicz
Michal Mackiewicz Michal Mackiewicz
Author Profile Icon Michal Mackiewicz
Michal Mackiewicz
 Nycz Nycz
Author Profile Icon Nycz
Nycz
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

1. Importing Spatial Data FREE CHAPTER 2. Spatial Data Analysis 3. Data Processing - Vector Ops 4. Data Processing - Raster Ops 5. Exporting Spatial Data 6. ETL Using Node.js 7. PostGIS – Creating Simple WebGIS Applications 8. PostGIS Topology 9. pgRouting

Preparing data


Raster import was covered in Chapter 1, Importing Spatial Data, subject and exporting is on its way in the next chapter, so we can look strictly into vector <-> raster conversion and processing.

For our use case, we will use EU-DEM dataset, produced using Copernicus data and information funded by European Union - EU-DEM layers. It's one arc second model of the whole European Union (without overseas territories). With its open license, we can use it with no concerns. The dataset is accessible by http://www.eea.europa.eu/data-and-maps/data/eu-dem.

As a vector layer, we can use OpenStretMap data for the Poland and Czech Republic administrative units.

In the first step, let's import the dataset as we learned in Chapter 1, Importing Spatial Data. For optimization of import processes, look into metadata, for SRID and size of raster, gdalinfo makes it easy:

user@machine:~/dev/gis/dem$ gdalinfo eudem_dem_5deg_n45e015.tif 
Driver: GTiff/GeoTIFF 
Files: eudem_dem_5deg_n45e015.tif...
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 £13.99/month. Cancel anytime
Visually different images