Python Geospatial Development Essentials
Packt 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.
Resultados 1-5 de 5
... is same geometry type as parent geotype = self.geometry["type"] if self._data.
type: if "Point" in geotype and self._data.type == "Point": pass elif "LineString" in
geotype and self._data.type == "LineString": pass bbox = geometry.get("bbox")
_cached_bbox: geoj["bbox"] = self._cached_bbox return Feature(self._data, self.
row, geoj) Computing bounding boxes Although we now have the basic structure
of vector data, we want some additional convenience methods. For vector data ...
_cached_bbox: geotype = self.geometry["type"] coords = self.geometry["
coordinates"] if geotype == "Point": x,y = coords bbox = [x,y,x,y] elif geotype in ("
MultiPoint","LineString"): xs, ys = itertools.izip(*coords) bbox = [min(xs),min(ys),
via the Quickly get features whose bbox overlap the specified bbox spatial index.
""" if not hasattr(self, "spindex"): raise Exception("You need to create the spatial
index before you can use this method") def # ensure min,min,max,max pattern xs
Atingiu o limite de visualização deste livro.