I cannot import gdal utilities anymore.
I was working on a project on an Arch Linux machine, using Django 1.5.1
and GDAL 1.9.2.
Today I have updated my distro and the DataSource failed its import:
from django.contrib.gis.gdal import DataSource
...
Exception Value: cannot import name DataSource
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
?
Maybe with a bunch of GDAL python functions already present in version
1.7.3, I can get the same result...
Any suggestions?
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
://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Alessandro Candini
MEEO S.r.l.
Via Saragat 9
I-44122 Ferrara, Italy
Tel: +39 0532 1861501
Fax: +39 0532 1861637
http://www.meeo.it
"ATTENZIONE:le informazioni contenute in questo messaggio so
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
Is it possible to get a SRID code from an ESRI shapefile?
For example, I've got the following:
~ $ ogrinfo -al LC_FIN_smooth.shp | head -n 30
INFO: Open of `LC_FIN_smooth.shp'
using driver `ESRI Shapefile' successful.
Layer name: LC_FIN_smooth
Geometry: Polygon
Feature Count: 33308
Extent: