万本电子书0元读

万本电子书0元读

顶部广告

Mastering PostGIS电子书

售       价:¥

3人正在读 | 0人评论 9.8

作       者:Dominik Mikiewicz,Michal Mackiewicz,Tomasz Nycz

出  版  社:Packt Publishing

出版时间:2017-05-31

字       数:32.9万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Write efficient GIS applications using PostGIS - from data creation to data consumption About This Book ? Learn how you can use PostGIS for spatial data analysis and manipulation ? Optimize your queries and build custom functionalities for your GIS application ? A comprehensive guide with hands-on examples to help you master PostGIS with ease Who This Book Is For If you are a GIS developer or analyst who wants to master PostGIS to build efficient, scalable GIS applications, this book is for you. If you want to conduct advanced analysis of spatial data, this book will also help you. The book assumes that you have a working installation of PostGIS in place, and have working experience with PostgreSQL. What You Will Learn ? Refresh your knowledge of the PostGIS concepts and spatial databases ? Solve spatial problems with the use of SQL in real-world scenarios ? Practical walkthroughs of application development examples using Postgis, GeoServer and OpenLayers. ? Extract, transform and load your spatial data ? Expose data directly or through web services. ? Consume your data in both desktop and web clients In Detail PostGIS is open source extension onf PostgreSQL object-relational database system that allows GIS objects to be stored and allows querying for information and location services. The aim of this book is to help you master the functionalities offered by PostGIS- from data creation, analysis and output, to ETL and live edits. The book begins with an overview of the key concepts related to spatial database systems and how it applies to Spatial RMDS. You will learn to load different formats into your Postgres instance, investigate the spatial nature of your raster data, and finally export it using built-in functionalities or 3th party tools for backup or representational purposes. Through the course of this book, you will be presented with many examples on how to interact with the database using JavaScript and Node.js. Sample web-based applications interacting with backend PostGIS will also be presented throughout the book, so you can get comfortable with the modern ways of consuming and modifying your spatial data. Style and approach This book is a comprehensive guide covering all the concepts you need to master PostGIS. Packed with hands-on examples, tips and tricks, even the most advanced concepts are explained in a very easy-to-follow manner. Every chapter in the book does not only focus on how each task is performed, but also why.
目录展开

Title Page

Copyright

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Customer Feedback

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

Importing Spatial Data

Obtaining test data

Setting up the database

Importing flat data

Importing data using psql

Importing data interactively

Importing data non-interactively

Importing data using pgAdmin

Extracting spatial information from flat data

Importing shape files using shp2pgsql

shp2pgsql in cmd

The shp2pgsql GUI version

Importing vector data using ogr2ogr

Importing GML

Importing MIF and TAB

Importing KML

ogr2ogr GUI (Windows only)

Importing data using GIS clients

Exporting a shapefile to PostGIS using QGIS and SPIT

Exporting shapefile to PostGIS using QGIS and DbManager

Exporting spatial data to PostGIS from Manifold GIS

Importing OpenStreetMap data

Connecting to external data sources with foreign data wrappers

Connecting to SQL Server Spatial

Connecting to WFS service

Loading rasters using raster2pgsql

Importing a single raster

Importing multiple rasters

Importing data with pgrestore

Summary

Spatial Data Analysis

Composing and decomposing geometries

Creating points

Extracting coordinates from points

Composing and decomposing Multi-geometries

Multi-geometry decomposition

Composing and decomposing LineStrings

LineString composition

LineString decomposition

Composing and decomposing polygons

Polygon composition

Polygon decomposition

Spatial measurement

General warning - mind the SRID!

Measuring distances between two geometries

Measuring the length, area, and perimeter of geometries

Line length

Polygon perimeter

Polygon area

Geometry bounding boxes

Accessing bounding boxes

Creating bounding boxes

Using bounding boxes in spatial queries

Geometry simplification

Geometry validation

Simplicity and validity

Testing for simplicity and validity

Checking for validity

Repairing geometry errors

Validity constraint

Intersecting geometries

Nearest feature queries

Summary

Data Processing - Vector Ops

Primer - obtaining and importing OpenStreetMap data

Merging geometries

Merging polygons

Merging MultiLineStrings

Slicing geometries

Splitting a polygon by LineString

Splitting a LineString with another LineString

Extracting a section of LineString

Buffering and offsetting geometries

Offsetting features

Creating convex and concave hulls

Computing centroids, points-on-surface, and points-on-line

Reprojecting geometries

Spatial relationships

Touching

Crossing

Overlapping

Containing

Radius queries

Summary

Data Processing - Raster Ops

Preparing data

Processing and analysis

Analytic and statistical functions

Vector to raster conversion

Raster to vector conversion

Spatial relationship

Metadata

Summary

Exporting Spatial Data

Exporting data using \COPY in psql

Exporting data in psql interactively

Exporting data in psql non-interactively

Exporting data in PgAdmin

Exporting vector data using pgsql2shp

pgsql2sph command line

pgsql2shp gui

Exporting vector data using ogr2ogr

Exporting KML revisited

Exporting SHP

Exporting MapInfo TAB and MIF

Exporting to SQL Server

ogr2ogr GUI

Exporting data using GIS clients

Exporting data using QGIS

Exporting data using Manifold.

Outputting rasters using GDAL

Outputting raster using psql

Exporting data using the PostgreSQL backup functionality

Summary

ETL Using Node.js

Setting up Node.js

Making a simple Node.js hello world in the command line

Making a simple HTTP server

Handshaking with a database using Node.js PgSQL client

Retrieving and processing JSON data

Importing shapefiles revisited

Consuming JSON data

Geocoding address data

Consuming WFS data

Summary

PostGIS – Creating Simple WebGIS Applications

ExtJS says Hello World

Configuring GeoServer web services

Importing test data

Outputting vector data as WMS services in GeoServer

Outputting raster data as WMS services in GeoServer

Outputting vector data as WFS services

Making use of PgRaster in a simple WMS GetMap handler

Consuming WMS

Consuming WMS in ol3

Consuming WMS in Leaflet

Enabling CORS in Jetty

Consuming WFS in ol3

Outputting and consuming GeoJSON

Consuming GeoJSON in ol3

Consuming GeoJSON in Leaflet

Outputting and consuming TopoJSON

Consuming TopoJSON in ol3

Consuming TopoJSON in Leaflet

Implementing a simple CRUD application that demonstrates vector editing via web interfaces

WebGIS CRUD server in Node.js

WebGIS CRUD client

Layer manager

Drawing tools

Analysis tools - buffering

Summary

PostGIS Topology

The conceptual model

The data

Installation

Creating an empty topology

Importing Simple Feature data into topology

Checking the validity of input geometries

Creating a TopoGeometry column and a topology layer

Populating a TopoGeometry column from an existing geometry

Inspecting and validating a topology

Topology validation

Accessing the topology data

Querying topological elements by a point

Locating nodes

Locating edges

Locating faces

Topology editing

Adding new elements

Creating TopoGeometries

Splitting and merging features

Splitting features

Merging features

Updating edge geometry

Topology-aware simplification

Importing sample data

Topology output

GML output

TopoJSON output

Summary

pgRouting

Installing the pgRouting extension

Importing routing data

Importing shapefiles

Importing OSM data using osm2pgrouting

pgRouting algorithms

All pairs shortest path

Shortest path

Shortest path Dijkstra

A-Star (A*)

K-Dijkstra

K-Shortest path

Turn restrictions shortest path (TRSP)

Driving distance

Traveling sales person

Handling one-way edges

Consuming pgRouting functionality in a web app

Summary

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部