Difference between revisions of "OSGeo Python Library"

From OSGeo
Jump to navigation Jump to search
(+http://download.osgeo.org/grass/grass6_progman/pythonlib.html)
Line 32: Line 32:
 
*** [http://pygps.org/#mapview mapview], a Python map viewer
 
*** [http://pygps.org/#mapview mapview], a Python map viewer
 
*** [http://pygps.org/#LatLongUTMconversion LatLongUTMconversion], a Python library to convert between Lat/Lon and UTM
 
*** [http://pygps.org/#LatLongUTMconversion LatLongUTMconversion], a Python library to convert between Lat/Lon and UTM
* ...
+
 
 +
=== Efforts outside the OSGEO world ===
 +
* [http://www.nabble.com/satellite-imagery-td24979491.html satellite imagery] -- Discussion on Scipy Mailing list
 +
* [http://geodacenter.asu.edu/pysal PySAL: Open Source Library for Spatial Analysis]
 +
** [http://regionalanalysislab.org/index.php/Main/STARS STARS]
 +
** [http://geodacenter.asu.edu/pysal PySpace]
 +
** [http://geodacenter.asu.edu/pyweights PyWeights]
  
 
== Architecture ==
 
== Architecture ==

Revision as of 02:00, 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