Skip to Content
PostGIS Cookbook - Second Edition
book

PostGIS Cookbook - Second Edition

by Stephen Vincent Mather, Pedro Wightman, Bborie Park, Thomas Kraft, Mayra Zurbarán, Paolo Corti
March 2018
Beginner to intermediate content levelBeginner to intermediate
584 pages
14h 31m
English
Packt Publishing
Content preview from PostGIS Cookbook - Second Edition

Getting ready

  1. To access GeoNames web services, you need to create a user at http://www.geonames.org/login. The user we created for this recipe is postgis; you will need to change it with your username whenever you query the GeoNames web service URL.
  2. If you are using Windows, be sure to have OSGeo4W installed as suggested in the initial instructions of this chapter.
  3. If you are using Linux, follow the initial instructions for this chapter, create a Python virtualenv in order to keep a Python-isolated environment to be used for all the Python recipes in this book, and activate it:
      $ source postgis-cb-env/bin/activate
  1. Once activated, if you still haven't done so, you have to install the gdal and simplejson Python packages needed for this ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PostgreSQL 13 Cookbook

PostgreSQL 13 Cookbook

Vallarapu Naga Avinash Kumar
PostgreSQL High Performance Cookbook

PostgreSQL High Performance Cookbook

Dinesh Kumar, Chitij Chauhan
Mastering PostGIS

Mastering PostGIS

Dominik Mikiewicz, Michal Mackiewicz, Tomasz Nycz

Publisher Resources

ISBN: 9781788299329Supplemental Content