python bibliothek zum schreiben von shapes
Hallo Liste, gibt es eine lib für python 2.6, um shapes zu schreiben? Oder ist pyshapelib 0.3 [1] geeignet? Marco [1] http://ftp.intevation.de/users/bh/pyshapelib/
Hi Marco Am Sonntag 03 Mai 2009 20:40:16 schrieb Marco Lechner - FOSSGIS e.V.:
gibt es eine lib für python 2.6, um shapes zu schreiben? Oder ist pyshapelib 0.3 [1] geeignet?
Ich bin kein Pythonprogger, aber auf http://www.gdal.org/ogr/ steht:
In addition to the C++ API primarily addressed in the online documentation, there is also a slightly less complete C API implemented on top of the C++ API, and access available from Python. ... The Python API isn't really well documented at this time, but parallels the C/C++ APIs. The interface classes can be browsed in the pymod/ogr.py (simple features) and pymod/osr.py (coordinate systems) python modules. The pymod/samples/assemblepoly.py sample script is one demonstration of using the python API.
Da gibts wohl etwas für Python, und Shape schreiben sollte für OGR bestimmt kein Problem sein. Gruß Stefan -- wiki² - Softwareentwicklung Stefan Krüger Straßburger Weg 26 53113 Bonn email krueger@wikisquare.de mobile 0151 50543949 webpage wikisquare.de skype alfonx reclaim your net - http://tor.eff.org enforce privacy - http://www.pgpi.org pgp key id: 51B576FD - http://pgp.mit.edu Please note that according to the German law on data retention, information on every electronic information exchange with me is retained for a period of six months.
Danke Stefan, der Hinweis mit OGR kam ja von Markus auch so - ich denke in die Richtung werde ich mal ein wenig weitermachen. Marco Stefan Krüger schrieb:
Hi Marco
Am Sonntag 03 Mai 2009 20:40:16 schrieb Marco Lechner - FOSSGIS e.V.:
gibt es eine lib für python 2.6, um shapes zu schreiben? Oder ist pyshapelib 0.3 [1] geeignet?
Ich bin kein Pythonprogger, aber auf http://www.gdal.org/ogr/ steht:
In addition to the C++ API primarily addressed in the online documentation, there is also a slightly less complete C API implemented on top of the C++ API, and access available from Python. ... The Python API isn't really well documented at this time, but parallels the C/C++ APIs. The interface classes can be browsed in the pymod/ogr.py (simple features) and pymod/osr.py (coordinate systems) python modules. The pymod/samples/assemblepoly.py sample script is one demonstration of using the python API.
Da gibts wohl etwas für Python, und Shape schreiben sollte für OGR bestimmt kein Problem sein.
Gruß Stefan
guck mal an gispython.org j On Mon, May 04, 2009 at 08:21:34AM +0200, Marco Lechner - FOSSGIS e.V. wrote:
Danke Stefan,
der Hinweis mit OGR kam ja von Markus auch so - ich denke in die Richtung werde ich mal ein wenig weitermachen.
Marco
Stefan Krüger schrieb:
Hi Marco
Am Sonntag 03 Mai 2009 20:40:16 schrieb Marco Lechner - FOSSGIS e.V.:
gibt es eine lib für python 2.6, um shapes zu schreiben? Oder ist pyshapelib 0.3 [1] geeignet?
Ich bin kein Pythonprogger, aber auf http://www.gdal.org/ogr/ steht:
In addition to the C++ API primarily addressed in the online documentation, there is also a slightly less complete C API implemented on top of the C++ API, and access available from Python. ... The Python API isn't really well documented at this time, but parallels the C/C++ APIs. The interface classes can be browsed in the pymod/ogr.py (simple features) and pymod/osr.py (coordinate systems) python modules. The pymod/samples/assemblepoly.py sample script is one demonstration of using the python API.
Da gibts wohl etwas für Python, und Shape schreiben sollte für OGR bestimmt kein Problem sein.
Gruß Stefan
_______________________________________________ Fossgis-talk-liste mailing list Fossgis-talk-liste@fossgis.de https://lists.fossgis.de/mailman/listinfo/fossgis-talk-liste
-- Jachym Cepicky e-mail: jachym.cepicky gmail com URL: http://les-ejk.cz GPG: http://www.les-ejk.cz/pgp/JachymCepicky.pgp Key fingerprint: 0C6D 0EAE 76BD 506C F299 ED8A C8AB 74B8 08D4 E08F
Hallo Marco, 2009/5/3 Marco Lechner - FOSSGIS e.V. <marco.lechner@fossgis.de>:
Hallo Liste,
gibt es eine lib für python 2.6, um shapes zu schreiben? Oder ist pyshapelib 0.3 [1] geeignet?
Ich wuerde GDAL/OGR nehmen. Beispiel: http://www.perrygeo.net/wordpress/?p=4 Ich kann Dir offlist ein Python Script schicken, was einen geocodierten Kreis als SHAPE file erzeugt. Gruesse Markus
Moin, 2009/5/3 Markus Neteler <neteler@osgeo.org>:
2009/5/3 Marco Lechner - FOSSGIS e.V. <marco.lechner@fossgis.de>:
Hallo Liste,
gibt es eine lib für python 2.6, um shapes zu schreiben? Oder ist pyshapelib 0.3 [1] geeignet?
Ich wuerde GDAL/OGR nehmen. Beispiel: http://www.perrygeo.net/wordpress/?p=4
Ich kann Dir offlist ein Python Script schicken, was einen geocodierten Kreis als SHAPE file erzeugt.
Da es Interesse gibt und es so klein ist, als Attachment anbei... Gruesse Markus
participants (4)
-
Jachym Cepicky -
Marco Lechner - FOSSGIS e.V. -
Markus Neteler -
Stefan Krüger