Python Geospatial Development Essentials by Bahgat Karim

Python Geospatial Development Essentials by Bahgat Karim

Author:Bahgat, Karim
Language: eng
Format: epub, azw3
Publisher: Packt Publishing
Published: 2015-06-16T16:00:00+00:00


Individual layer renderings

The MapCanvas class described previously was responsible to define a common coordinate space and combining the images of its layers, but not for any actual drawing. We leave this task to the individual layer classes, one for vector and one for raster.

Vector layers

The rendering of vector data is fairly easy. All we have to do is create a VectorLayer instance around the VectorData class, and optionally decide some style aspects of its geometries using keyword arguments. During this style options stage, we allow all features being styled in the same way.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.