Difference between revisions of "OSGeo Python Library"

From OSGeo
Jump to navigation Jump to search
 
(8 intermediate revisions by 5 users not shown)
Line 24: Line 24:
 
* [http://trac.osgeo.org/gdal/wiki/GdalOgrInPython GDAL/OGR Python bindings]
 
* [http://trac.osgeo.org/gdal/wiki/GdalOgrInPython GDAL/OGR Python bindings]
 
* [http://mapserver.gis.umn.edu/docs/howto/mapscript_python Mapserver Python bindings]
 
* [http://mapserver.gis.umn.edu/docs/howto/mapscript_python Mapserver Python bindings]
 +
* [http://grass.osgeo.org/wiki/GRASS_and_Python GRASS GIS Python bindings] and [http://grass.osgeo.org/programming6/pythonlib.html GRASS GIS Python library]
 
* [http://wiki.qgis.org/qgiswiki/PythonBindings QGIS Python bindings]
 
* [http://wiki.qgis.org/qgiswiki/PythonBindings QGIS Python bindings]
* [http://grass.gdf-hannover.de/wiki/GRASS_and_Python GRASS SWIG Python bindings]
 
 
* [http://gispython.org PCL and PrimaGIS]
 
* [http://gispython.org PCL and PrimaGIS]
 
* [http://pygps.org/ Python GIS] Working on a pile of GIS programs in Python. Mostly they make maps, but targetting a total replacement of GRASS, so calling it Python GIS.
 
* [http://pygps.org/ Python GIS] Working on a pile of GIS programs in Python. Mostly they make maps, but targetting a total replacement of GRASS, so calling it Python GIS.
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]
 +
* [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 ==
Line 57: Line 64:
  
 
It is proposed to license the OSGeo Python Library under ... TBD. Certainly OSI compliant.
 
It is proposed to license the OSGeo Python Library under ... TBD. Certainly OSI compliant.
 +
 +
== Communication ==
 +
 +
A new mailing list is created: [http://groups.google.com/group/python-gis-sig Unofficial Python GIS SIG]
  
 
== Interested people ==
 
== Interested people ==
  
 
* [[User:Neteler|Markus Neteler]] (proposer)
 
* [[User:Neteler|Markus Neteler]] (proposer)
 +
* [[User:Sholler|Sebastian Holler]]
 +
* [[User:kotzino|Dimitris Kotzinos]]
 +
* [[User:Landa|Martin Landa]]
 +
* [[User:HernanOlivera|Hernán Olivera]]
  
 
[[Category: Software Stack]]
 
[[Category: Software Stack]]

Latest revision as of 07:53, 2 February 2012

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.

Communication

A new mailing list is created: Unofficial Python GIS SIG

Interested people