Yeah Paolo, your solution is probably the easiest way to reach my goal,
I did't thought at it...
Thanks!
On Wed, Feb 8, 2012 at 11:38 AM, Alessandro Candini wrote:
You are right: I have put ogr2ogr.py file inside /usr/bin and...
user@office ~ $ ogr2ogr.py
ERROR: Python bindings of GDAL 1.8.
On Wed, Feb 8, 2012 at 11:38 AM, Alessandro Candini wrote:
> You are right: I have put ogr2ogr.py file inside /usr/bin and...
>
> user@office ~ $ ogr2ogr.py
> ERROR: Python bindings of GDAL 1.8.0 or later required
>
> The problem is that I cannot update my GDAL version at the moment, it will
> mes
You are right: I have put ogr2ogr.py file inside /usr/bin and...
user@office ~ $ ogr2ogr.py
ERROR: Python bindings of GDAL 1.8.0 or later required
The problem is that I cannot update my GDAL version at the moment, it
will mess up all my dependencies and so on...
Is there an alternative?
Mayb
Selon Alessandro Candini :
> Thanks.
>
> But is it already included in GDAL distribution?
>
> I have version 1.7.2 on my system and I did not found this file in the
> whole system...
It is relatively new (perhaps 1.8. don't remember). And anyways it is in the
sample category that is generally not
Thanks.
But is it already included in GDAL distribution?
I have version 1.7.2 on my system and I did not found this file in the
whole system...
Maybe I can include that file into my python shared lib direcory such as
/usr/share/pyshared/
Does it exist an analogue tool in python?
Yes, see
> Does it exist an analogue tool in python?
Yes, see http://svn.osgeo.org/gdal/trunk/gdal/swig/python/samples/ogr2ogr.py
> Or should I open the file and launch several manipulation functions in
> order to achieve the same result?
>
> Thanks in advance.
> _
Hi list.
I have to perform the following command:
ogr2ogr -t_srs EPSG:900913 output.shp input.shp
but inside a python script.
So I have included the OGR library with
import ogr
but I do not know what are the commands in python that substitute the
ogr2ogr tool.
Does it exist an analogue t