On Fri, Oct 7, 2016 at 12:00 PM, Margherita Di Leo
wrote:
> Dear Even, all,
>
> On Thu, Oct 6, 2016 at 3:25 PM, Even Rouault
> wrote:
>
>> Le jeudi 06 octobre 2016 14:47:05, Margherita Di Leo a écrit :
>> > Dear Even,
>> >
>> >
>>
>> Try:
>>
>> export PYTHONPATH=$GDAL_INSTALL_DIR/lib/python2.7/s
Dear Even, all,
On Thu, Oct 6, 2016 at 3:25 PM, Even Rouault
wrote:
> Le jeudi 06 octobre 2016 14:47:05, Margherita Di Leo a écrit :
> > Dear Even,
> >
> >
>
> Try:
>
> export PYTHONPATH=$GDAL_INSTALL_DIR/lib/python2.7/site-packages
>
> ( adapt the path to the python version you use)
>
It didn'
Le jeudi 06 octobre 2016 14:47:05, Margherita Di Leo a écrit :
> Dear Even,
>
> On Wed, Oct 5, 2016 at 8:53 PM, Even Rouault
>
> wrote:
> > Tiny Python script with GDAL 2.1 :
> >
> > from osgeo import gdal
> > src_ds = gdal.OpenEx('your.shp')
> > lyr = src_ds.GetLayer(0)
> > minx, maxx, miny, m
Dear Even,
On Wed, Oct 5, 2016 at 8:53 PM, Even Rouault
wrote:
>
>
> Tiny Python script with GDAL 2.1 :
>
> from osgeo import gdal
> src_ds = gdal.OpenEx('your.shp')
> lyr = src_ds.GetLayer(0)
> minx, maxx, miny, maxy = lyr.GetExtent()
> # Note the different order of bounds between previous and
Le mercredi 05 octobre 2016 11:29:43, Margherita Di Leo a écrit :
> Hi,
>
> I need a suggestion on the use of ogr2ogr for clipping vector files
> (points) in batch. For all them I need to reduce the spatial extent of a
> certain quantity DX, DY, so it would be
>
> ymax = ymax_current - DY
> ymin
On 10/05/2016 02:29 AM, Margherita Di
Leo wrote:
Hi,
I need a suggestion on the use of ogr2ogr for clipping
vector files (points) in batch. For all them I need to reduce
the spatial extent of a certain quantity DX, DY, s
Il 05/10/2016 11:29, Margherita Di Leo ha scritto:
Hi,
I need a suggestion on the use of ogr2ogr for clipping vector files
(points) in batch. For all them I need to reduce the spatial extent of a
certain quantity DX, DY, so it would be
ymax = ymax_current - DY
ymin = ymin_current + DY
xmax = xm
Hi,
I need a suggestion on the use of ogr2ogr for clipping vector files
(points) in batch. For all them I need to reduce the spatial extent of a
certain quantity DX, DY, so it would be
ymax = ymax_current - DY
ymin = ymin_current + DY
xmax = xmax_current - DX
xmin = xmin_current + DX
I could cal