Difference between revisions of "OSGeo Python Library"

From OSGeo
Jump to navigation Jump to search
Line 39: Line 39:
 
** [http://geodacenter.asu.edu/pysal PySpace]
 
** [http://geodacenter.asu.edu/pysal PySpace]
 
** [http://geodacenter.asu.edu/pyweights PyWeights]
 
** [http://geodacenter.asu.edu/pyweights PyWeights]
 +
* [http://softwarecarpentry.wordpress.com/2009/08/26/how-important-is-geospatial-data-to-you/ How Important is Geospatial Data to You?] -- Using geodata with Python may be included in future versions of the Software carpentry course
  
 
== Architecture ==
 
== Architecture ==

Revision as of 01:09, 1 September 2009

Motivation

Several OSGeo software projects support Python. However, a global abstraction layer is lacking which would help to do "OSGeo Python programming". We think of well documented bindings to the various software projects which are handled as plugins (or whatever appropriate).

Functionality

Shared functions may include

  • Import/Export of data
  • Linking to external data sources
  • Reprojection tools
  • GIS analysis
  • Plotting and printing

Programming Language

  • Python
  • SWIG
  • ...

Existing code to be recycled

Efforts outside the OSGEO world

Architecture

Draft concept:

 +----------------------------------------------------------------+
 |                                                                |
 |                      OSGeo Python Library                      |   User API
 |                                                                |
 +---------+------------+-------------+-----------+---------+-----+
 |         |            |             |           |         |     |
 | File IO | Streams IO | Projections | Analytics |  Print  | ... |   Abstraction Layer
 |         |            |             |           |         |     |
 +---------+------------+-------------+-----------+---------+-----+
 |                      |             |           |         |     |
 |        GDAL/xxx      |   PROJ4     |   GRASS   |  QGIS   | ... |   OSGeo and related projects
 |                      |             |           |Mapserver|     |   with Python bindings
 |                      |             |           |         |     |
 +----------------------+-------------+-----------+---------+-----+


License

It is proposed to license the OSGeo Python Library under ... TBD. Certainly OSI compliant.

Interested people