Hello Even
Yes you are right, it works perfectly
Thanks a lot
Ludovic
Le 28/11/2010 17:23, Even Rouault a écrit :
Le lundi 22 novembre 2010 10:26:26, Ludovic Granjon a écrit :
Hi all
I try in a python script to delete a sqlite database that I use in an
OGR ExecuteSQL.
Let me give you
] On Behalf Of Frank Warmerdam
Sent: Monday, November 22, 2010 9:24 AM
To: Ludovic Granjon
Cc: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] Delete a sqlite database
Ludovic Granjon wrote:
Hi all
I try in a python script to delete a sqlite database that I use in an
OGR ExecuteSQL.
Let me give
Le 19/11/2010 07:22, Ari Jolma a écrit :
On 11/18/2010 03:52 PM, Ludovic Granjon wrote:
Hi all
I try to calculate the length of a linestring in python.
But is there a way in python with ogr to calculate this. I see
there's a GetLength() in the OGRLineString Class Reference
http
Hi all
I try in a python script to delete a sqlite database that I use in an
OGR ExecuteSQL.
Let me give you an example :
If I do :
from osgeo import *
import os
datasource = ogr.Open(decoupe.shp)
layer = datasource.GetLayer()
joinLayer=datasource.ExecuteSQL(SELECT decoupe.FID as
Le 22/11/2010 15:24, Frank Warmerdam a écrit :
Ludovic Granjon wrote:
Hi all
I try in a python script to delete a sqlite database that I use in an
OGR ExecuteSQL.
Let me give you an example :
If I do :
from osgeo import *
import os
datasource = ogr.Open(decoupe.shp)
layer
Hi all
I try to calculate the length of a linestring in python.
But is there a way in python with ogr to calculate this. I see there's a
GetLength() in the OGRLineString Class Reference
http://www.gdal.org/ogr/classOGRLineString.html#7b3dc3abefd16aea17ac9fcc0ccd0010
, but I don't see if
Hello
I'm trying to develop with ogr in python. I'm on ubuntu 10.4 and I use
gdal 1.7
When I try to get back a layer object from a function, I have the
following message when I do python monscript.py :
Erreur de segmentation
This is my code :
---
# import modules
from
('/data/axe.shp')
print couche.GetName()
On 5 August 2010 17:23, Ludovic Granjon
ludovic.gran...@u-bourgogne.fr
mailto:ludovic.gran...@u-bourgogne.fr wrote:
Hello
I'm trying to develop with ogr in python. I'm on ubuntu 10.4 and I
use gdal 1.7
When I try to get back a layer