Python Geospatial Development EssentialsPackt Publishing Ltd, 17/06/2015 - 192 páginas This book provides you with the resources to successfully develop your own GIS application in Python. The book begins by walking you through the loading and saving of data structures before you start to build the look and feel of your application and create its interactive map window. You'll then move on to managing, editing, and analyzing spatial data from within the application and finish with instructions for packaging the application for distribution. By the end of the book, you should be able to use your GIS application as a template for further development, with the potential to expand and customize it to suit your needs. |
No interior do livro
Resultados 1-5 de 8
Página i
... Shapefile 19 GeoJSON 20 File format not supported 21 Saving vector data 21 Shapefile 22 GeoJSON 25 File format not supported 26 Raster data 26 A data interface for raster data 26 The raster data structure 27 Positioning the raster in ...
... Shapefile 19 GeoJSON 20 File format not supported 21 Saving vector data 21 Shapefile 22 GeoJSON 25 File format not supported 26 Raster data 26 A data interface for raster data 26 The raster data structure 27 Positioning the raster in ...
Página 18
... shapefile as pyshp import pygeoj # import builtins import itertools # import fileformats import shapefile [18] Accessing Geodata Loading vector files.
... shapefile as pyshp import pygeoj # import builtins import itertools # import fileformats import shapefile [18] Accessing Geodata Loading vector files.
Página 19
... Shapefile. To deal with the shapefile format, an old but very commonly used vector file format, we use the popular and lightweight PyShp library. To install it in the command line just type C:/Python27/Scripts/pip install pyshp. Inside ...
... Shapefile. To deal with the shapefile format, an old but very commonly used vector file format, we use the popular and lightweight PyShp library. To install it in the command line just type C:/Python27/Scripts/pip install pyshp. Inside ...
Página 20
... shapefile if filepath.endswith(".shp"): shapereader = pyshp.Reader(filepath) # load fields, rows, and geometries fields = [decode(fieldinfo[0]) for fieldinfo in shapereader.fields[1:]] rows = [ [decode(value) for value in record] for ...
... shapefile if filepath.endswith(".shp"): shapereader = pyshp.Reader(filepath) # load fields, rows, and geometries fields = [decode(fieldinfo[0]) for fieldinfo in shapereader.fields[1:]] rows = [ [decode(value) for value in record] for ...
Página 21
... shapefile as pyshp import pygeoj # shapefile if filepath.endswith(".shp"): into nr shapewriter = pyshp.Writer() # [21] Chapter 2 File format not supported Saving vector data.
... shapefile as pyshp import pygeoj # shapefile if filepath.endswith(".shp"): into nr shapewriter = pyshp.Writer() # [21] Chapter 2 File format not supported Saving vector data.
Índice
1 | |
9 | |
Designing the Visual Look
of Our Application | 43 |
Rendering Our Geodata | 75 |
Managing and Organizing Geographic Data | 103 |
Analyzing Geographic Data | 131 |
Packaging and Distributing Your Application | 147 |
Looking Forward | 159 |
Index | 167 |
Outras edições - Ver tudo
Palavras e frases frequentes
affine transform anchor="ne bands basic bbox bounding box button cells chapter class a subclass coordinate coords create def __init__(self default define dist folder EXE file expand=True file format filepath following code following screenshot functionality GDAL geographic data geoj GeoJSON geometries geospatial geospatial metadata GeoTIFF GIS application icon implement Inno Setup input inputwidget install interactive kwargs layer LayerGroup layeritem layeritem in layerspane layerspane libraries MapCanvas class Matplotlib menu method module mouse nodata NumPy open source options window Packt pixel polygon popup_message(self py2exe PyAgg pyshp Python Python Package pythongis raster data raw tags rendering resampling resize runtoolframe script selector self.add_info(general self.layerspane self.statusbar shapefile spatial index specified startx starty statusbar style_options_labels Tkinter tool toolbar toolkit tuple user interface vector and raster vector data visual width xscale zonal statistics zoom