[Fossgis-talk] python bibliothek zum schreiben von shapes

Marco Lechner - FOSSGIS e.V. marco.lechner at fossgis.de
Mo Mai 4 08:21:34 CEST 2009


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
>
>
>
>