Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
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
Python Geospatial Development - Second Edition

You're reading from   Python Geospatial Development - Second Edition If you're experienced in Python here's an opportunity to get deep into Geospatial development, linking data to global locations. No prior knowledge required ‚Äì this book takes you through it all, step by step.

Arrow left icon
Product type Paperback
Published in May 2013
Publisher Packt
ISBN-13 9781782161523
Length 508 pages
Edition 2nd 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

Table of Contents (18) Chapters Close

Python Geospatial Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Geospatial Development Using Python FREE CHAPTER 2. GIS 3. Python Libraries for Geospatial Development 4. Sources of Geospatial Data 5. Working with Geospatial Data in Python 6. GIS in the Database 7. Working with Spatial Data 8. Using Python and Mapnik to Generate Maps 9. Putting It All Together – a Complete Mapping System 10. ShapeEditor – Implementing List View, Import, and Export 11. ShapeEditor – Selecting and Editing Features Index

Index

A

  • AddGeometryColumn() function / Using SpatiaLite
  • AddPoint() / Task – save the country bounding boxes into a shapefile
  • add_dash() method / Dashed and dotted lines
  • admin interface, Django application
    • about / The structure of a Django application
  • admin system, Django application
    • about / Playing with the admin system
    • adding / Playing with the admin system
    • database, resynchronizing / Playing with the admin system
    • database objects, adding / Playing with the admin system
    • admin URLs, adding / Playing with the admin system
    • working with / Playing with the admin system
  • affine transformation, DEM
    • about / Task – analyze height data using a digital elevation map
  • also rules / "Also" rules
  • angular distance
    • about / Distance
    / Using angular distances
  • angular distances / Task – identify parks in or near urban areas
  • Application Programming Interfaces (APIs)
    • about / Recent developments
  • application review
    • about / Application review and improvements
    • usablity / Usability
    • quality / Quality
    • performance / Performance
    • problem, searching / Finding the problem
    • performance, improving / Improving performance
    • tiled shorelines, calculating / Calculating the tiled shorelines
    • tiled shorelines, using / Using tiled shorelines
    • performance improvement, analyzing / Analyzing the performance improvement
  • aspect ratio / Calculating the map's dimensions
  • AsText() function / Using SpatiaLite
  • attributes
    • about / Geospatial development
  • authentication system, Django application
    • about / The structure of a Django application
  • azimuthal projection
    • about / Azimuthal projections

B

  • band.ReadRaster() method / Task – analyze height data using a digital elevation map
  • Band Interleaved by Line (BIL) format
    • about / GIS data formats
  • Band Interleaved by Pixel (BIP) format
    • about / GIS data formats
  • Band Sequential (BSQ) format
    • about / GIS data formats
  • base layer
    • about / Tile rendering
  • base map
    • setting up / Setting up the base map
  • best practices, geospatial databases
    • about / Recommended best practices
    • spatial references, monitoring / Using the database to keep track of spatial references
    • appropriate spatial reference, using / Using the appropriate spatial reference for your data
    • databases, using supporting geographies / Option 1 – using a database that supports geographies
    • features, transforming / Option 2 – transforming features as required
    • features, transforming outset / Option 3 – transforming features from the outset
    • unprojected coordinates, using / When to use unprojected coordinates
    • on-the-fly transformations, avoiding within query / Avoiding on-the-fly transformations within a query
    • spatial indexes, using / Using spatial indexes appropriately
    • limits, spatial query optimizer / Knowing the limits of your database's query optimizer
  • Bing
    • about / Creating a geospatial mash-up
  • bounding / The OpenStreetMap API

C

  • calc_search_radius() function / Implementing the find feature view
  • changesets / The OpenStreetMap API
  • civic location
    • about / Location
  • colors
    • using / Using colors
  • common spatially-enabled databases
    • about / Commercial Spatially-enabled databases
    • Oracle / Oracle
    • MS SQL Server / MS SQL Server
  • conditions, rules / Rules, filters, and styles
  • conic projection
    • about / Conic projections
  • coordinates
    • about / Geospatial development
  • coordinate system
    • about / Coordinate systems
    • projected coordinate systems / Coordinate systems
    • unprojected coordinate systems / Coordinate systems
  • coordinate transformation / Task – change projections to combine shapefiles using geographic and UTM coordinates
  • Core Based Statistical Areas (CBSAs) / Task – identify parks in or near urban areas
  • country bounding boxes, geospatial data
    • calculating / Task – calculate the bounding box for each country in the world
    • saving, into shapefile / Task – save the country bounding boxes into a shapefile
  • coverage format
    • about / GIS data formats
  • CreateSpatialIndex() function / Using SpatiaLite
  • crosses() method / Design
  • cursor.execute() method
    • about / MySQL
  • cylindrical projections
    • about / Cylindrical projections

D

  • dash segments / Dashed and dotted lines
  • data
    • downloading / Downloading the data
    • World Borders Dataset / World Borders Dataset, World Borders Dataset
    • GSHHS / GSHHS, GSHHS
    • GNIS / GNIS
    • GEOnet Names Server / GEOnet Names Server
    • importing / Importing the data
    • places’ name data / US place name data
    • worldwide places’ name data / Worldwide place name data
  • data models
    • defining / Defining the data models
    • shapefile, importing / Shapefile
    • attribute / Attribute
    • feature / Feature
    • AttributeValue object / AttributeValue
    • models.py file / The models.py file
  • data source
    • setting up / Setting up the data source
  • Datasource object / Design
  • datasources
    • shapefile / Shapefile
    • PostGIS / PostGIS
    • Gdal / Gdal
    • Org / Ogr
    • SQLite / SQLite
    • OSM / OSM
    • MemoryDatasource / MemoryDatasource
  • datum
    • about / Datums, Changing datums and projections
    • reference points / Datums
    • NAD 27 / Datums
    • NAD 83 / Datums
    • WGS 84 / Datums
    • changing / Task – change datums to allow older and newer TIGER data to be combined
  • decimal degrees / Analyzing geospatial data
  • defaultHandlerOptions dictionary / Intercepting mouse clicks
  • design, Mapnik
    • Layers / Design
    • Styles / Design
    • Symbolizers / Design
  • Destroy() method / Task – save the country bounding boxes into a shapefile, Saving the features into the shapefile
  • digital elevation maps (DEM) / Sources of geospatial data in raster format
    • about / Task – analyze height data using a digital elevation map
    • used, for analyzing height data / Task – analyze height data using a digital elevation map
    • affine transformation / Task – analyze height data using a digital elevation map
  • Digital Elevation Model (DEM) format
    • about / GIS data formats
  • Digital Raster Graphic (DRG) format
    • about / GIS data formats
  • DISTAL
    • basic workflow / About DISTAL
    • database, designing / Designing and building the database
    • database, building / Designing and building the database
  • DISTAL application
    • implementing / Implementing the DISTAL application, The "select country" script
    • about / Implementing the DISTAL application
    • shared database module / The shared "database" module
    • select country script / The "select country" script
    • select area script / The "select area" script
    • show result script / The "show results" script
  • DISTAL database
    • designing / Designing and building the database
  • distance
    • about / Distance
    • angular distance / Distance
    • linear distance / Distance
    • traveling distance / Distance
  • distance features
    • identifying, manually / Calculating distances manually
    • angular distance, using / Using angular distances
    • projected coordinates, using / Using projected coordinates
    • hybrid approach / A hybrid approach
    • result, displaying / Displaying the results
  • Django administration
    • working with / Playing with the admin system
  • Django application
    • downloading / Prerequisites
    • structure / The structure of a Django application
    • authentication system / The structure of a Django application
    • admin interface / The structure of a Django application
    • markup application / The structure of a Django application
    • messages framework / The structure of a Django application
    • sessions system / The structure of a Django application
    • sitemaps framework / The structure of a Django application
    • syndication system / The structure of a Django application
    • settings file / The structure of a Django application
    • model / The structure of a Django application, Models
    • view / The structure of a Django application, Views
    • templates / The structure of a Django application, Templates
    • URL dispatching / URL dispatching
    • data-entry forms / Templates
  • DSG (Feature Designation Code) field / Worldwide place name data

E

  • edit_feature() function / Editing features
  • edit_shapefile() function / Intercepting mouse clicks
  • edit_shapeFile() view function / Intercepting mouse clicks
  • else rules / "Else" rules
  • envelope / Task – calculate the bounding box for each country in the world
  • ESRI format / Obtaining and using GLOBE data
  • European Petroleum Survey Group (EPSG) / Using the database to keep track of spatial references
  • EveryBlock
    • URL / Mapnik
  • example map, Mapnik
    • creating / Creating an example map
  • expandRect() function / Calculating the tiled shorelines
  • export_data() function / Exporting shapefiles, Saving the attributes into the shapefile
  • export_shapefile() view function / Exporting shapefiles

F

  • FC (Feature Classification) field / Worldwide place name data
  • Feature Classification (FC) / Obtaining and using GEOnet Names Server data
  • Feature Designation Code (DSG) / Obtaining and using GEOnet Names Server data
  • feature layer
    • about / Tile rendering
  • features
    • editing / Editing features
    • adding / Adding features
    • deleting / Deleting features
  • fields / Task – calculate the bounding box for each country in the world
  • filter
    • about / Introducing Mapnik
  • Filter() constructor / Filters
  • filters, Mapnik
    • about / Filters
    • scale denominators / Scale denominators
  • find feature view
    • implementing / Implementing the find feature view
  • findPoints() function / Working with GIS data manually
  • find_feature() function / Implementing the find feature view
  • find_feature_url parameter / Intercepting mouse clicks
  • find_places_within() function / A hybrid approach
  • fixture
    • about / Setting up the base map
  • form.as_table template function / Editing features
  • forms
    • about / The "import shapefile" view function
  • FWTools installer
    • URL / Working with GIS data manually

G

  • gamma correction / Gamma correction
  • GDAL
    • about / Recent developments
    / Obtaining and using GLOBE data, Drawing raster images
  • GDAL, for Mac OS X / Working with GIS data manually
  • GDAL/OGR
    • about / GDAL/OGR
    • documentation / Documentation
    • availability / Availability
  • Gdal data source
    • about / Gdal
  • gdaldem utility / Obtaining and using NED data
  • GDAL design
    • about / GDAL design
    • dataset / GDAL design
    • raster band / GDAL design
    • raster size / GDAL design
    • georeferencing transform / GDAL design
    • affine transformation / GDAL design
    • Ground Control Points (GCPs) / GDAL design
    • coordinate system / GDAL design
    • metadata / GDAL design
    • band raster size / GDAL design
    • band metadata / GDAL design
    • color table / GDAL design
    • raster data / GDAL design
    • drivers / GDAL design
  • GDAL example code
    • about / GDAL example code
  • GDAL Python library
    • downloading / Working with GIS data manually
  • Generalized Search Tree (GiST)
    • about / Spatial indexes
  • generateMap() function
    • about / The MapGenerator interface
    / Rendering the map
  • Generic Mapping Tools (GMT)
    • URL / Data format
    • about / Data format
  • geocode / Analyzing geospatial data
  • geocoder / Advanced PostGIS features
  • Geod
    • about / Geod
    • fwd() method / Geod
    • inv() method / Geod
    • npts() method / Geod
  • geodetic location
    • about / Location
  • GeoDjango / Prerequisites
  • Geographical Information System (GIS) vendors / Geospatial development
  • geographies / Using PostGIS
  • Geography Markup Language (GML) format / GIS data formats
  • GeoJSON format / GIS data formats
  • Geolocation
    • about / Recent developments
  • geometries / Using PostGIS
  • geometry / Task – calculate the bounding box for each country in the world
  • GeometryCollection class / Design
  • geometry types
    • Point / Implementing the find feature view
    • LineString / Implementing the find feature view
    • Polygon / Implementing the find feature view
    • MultiPoint / Implementing the find feature view
    • MultiLineString / Implementing the find feature view
    • MultiPolygon / Implementing the find feature view
    • GeometryCollection / Implementing the find feature view
  • geometry units
    • converting / Converting and standardizing units of geometry and distance
    • standardizing / Converting and standardizing units of geometry and distance
    • Thai-Myanmar border lenght, calculating / Task – calculate the length of the Thai-Myanmar border
    • Shoshone latitude, calculating / Task – find a point 132.7 kilometers west of Soshone, California
    • Shoshone longitude, calculating / Task – find a point 132.7 kilometers west of Soshone, California
  • GEOnet Names Server
    • about / GEOnet Names Server
    • screenshot / GEOnet Names Server
    • data format / Data format
    • obtaining / Obtaining and using GEOnet Names Server data
    • using / Obtaining and using GEOnet Names Server data
    / Designing and building the database, GEOnet Names Server
  • GeoRSS
    • about / Recent developments
  • geospatial
    • about / Geospatial development
  • geospatial calculations
    • performing / Performing geospatial calculations
    • parks, identifying in or near urban areas / Task – identify parks in or near urban areas
  • geospatial data
    • about / Geospatial development
    • coordinates / Geospatial development
    • attributes / Geospatial development
    • analyzing / Analyzing geospatial data, Analyzing and manipulating geospatial data
    • visualizing / Visualizing geospatial data, Visualizing geospatial data
    • GDAL / GDAL/OGR
    • OGR / GDAL/OGR
    • GDAL design / GDAL design
    • GDAL example code / GDAL example code
    • OGR design / OGR design
    • OGR example code / OGR example code
    • manipulating / Analyzing and manipulating geospatial data
    • sources / Sources of other types of geospatial data
    • pre-requisites / Pre-requisites
    • reading / Reading and writing geospatial data
    • writing / Reading and writing geospatial data
    • country bounding boxes, calculating / Task – calculate the bounding box for each country in the world
    • country bounding boxes, saving into shapefile / Task – save the country bounding boxes into a shapefile
    • height data, analyzing with DEM / Task – analyze height data using a digital elevation map
    • representing / Representing and storing geospatial data
    • storing / Representing and storing geospatial data
    • Thailand and Myanmar border, calculating / Task – define the border between Thailand and Myanmar
    • geometries, saving into text file / Task – save geometries into a text file
  • geospatial databases
    • best practices / Recommended best practices
  • geospatial databases, Python used
    • prerequisites / Prerequisites
    • MySQL, working with / Working with MySQL
    • PostGIS, working with / Working with PostGIS
    • SpatiaLite, working with / Working with SpatiaLite
    • comparing / Comparing the databases
  • geospatial development
    • about / Geospatial development
    • overview / Recent developments
  • geospatial development applications
    • geospatial data, analyzing / Analyzing geospatial data
    • geospatial data, visualizing / Visualizing geospatial data
    • geospatial mash-up, creating / Creating a geospatial mash-up
  • geospatial mash-up
    • creating / Creating a geospatial mash-up
  • GeoTIFF files / Obtaining and using NED data
  • getattr() function / Editing features
  • GetNoDataValue() method / Task – analyze height data using a digital elevation map
  • get_country_datasource() function / Displaying the results
  • get_datasource() function / Setting up the data source
  • get_map_form() function / Editing features
  • get_map_widget() / Editing features
  • get_ogr_feature_attribute() function / Saving the attributes into the shapefile
  • get_shoreline_datasource() function / Using tiled shorelines
  • GIS
    • spatially-enabled databases / Spatially-enabled databases
    • spatial indexes / Spatial indexes
    • open source spatially-enabled databases / Open source spatially-enabled databases
    • common spatially-enabled databases / Commercial Spatially-enabled databases
  • GIS concepts
    • about / Core GIS concepts
    • location / Location
    • distance / Distance
    • units / Units
    • projection / Projections
    • coordinate system / Coordinate systems
    • datums / Datums
    • shapes / Shapes
  • GIS data
    • working manually / Working with GIS data manually
  • GIS data format
    • about / GIS data formats
    • raster format data / GIS data formats
    • vector format data / GIS data formats
    • micro-formats / GIS data formats
  • Global Land Cover Facility / Obtaining Landsat imagery
  • Global Positioning System (GPS)
    • about / Recent developments
  • GLOBE
    • about / Global Land One-kilometer Base Elevation (GLOBE)
    • data format / Data format
    • data, obtaining / Obtaining and using GLOBE data
  • GLOBE DEM data
    • about / Global Land One-kilometer Base Elevation (GLOBE)
  • GML
    • about / Recent developments
  • GNIS
    • about / Geographic Names Information System (GNIS)
    • screenshot / Geographic Names Information System (GNIS)
    • data format / Data format
    • obtaining / Obtaining and using GNIS Data
    • using / Obtaining and using GNIS Data
    / GNIS
  • GNIS Database / Designing and building the database
  • Google Earth
    • about / Recent developments
  • Google Maps
    • about / Recent developments
  • Google Maps API
    • about / Creating a geospatial mash-up
  • great circle distance calculation / Working with GIS data manually
  • GSHHS
    • about / Global, self-consistent, hierarchical, high-resolution shoreline database (GSHHS)
    • screenshot / Global, self-consistent, hierarchical, high-resolution shoreline database (GSHHS)
    • data format / Data format
    • obtaining / Obtaining the GSHHS database
    / GSHHS

H

  • handleResponse() callback function / Intercepting mouse clicks
  • Haversine formula
    • URL / Working with GIS data manually
  • height data, geospatial data
    • analyzing, DEM used / Task – analyze height data using a digital elevation map
  • HTML Forms / The "select country" script

I

  • import shapefile view function / The "import shapefile" view function
  • import_data() function / Importing shapefiles, Extracting the uploaded shapefile
  • imposm
    • URL / Working with OpenStreetMap data

J

  • jurisdictional locations
    • about / Location

K

  • KML
    • about / Recent developments

L

  • labels
    • drawing / Drawing labels
  • Landsat
    • about / Landsat
    • data format / Data format
  • Landsat imagery
    • obtaining / Obtaining Landsat imagery
  • Layer objects
    • about / Introducing Mapnik
  • layers
    • about / Maps and layers
  • Layers, Mapnik
    • about / Design
  • libspatialite / Installing SpatiaLite
  • libspatialite extension
    • loading / Accessing SpatiaLite from Python
  • line-drawing options
    • line color / Line color
    • line width / Line width
    • opacity / Opacity
    • line caps / Line caps
    • line joins / Line joins
    • dashed and dotted lines / Dashed and dotted lines
  • linear distance
    • about / Distance
  • linear ring
    • about / Shapes
  • LinearRing class / Design
  • linear rings / Task – save the country bounding boxes into a shapefile
  • LinePatternSymbolizer
    • about / LinePatternSymbolizer
  • lines
    • drawing, onto map / Drawing lines
  • linestring
    • about / Shapes
  • LineString class / Design
  • LineSymbolizer
    • about / Introducing Mapnik, LineSymbolizer
    • using / LineSymbolizer
  • Linux
    • SpatiaLite, installing / Installing SpatiaLite
  • list shapefiles view
    • implementing / Implementing the "list shapefiles" view
  • list_countries() function / The "select country" script
  • list_shapefiles() view function / Implementing the "list shapefiles" view
  • locations
    • about / Location
    • measuring / Location
  • LULC datafiles / Task – change projections to combine shapefiles using geographic and UTM coordinates

M

  • Mac OS X
    • SpatiaLite, installing / Installing SpatiaLite
  • Map Definition File
    • about / Introducing Mapnik
  • map definition file
    • about / Map definition files
  • MapGenerator
    • about / MapGenerator revisited
    • interface / The MapGenerator interface
    • main map layer, creating / Creating the main map layer
    • points, displaying on map / Displaying points on the map
    • map, rendering / Rendering the map
  • mapGenerator.generateMap() function / Rendering the map image
  • mapGenerator.py module
    • about / The MapGenerator interface
  • Mapnik
    • about / Creating a geospatial mash-up, Mapnik, Introducing Mapnik
    • features / Mapnik, Introducing Mapnik
    • design / Design
    • example code / Example code
    • documentation / Documentation
    • availability / Availability
    • URL / Availability, Introducing Mapnik
    • map, generating / Introducing Mapnik
    • Polygons layer / Introducing Mapnik
    • example map, creating / Creating an example map
    • Python documentation / Mapnik in depth
    • data sources / Data sources
    • rules / Rules, filters, and styles
    • styles / Rules, filters, and styles
    • filters / Rules, filters, and styles
    • symbolizers / Symbolizers
    • maps / Maps and layers
    • layers / Maps and layers
    • map rendering / Map rendering
  • mapnik.Layer class
    • methods / Layer attributes and methods
  • mapnik.Map class
    • attributes / Map attributes and methods
    • methods / Map attributes and methods
  • mapnik.Shapefile() function / Shapefile
  • mapnik.SQLite() function / SQLite
  • Mapnik Datasource object
    • setting up / Data sources
  • Mapnik Wiki
    • URL / Documentation
  • map rendering
    • about / Map rendering
  • maps
    • about / Maps and layers
  • MapServer
    • about / Creating a geospatial mash-up
  • markup application, Django application
    • about / The structure of a Django application
  • MBRContains() function / MySQL
  • MemoryDatasource
    • about / MemoryDatasource
  • meridians
    • about / Location
  • messages framework, Django application
    • about / The structure of a Django application
  • micro-formats
    • Well-known Text (WKT) / GIS data formats
    • Well-known Binary (WKB) / GIS data formats
    • GeoJSON / GIS data formats
    • Geography Markup Language (GML) / GIS data formats
  • minimum bounding rectangle
    • about / Spatial indexes
    / MySQL
  • models, Django
    • about / Models
  • models.py file
    • editing / The models.py file
  • mouse clicks, ShapeEditor application
    • intercepting / Intercepting mouse clicks
  • MS SQL Server
    • about / MS SQL Server
  • MS Windows
    • SpatiaLite, installing / Installing SpatiaLite
  • MultiLineString class / Design
  • MultiPoint class / Design
  • MultiPolygon class / Design
  • MySQL
    • about / MySQL
    • downloading / MySQL
    • acessing, from Python programs / MySQL
    • disadvantages / MySQL
  • MySQL-Python driver / MySQL
    • about / MySQL
  • MySQLdb
    • URL / MySQL
  • MySQL query optimizer
    • about / MySQL

N

  • NAD 27
    • about / Datums
  • NAD 83
    • about / Datums
  • National Map Viewer / Obtaining and using NED data
  • Natural Earth, raster-format data
    • about / Natural Earth
    • raster maps / Natural Earth
    • data format / Data format
    • obtaining / Obtaining and using Natural Earth raster data
    • using / Obtaining and using Natural Earth raster data
  • Natural Earth, vector-format data
    • URL / Natural Earth
    • about / Natural Earth
    • cultural map data / Natural Earth
    • physical map data / Natural Earth
    • data format / Data format
    • data, obtaining / Obtaining and using Natural Earth vector data
    • data, using / Obtaining and using Natural Earth vector data
  • nature of map projections
    • about / The nature of map projections
  • NED
    • about / National Elevation Dataset (NED)
    • data format / Data format
    • data, obtaining / Obtaining and using NED data
    • data, using / Obtaining and using NED data
  • no data value / Task – analyze height data using a digital elevation map
  • NT (Name Type) field / Worldwide place name data

O

  • OGR
    • about / Recent developments
  • Ogr data source
    • about / Ogr
  • OGR design
    • about / OGR design
    • data source / OGR design
    • layers / OGR design
    • spatial reference / OGR design
    • feature / OGR design
    • attributes / OGR design
    • geometry / OGR design
  • OGR example code
    • about / OGR example code
  • OGR Shapefile
    • defining / Defining the OGR shapefile
  • onClick() function / Intercepting mouse clicks
  • Open Geospatial Consortium
    • URL / Recent developments
    • about / Recent developments
  • Openlayers
    • about / Creating a geospatial mash-up
  • OpenLayers
    • used, for displaying map / Using OpenLayers to display the map
  • OpenLayers.Control.Click class / Intercepting mouse clicks
  • OpenLayers.Request.GET function / Intercepting mouse clicks
  • open source spatially-enabled databases
    • about / Open source spatially-enabled databases
    • MySQL / MySQL
    • PostGIS / PostGIS
    • SpatiaLite / SpatiaLite
  • OpenStreetMap
    • URL / Mapnik, OpenStreetMap
    • about / OpenStreetMap
    • screenshot / OpenStreetMap
    • data format / Data format
    • geospatial data, obtaining / Obtaining and using OpenStreetMap data
    • geospatial data, using / Obtaining and using OpenStreetMap data
    • data, working with / Working with OpenStreetMap data
  • OpenStreetMap API / The OpenStreetMap API
  • OpenStreetMap geocoder
    • about / Recent developments
  • Oracle
    • about / Oracle
  • Oracle Locator
    • about / Oracle
  • Oracle Spatial
    • about / Oracle
  • orthorectification / Data format
  • os.path.join() function / Shapefile
  • osm2pgsql tool / Working with OpenStreetMap data
  • OsmApi / The OpenStreetMap API
  • OSM data source
    • about / OSM
  • overlay / Visualizing geospatial data

P

  • painters algorithm
    • about / Introducing Mapnik
  • parallels
    • about / Location
  • parameters
    • about / URL dispatching
  • Planet.osm
    • about / Planet.osm
    • mirror site / Mirror sites and extracts
    • extracts / Mirror sites and extracts
  • point
    • about / Shapes
  • Point class / Design
  • points
    • drawing / Drawing points
  • PointSymbolizer
    • about / PointSymbolizer
  • polygon
    • about / Shapes
  • polygon-drawing options
    • fill color / Fill color
    • attribute / Opacity
    • gamma correction / Gamma correction
  • polygon.contains(point) method / MySQL
  • Polygon class / Design
  • PolygonPatternSymbolizer
    • about / PolygonPatternSymbolizer
  • polygons
    • drawing / Drawing polygons
  • PolygonSymbolizer
    • about / Introducing Mapnik, PolygonSymbolizer
  • polylines
    • about / Shapes
  • PostGIS / Analyzing geospatial data
    • about / Recent developments, PostGIS
    • installing / Installing and configuring PostGIS
    • downloading / Installing and configuring PostGIS
    • configuring / Installing and configuring PostGIS
    • using / Using PostGIS
    • documentation / Documentation
    • features / Advanced PostGIS features
  • PostGIS database
    • setting up, for ShapeEditor application / Setting up the database
  • PostGIS datasource
    • about / PostGIS
  • PostGIS manual
    • URL / Documentation
  • PostGIS query optimizer
    • about / PostGIS
  • PostgreSQL database / PostGIS
  • PostgreSQL manual
    • URL / Documentation
  • prime meridian
    • about / Location
  • Proj
    • about / Proj
  • PROJ.4
    • about / Recent developments, Availability
  • projected coordinate system
    • about / Coordinate systems
  • projection
    • about / Geospatial development, Projections, Changing datums and projections
    • cylindrical projections / Cylindrical projections
    • conic projection / Conic projections
    • azimuthal projection / Azimuthal projections
    • nature of map projections / The nature of map projections
    • dealing with / Dealing with projections
    • pyproj / pyproj
    • design / Design
    • example code / Example code
    • documentation / Documentation
    • availability / Availability
    • changing / Task – change projections to combine shapefiles using geographic and UTM coordinates
  • Proj Python library / Analyzing geospatial data
  • Psycopg
    • installing / Installing and configuring PostGIS
  • Psycopg database / PostGIS
  • Psycopg documentation
    • URL / Documentation
  • pyproj library
    • about / Design
    • Proj / Proj
    • Geod / Geod
    • for MS Windows / Availability
    • for Linux / Availability
    • for Macintosh / Availability
  • pysqlite
    • installing / Installing pysqlite
    • URL / Installing pysqlite
  • Python
    • URL / Python
    • about / Python
    • features / Python
  • Python Database API
    • about / MySQL
  • Python Database Programming Wiki page
    • URL / MySQL
  • Python Package Index
    • about / Python
    • URL / Python
    • geospatial development / Geospatial development
  • Python Standard Libraries
    • about / Python

Q

  • quality
    • place name issues / Place name issues
    • Lat/Long coordinate problems / Lat/Long coordinate problems
  • query optimization process
    • MySQL / MySQL
    • PostGIS / PostGIS
    • SpatiaLite / SpatiaLite

R

  • R-Tree data structures
    • about / Spatial indexes
  • R-Tree indexes
    • about / Spatial indexes
  • raster format data
    • about / GIS data formats
    • Digital Raster Graphic (DRG) / GIS data formats
    • Digital Elevation Model (DEM) / GIS data formats
    • BIL / GIS data formats
    • BIP / GIS data formats
    • BSQ / GIS data formats
  • raster images
    • drawing / Drawing raster images
  • raster maps
    • about / Natural Earth
    • Cross-Blended Hypsometric Tints / Natural Earth
    • Natural Earth 1 / Natural Earth
    • Natural Earth 2 / Natural Earth
    • Ocean Bottom dataset / Natural Earth
    • Shaded Relief imagery / Natural Earth
  • RasterSymbolizer
    • about / Drawing raster images
    • uses / Drawing raster images
  • ReadRaster() method / Task – analyze height data using a digital elevation map
  • reference points
    • about / Coordinate systems
  • roads
    • drawing / Drawing roads and other complex linear features
  • root() function
    • about / Implementing Tile Map Server
  • rule
    • about / Introducing Mapnik
  • rules, Mapnik
    • conditions / Rules, filters, and styles
    • symbolizers / Rules, filters, and styles
    • else rules / "Else" rules
    • also rules / "Also" rules

S

  • scale denominators / Scale denominators
  • select area script
    • about / The "select area" script
    • bounding box, calculating / Calculating the bounding box
    • map’s dimension, calculating / Calculating the map's dimensions
    • data source, setting up / Setting up the data source
    • map image, rendering / Rendering the map image
  • select country script / The "select country" script
  • select_feature.html template / Adding features
  • service() function
    • about / Implementing Tile Map Server
  • sessions system, Django application
    • about / The structure of a Django application
  • setattr() function / Editing features
  • SetField() method / Saving the attributes into the shapefile
  • setField() method / Task – save the country bounding boxes into a shapefile
  • set_ogr_feature_attribute() function / Saving the attributes into the shapefile
  • shaded relief imagery / Sources of geospatial data in raster format
  • ShapeEditor application
    • workflow / About ShapeEditor, Selecting a feature to edit
    • web interface / About ShapeEditor
    • shapefile, importing / About ShapeEditor, Importing a shapefile, Importing shapefiles
    • features / About ShapeEditor
    • designing / Designing ShapeEditor
    • feature, selecting / Selecting a feature
    • feature, editing / Editing a feature
    • shapefile, exporting / Exporting a shapefile, Exporting shapefiles
    • prerequisites / Prerequisites
    • database, setting up / Setting up the database
    • setting up / Setting up the ShapeEditor project
    • defining / Defining the ShapeEditor's applications
    • shared application, creating / Creating the shared application
    • data models, defining / Defining the data models
    • admin system / Playing with the admin system
    • list shapefiles view, implementing / Implementing the "list shapefiles" view
    • feature, selecting for edit / Selecting a feature to edit
    • Tile Map Server, implementing / Implementing Tile Map Server
    • mouse clicks, intercepting / Intercepting mouse clicks
    • features, editing / Editing features
    • features, adding / Adding features
    • features, deleting / Deleting features
    • shapefiles, deleting / Deleting shapefiles
    • using / Using ShapeEditor
    • enhancements / Further improvements and enhancements
  • shapefile datasource
    • about / Shapefile
  • Shapefile format
    • about / GIS data formats
  • Shapefile object
    • adding, to database / Add the Shapefile object to the database
  • shapefiles
    • importing / Importing shapefiles
    • contents, importing / Importing the shapefile's contents
    • opening / Open the shapefile
    • attributes, defining / Define the shapefile's attributes
    • features, storing / Store the shapefile's features
    • attributes, storing / Store the shapefile's attributes
    • cleaning up / Cleaning up
    • deleting / Deleting shapefiles
  • shapefiles, exporting
    • about / Exporting shapefiles
    • OGR Shapefile, defining / Defining the OGR shapefile
    • features, saving into shapefile / Saving the features into the shapefile
    • attributes, saving into shapefile / Saving the attributes into the shapefile
    • shapefile, compressing / Compressing the shapefile
    • temporary files, deleting / Deleting temporary files
    • ZIP archive, returning to user / Returning the ZIP archive to the user
  • Shapely
    • about / Shapely
    • design / Design
    • Point class / Design
    • LineString class / Design
    • LinearRing class / Design
    • Polygon class / Design
    • MultiPoint class / Design
    • MultiLineString class / Design
    • MultiPolygon class / Design
    • GeometryCollection class / Design
    • example code / Example code
    • documentation / Documentation
    • availability / Availability
  • shapes
    • about / Shapes
    • point / Shapes
    • linestring / Shapes
    • polygon / Shapes
  • shared.utils module / Implementing the find feature view
  • shared database module / The shared "database" module
  • ShieldSymbolizer
    • about / ShieldSymbolizer
  • showResults.py script / Using tiled shorelines
  • show result script
    • about / The "show results" script
    • clicked-on point, identifying / Identifying the clicked-on point
    • distance features, identifying / Identifying features by distance
  • simple features format
    • about / GIS data formats
  • sitemaps framework, Django application
    • about / The structure of a Django application
  • source code format, Linux
    • about / MySQL
  • source code format, Mac OS X
    • about / MySQL
  • sources, geospatial data
    • about / Sources of other types of geospatial data
    • GEOnet Names Server / GEOnet Names Server
    • GNIS / Geographic Names Information System (GNIS)
    • selecting / Choosing your geospatial data source
  • sources, raster-format geospatial data
    • about / Sources of geospatial data in raster format
    • Landsat / Landsat
    • Natural Earth / Natural Earth
    • GLOBE / Global Land One-kilometer Base Elevation (GLOBE)
    • National Elevation Dataset (NED) / National Elevation Dataset (NED)
  • sources, vector-format geospatial data
    • OpenStreetMap / OpenStreetMap
    • TIGER / TIGER
    • Natural Earth / Natural Earth
    • GSHHS / Global, self-consistent, hierarchical, high-resolution shoreline database (GSHHS)
    • World Borders Dataset / World Borders Dataset
  • spatial datatypes / Spatially-enabled databases
  • spatial functions / Spatially-enabled databases
  • spatial indexes
    • about / Spatial indexes
    • R-Tree indexes / Spatial indexes
  • SpatiaLite
    • about / SpatiaLite
    • installing / Installing SpatiaLite
    • installing, on Mac OS X / Installing SpatiaLite
    • installing, on MS Windows / Installing SpatiaLite
    • installing, on Linux / Installing SpatiaLite
    • pysqlite, installing / Installing pysqlite
    • accessing, from Python / Accessing SpatiaLite from Python
    • documentation / Documentation
    • URL / Documentation
    • online documentation / Documentation
    • using / Using SpatiaLite
    • capabilities / SpatiaLite capabilities
  • SpatiaLite query optimizer
    • about / SpatiaLite
  • spatial joins / Spatially-enabled databases
  • spatially-enabled databases
    • about / Spatially-enabled databases
    • functioning / Spatially-enabled databases
  • spatial queries / Spatially-enabled databases
  • spatial query functions / Implementing the find feature view
  • spatial reference / Design, Task – save the country bounding boxes into a shapefile, Representing and storing geospatial data, Using the database to keep track of spatial references
  • Spatial Reference Identifier (SRID) / Using the database to keep track of spatial references
  • SQLite data source
    • about / SQLite
  • Styles, Mapnik
    • about / Design, Introducing Mapnik
  • ST_AsText() function / Using PostGIS
  • ST_CONTAINS() function / A hybrid approach
  • ST_DWITHIN() function / A hybrid approach
  • ST_GeomFromText() function / Using PostGIS
  • subselect query
    • about / PostGIS
    • using / PostGIS
  • Symbolizers, Mapnik
    • about / Design, Introducing Mapnik
    • PolygonSymbolizer / Introducing Mapnik
    • LineSymbolizer / Introducing Mapnik
    • TextSymbolizer / Introducing Mapnik
    • lines, drawing / Drawing lines
    • polygons, drawing / Drawing polygons
    • labels, drawing / Drawing labels
    • points, drawing / Drawing points
  • syndication system, Django application
    • about / The structure of a Django application

T

  • template, Django
    • about / Templates
  • terminology, TMS protocol
    • Tile Map Server / Implementing Tile Map Server
    • Tile Map Service / Implementing Tile Map Server
    • Tile Map / Implementing Tile Map Server
    • Tile Set / Implementing Tile Map Server
    • Tile / Implementing Tile Map Server
  • TextSymbolizer
    • about / Introducing Mapnik, TextSymbolizer
    • text, selecting for display / Specifying the text to be displayed
    • font, selecting / Selecting a suitable font
    • semi-transparent text, drawing / Drawing semi-transparent text
    • text placement, controlling / Controlling text placement
    • labels, repeating / Repeating labels
    • text overlap, controlling / Controlling text overlap
    • text, drawing on dark background / Drawing text on a dark background
    • position, adjusting of text / Adjusting the position of the text
    • labels, splitting across multiple lines / Splitting labels across multiple lines
    • character spacing, controlling / Controlling character and line spacing
    • line spacing, controlling / Controlling character and line spacing
    • capitalization, controlling / Controlling capitalization
    • advanced text placement and formatting / Advanced text placement and formatting
  • TIGER
    • about / TIGER
    • data format / Data format
    • data, obtaining / Obtaining and using TIGER data
    • data, using / Obtaining and using TIGER data
  • TIGER/Line format
    • about / GIS data formats
  • Tile
    • about / Implementing Tile Map Server
  • Tile Map
    • about / Implementing Tile Map Server
  • tileMap() function / Implementing Tile Map Server
    • about / Implementing Tile Map Server
  • Tile Map Server
    • completing / Completing the Tile Map Server
  • Tile Map Server (TMS) / Selecting a feature
  • Tile Map Service
    • about / Implementing Tile Map Server
  • tilePolys array / Calculating the tiled shorelines
  • tile rendering
    • about / Tile rendering
    • query parameters, parsing / Parsing the query parameters
    • map, setting up / Setting up the map
    • base layer, defining / Defining the base layer
    • feature layer, defining / Defining the feature layer
    • map tile, rendering / Rendering the map tile
  • Tile Set
    • about / Implementing Tile Map Server
  • TMS protocol
    • implementing / Implementing Tile Map Server
    • about / Implementing Tile Map Server
    • terminology / Implementing Tile Map Server
    • error handling / Implementing Tile Map Server
    • base map, setting up / Setting up the base map
    • tile, rendering / Tile rendering
    • map, displaying with OpenLayers / Using OpenLayers to display the map
  • traveling distance
    • about / Distance
  • triggers
    • about / SpatiaLite

U

  • units
    • about / Units
  • Universal Transverse Mercator (UTM) coordinate system
    • about / Coordinate systems
  • Universal Transverse Mercator (UTM) projection / Task – change projections to combine shapefiles using geographic and UTM coordinates
  • unprojected coordinates
    • about / Geospatial development
  • unprojected coordinate system
    • about / Coordinate systems
  • unwrap_geos_geometry() function / Saving the features into the shapefile
  • uploaded shapefile
    • extracting / Extracting the uploaded shapefile
  • URLConf
    • about / URL dispatching
  • URL dispatching, Django
    • about / URL dispatching
  • usability / Usability
  • US Census Bureau
    • URL / Working with GIS data manually
  • utils.calc_geometry_field() / Editing features
  • utils.get_map_form() / Editing features
  • utils.get_ogr_feature_attribute() function / Saving the attributes into the shapefile

V

  • vector-format geospatial data
    • about / Sources of geospatial data in vector format
    • sources / Sources of geospatial data in vector format
  • vector format data
    • about / GIS data formats
    • shapefile / GIS data formats
    • simple features / GIS data formats
    • TIGER/Line / GIS data formats
    • coverage / GIS data formats
  • view, Django
    • about / Views
  • Virtual Datasource (VRT) format
    • about / Ogr

W

  • WCS
    • about / Recent developments
  • WebGIS website
    • URL / Task – change projections to combine shapefiles using geographic and UTM coordinates
  • Well-known Binary (WKB) format / GIS data formats, Representing and storing geospatial data
  • Well-known Text (WKT) format / GIS data formats, Representing and storing geospatial data
  • WFS
    • about / Recent developments
  • WGS 84
    • about / Datums
  • WMS
    • about / Recent developments
  • World Borders Dataset
    • about / World Borders Dataset
    • data format / Data format
    • obtaining / Obtaining World Borders Dataset
    • downloading / Task – calculate the bounding box for each country in the world
    / World Borders Dataset, World Borders Dataset
  • World Data Bank II / Global, self-consistent, hierarchical, high-resolution shoreline database (GSHHS)
  • world reference system (WRS) / Obtaining Landsat imagery
  • World Vector Shoreline / Global, self-consistent, hierarchical, high-resolution shoreline database (GSHHS)

X

  • XCode
    • about / Availability
    • installing / Availability
lock icon The rest of the chapter is locked
arrow left Previous Section
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