Re: [gdal-dev] gdal_contour -p options no attributes and interval < 1 strange results?

2019-04-29 Thread Richard Duivenvoorde
Thanks Even, All clear. For -p the -amin -amax options work \o/ (having the same precision issue with shapes though) Ticket created: https://github.com/OSGeo/gdal/issues/1487 Regards & Thanks, Richard Duivenvoorde On 29/04/2019 22.03, Even Rouault wrote: > Hi Richard, > >> >> If I use gdal_c

Re: [gdal-dev] gdal_contour -p options no attributes and interval < 1 strange results?

2019-04-29 Thread Even Rouault
Hi Richard, > > If I use gdal_contour (in QGIS/processing) to generate contours of a > rasterset you get a call like: > > gdal_contour -b 1 -a ELEV -i 0.0001 -f "ESRI Shapefile" /tmp/smoke.asc > /tmp/OUTPUT.shp > > The column ELEV will contain the contour 'height' > > But when using the -p opt

[gdal-dev] gdal_contour -p options no attributes and interval < 1 strange results?

2019-04-29 Thread Richard Duivenvoorde
Hi, If I use gdal_contour (in QGIS/processing) to generate contours of a rasterset you get a call like: gdal_contour -b 1 -a ELEV -i 0.0001 -f "ESRI Shapefile" /tmp/smoke.asc /tmp/OUTPUT.shp The column ELEV will contain the contour 'height' But when using the -p option (to create polygons inste

Re: [gdal-dev] relationship between gdalwarp and gdal_translate

2019-04-29 Thread Idan Miara
got it, thanks!!! On Mon, 29 Apr 2019 at 18:15, Even Rouault wrote: > On lundi 29 avril 2019 18:06:46 CEST Idan Miara wrote: > > Hi, > > > > I'm writing a wrapper and a QT5 frontend for gdalwarp/gdal_translate: > > https://github.com/talos-gis/gdalos > > > > I was wandering if gdalwarp can do an

Re: [gdal-dev] relationship between gdalwarp and gdal_translate

2019-04-29 Thread Even Rouault
On lundi 29 avril 2019 18:06:46 CEST Idan Miara wrote: > Hi, > > I'm writing a wrapper and a QT5 frontend for gdalwarp/gdal_translate: > https://github.com/talos-gis/gdalos > > I was wandering if gdalwarp can do anything that gdal_translate can do (and > much more), why is gdal_translate needed?

[gdal-dev] relationship between gdalwarp and gdal_translate

2019-04-29 Thread Idan Miara
Hi, I'm writing a wrapper and a QT5 frontend for gdalwarp/gdal_translate: https://github.com/talos-gis/gdalos I was wandering if gdalwarp can do anything that gdal_translate can do (and much more), why is gdal_translate needed? do they use the same backend for tasks that gdal_translate can do? K

Re: [gdal-dev] UK Ordnance Survey grid references

2019-04-29 Thread Paul Meems
Thanks Even for your quick response and your full example. You are right the coordinates are in EPSG:4326. I will use this example. Thanks, Paul Op za 27 apr. 2019 om 18:36 schreef Even Rouault : > > and drop the last 2 figures and round appropriately > > Hum, after reflexion, rounding is li