Re: [gdal-dev] Source pixels used when warping using cubic resampling

2019-11-15 Thread Gregory, Matthew
Hi Even, Even Rouault wrote: > > Hi all, > > > > I am warping and upsampling an image from 4km to 30m using cubic resampling. > > I've been warping different sized windows from the source image like this: > > > > [snip] > > maybe try to add > > -et 0 > > and/or > > -wo XSCALE=133.333

Re: [gdal-dev] How to know which formats allow editing with ogrinfo?

2019-11-15 Thread Eli Adam
On Fri, Nov 15, 2019 at 9:55 AM Even Rouault wrote: > > > The old driver pages > > (https://web.archive.org/web/20190211030817/https://www.gdal.org/ogr_formats > > .html) were tables that very effectively conveyed the capabilities (or > > limitations) of the drivers and allowed for scanning for dr

Re: [gdal-dev] Extracting Subsampled Mask Band from VRT Returning 1st Band Rather Than Mask Band

2019-11-15 Thread Even Rouault
On mercredi 15 mai 2019 11:17:57 CET Patrick Young wrote: > Hi all, > > I'm experiencing some strange behavior when extracting a mask band using > gdal_translate from a VRT vs the source GTiff at a reduced resolution. I > have a 3 band, 8 bit JPEG compressed (YCbCR) RGB geotiff with an internal >

Re: [gdal-dev] Source pixels used when warping using cubic resampling

2019-11-15 Thread Even Rouault
On vendredi 25 octobre 2019 16:02:57 CET Gregory, Matthew wrote: > Hi all, > > I am warping and upsampling an image from 4km to 30m using cubic resampling. > I've been warping different sized windows from the source image like this: > > # Larger window > gdalwarp > -t_srs EPSG:5070 > -te -23

Re: [gdal-dev] How to know which formats allow editing with ogrinfo?

2019-11-15 Thread Rahkonen Jukka (MML)
Hi, Two most often needed items from the old format list for me as a community helper were "Creation" to answer "Why gdalwarp to format x fails" and "Compiled by default" to answer "Why everything with my GDAL to format x fails". The list was useful. -Jukka- -Alkuperäinen viesti- Läh

Re: [gdal-dev] Source pixels used when warping using cubic resampling

2019-11-15 Thread Gregory, Matthew
Hi again, My apologies for bumping this thread, but this issue is still impacting my workflow. I'd be happy to post rasters demonstrating this if it would be useful. thanks, matt --- Hi all, I am warping and upsampling an image from 4km to 30m using cubic resampling. I

Re: [gdal-dev] How to know which formats allow editing with ogrinfo?

2019-11-15 Thread Even Rouault
> Can this be partly inferred from driver pages with the presence (or > absence) of items? For instance, > https://gdal.org/drivers/vector/gml.html#driver-capabilities Not really. They are only high level capabilities. Vector editing capabilities are not reported in driver pages > The old drive

Re: [gdal-dev] Motion: adopt RFC 76 OGR Python drivers

2019-11-15 Thread Even Rouault
I declare the motion passed with the following votes from PSC members: +1 from EvenR, JukkaR, MateuzL, DanielM -0 from SeanG +0 from HowardB Even > Even, > > Great! > Of course my +1 > > MArco > > On 13-11-19 15:22, Even Rouault wrote: > > Hi, > > > > I've updated both the RFC text and candid

Re: [gdal-dev] How to know which formats allow editing with ogrinfo?

2019-11-15 Thread Eli Adam
On Fri, Nov 15, 2019 at 3:58 AM Even Rouault wrote: > > On vendredi 15 novembre 2019 08:52:48 CET Rahkonen Jukka (MML) wrote: > > Hi, > > > > Shapefile can be edited with ogrinfo > > ogrinfo -dialect SQLite -sql "update foo set bar='14'" foo.shp > > > > GML opens always as read-only with -sql opti

Re: [gdal-dev] extracting a raster data within a polygon?

2019-11-15 Thread Ahmet Temiz
Awesome, thanks! On Thu, Nov 14, 2019 at 9:39 AM Martin Chapman wrote: > Ahmet, > > > > You can use either the gdalwarp.exe or the underlying gdal warper C++ API > to create a new image using the polygon geometry as a cutline. See the > gdalwarp.exe or gdal warper C++ API documentation on how t

Re: [gdal-dev] How to know which formats allow editing with ogrinfo?

2019-11-15 Thread Even Rouault
On vendredi 15 novembre 2019 08:52:48 CET Rahkonen Jukka (MML) wrote: > Hi, > > Shapefile can be edited with ogrinfo > ogrinfo -dialect SQLite -sql "update foo set bar='14'" foo.shp > > GML opens always as read-only with -sql option > ogrinfo -sql "select * from foo" foo.gml > Had to open data so

[gdal-dev] How to know which formats allow editing with ogrinfo?

2019-11-15 Thread Rahkonen Jukka (MML)
Hi, Shapefile can be edited with ogrinfo ogrinfo -dialect SQLite -sql "update foo set bar='14'" foo.shp GML opens always as read-only with -sql option ogrinfo -sql "select * from foo" foo.gml Had to open data source read-only. INFO: Open of `foo.gml' using driver `GML' successful. How can

Re: [gdal-dev] ogr2ogr PDF

2019-11-15 Thread paul.malm
Stephen, thanks for responding! I've tried this: PEN(c:#FF00FF,w:3pt,p:"3pt 3pt") PEN(c:#FF00FF,w:3pt,p:3pt 3pt) PEN(p:"3pt 3pt",c:#FF00FF,w:3pt) PEN(p:3pt 3pt,c:#FF00FF,w:3pt) PEN(c:#FF00FF, p:"3pt 3pt",w:3pt) PEN(c:#FF00FF, p:3pt 3pt,w:3pt) But I'm getting the same solid line. Width and color