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
Página 5
... file path. Since some of our dependencies have multiple purposes and are not unique to just one chapter, we will install these ones now. One of them is the Python Imaging Library (PIL), which we will use for the raster data model and ...
... file path. Since some of our dependencies have multiple purposes and are not unique to just one chapter, we will install these ones now. One of them is the Python Imaging Library (PIL), which we will use for the raster data model and ...
Página 11
... filepath argument that it loads via the loader module that we create later. We also allow for optional keyword arguments to pass to the loader, which as we shall see includes the ability to specify text encoding. Alternatively, an empty ...
... filepath argument that it loads via the loader module that we create later. We also allow for optional keyword arguments to pass to the loader, which as we shall see includes the ability to specify text encoding. Alternatively, an empty ...
Página 12
... filepath origin of the loaded data if applicable, and the Coordinate Reference System (CRS) which defaults to ... filepath=None, type=None, **kwargs): self.filepath = filepath # type is optional and will make the features ensure that all ...
... filepath origin of the loaded data if applicable, and the Coordinate Reference System (CRS) which defaults to ... filepath=None, type=None, **kwargs): self.filepath = filepath # type is optional and will make the features ensure that all ...
Página 19
... filepath and automatically detects which file type it is. It then loads it with the appropriate routine. Once loaded, it returns the information that our VectorData class expects: fieldnames, a list of row lists, a list of GeoJSON ...
... filepath and automatically detects which file type it is. It then loads it with the appropriate routine. Once loaded, it returns the information that our VectorData class expects: fieldnames, a list of row lists, a list of GeoJSON ...
Página 20
... (filepath[:-4] + ".prj"): crs = open(filepath[:-4] + ".prj", "r").read() else: crs = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" return fields, rows, geometries, crs GeoJSON GeoJSON is a more recent file format than the shapefile ...
... (filepath[:-4] + ".prj"): crs = open(filepath[:-4] + ".prj", "r").read() else: crs = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" return fields, rows, geometries, crs GeoJSON GeoJSON is a more recent file format than the shapefile ...
Í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