Re: [gdal-dev] Need suggestion on clipping vectors in batch

2016-10-06 Thread Even Rouault
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 =

Re: [gdal-dev] Need suggestion on clipping vectors in batch

2016-10-06 Thread Margherita Di Leo
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

Re: [gdal-dev] Gdal_grid with a mask layer?

2016-10-06 Thread Joaquim Luis
Jukka, if no gdal solution comes out, consider this http://gmt.soest.hawaii.edu/doc/latest/grdmask.html Joaquim Hi, I have depth data from a lake as scattered points and I would like to convert them into raster DEM. Unfortunately this lake is not a >rectangular, north oriented one but

[gdal-dev] Gdal_grid with a mask layer?

2016-10-06 Thread Rahkonen Jukka (MML)
Hi, I have depth data from a lake as scattered points and I would like to convert them into raster DEM. Unfortunately this lake is not a rectangular, north oriented one but it has a curvy shoreline and lots of islands. In my first trials the resulting DEM leaks away from the water to the dry