Python geospatial development essentials : utilize python with open source libraries to build a lightweight, portable, and customizable GIS desktop application
Publication details: Mumbai Packt Publishing Limited 2015Description: ix,170,iiipISBN:- 9781782175407
- 621.3678 BAH
Item type | Current library | Collection | Call number | Status | Date due | Barcode | Item holds | |
---|---|---|---|---|---|---|---|---|
Book | CEPT Library | Faculty of Technology | 621.3678 BAH | Available | 018816 |
CONTENTS
Preface v
1. Preparing to Build Your Own GIS Application 1
Why reinvent the wheel?
Setting up your computer
Installing third-party packages
Imagining the roadmap ahead
Summary
2. Accessing Geodata 9
The approach
Vector data
A data interface for vector data
The vector data structure
Computing bounding boxes
Spatial indexing
Loading vector files
Shapefile
GeoJSON
File format not supported
Saving vector data
Shapefile
GeoJSON
File format not supported
Raster data
A data interface for raster data
The raster data structure
Positioning the raster in coordinate space
Nodata masking
Loading raster data
GeoTIFF
File format not supported
Saving raster data
GeoTIFF
File format not supported
Summary
3. Designing the Visual Look of Our Application 43
Setting up the GUI package
Creating the toolkit building blocks
Themed styling
Basic buttons
Buttons with icons
Toolbars
The Ribbon tab system
The bottom status bar
The layers pane
The Map widget
Pop-up windows
Dispatching heavy tasks to thread workers
Using the toolkit to build the GUI
Testing our application
Summary
4. Rendering Our Geodata 75
Rendering
Installing PyAgg
A sequence of layers
The MapCanvas drawer
Individual layer renderings
Vector layers
Raster layers
Interactively rendering our maps
Linking the MapView to the renderer
Requesting to render a map
Resizing the map in proportion to window resizing
The LayersPane as a LayerGroup
Adding layers
Editing layers in the LayersPane widget
Click-and-drag to rearrange the layer sequence
Zooming the map image
Map panning and one-time rectangle zoom
A navigation toolbar
Putting it all together
Summary
5. Managing and Organizing Geographic Data 103
Creating the management module
Inspecting files
Organizing files
Vector data
Splitting
Merging
Geometry cleaning
Raster data
Mosaicking
Resampling
Weaving functionality into the user interface
Layer-specific right-click functions
Defining the tool options windows
Setting up the management tab
Defining the tool options windows
Summary
6. Analyzing Geographic Data 131
Creating the analysis module
Analyzing data
Vector data
Overlap summary
Buffer
Raster data
Zonal statistics
Weaving functionality into the user interface
Layer-specific right-click functions
Defining the tool options windows
Setting up the analysis tab
Defining the tool options window
Summary
7. Packaging and Distributing Your Application 147
Attaching an application logo
The icon image file
Assigning the icon
The application start up script
Packaging your application
Installing py2exe
Developing a packaging strategy
Creating the build script
Adding the visual C runtime DLL
Creating an installer
Installing Inno Setup
Setting up your application's installer
Summary
8. Looking Forward 159
Improvements to the user interface
Saving and loading user sessions
File drag and drop
GUI widgets
Other variations of the user interface
Adding more GIS functionality
Basic GIS selections
More advanced visualization
Online data services
Converting between raster and vector data
Projections
Geocoding
Going the GDAL/NumPy/SciPy route
Expanding to other platforms
Touch devices
Summary
Index 167
There are no comments on this title.