Re: [gdal-dev] report proj4 version to which gdal is linked?

2017-11-24 Thread Even Rouault
On vendredi 24 novembre 2017 22:19:08 CET Roger Bivand wrote: > On Fri, 24 Nov 2017, Even Rouault wrote: > >> I would have (perhaps) hoped that > >> pj_release.c is the runtime version, but mileage may > > > > vary ... > > > > It is. I just missed pj_get_release() > > Thanks, I guess you can see

Re: [gdal-dev] report proj4 version to which gdal is linked?

2017-11-24 Thread Roger Bivand
On Fri, 24 Nov 2017, Even Rouault wrote: I would have (perhaps) hoped that pj_release.c is the runtime version, but mileage may vary ... It is. I just missed pj_get_release() Thanks, I guess you can see a resoluion. Which gdal header is the most logical to expose this in? It's a bit frag

Re: [gdal-dev] report proj4 version to which gdal is linked?

2017-11-24 Thread Even Rouault
> I would have (perhaps) hoped that > pj_release.c is the runtime version, but mileage may vary ... It is. I just missed pj_get_release() -- Spatialys - Geospatial professional services http://www.spatialys.com ___ gdal-dev mailing list gdal-dev@lists

Re: [gdal-dev] report proj4 version to which gdal is linked?

2017-11-24 Thread Roger Bivand
On Fri, 24 Nov 2017, Even Rouault wrote: On vendredi 24 novembre 2017 02:37:11 CET Roger Bivand wrote: I've looked in ogr/ogrct.cpp, but cannot see that the proj4 version that is detected internally is exposed for reporting through a function in the API. It would be convenient if GDAL could rep

[gdal-dev] gdalwarp putting in incorrect values for -dstnodata

2017-11-24 Thread sunil.chaudhary
Hello I'm hoping someone can help me out here. I'm using gdal version 2.1.1. What I am trying to do is use gdalwarp to clip a raster to a shape file and then set the no data value to black or 0. the command I am using to do this is: gdalwarp -cutline HxIP_HVA_GP_z11_30cm_2014.shp -dstnodata 0 GB_

Re: [gdal-dev] report proj4 version to which gdal is linked?

2017-11-24 Thread Even Rouault
On vendredi 24 novembre 2017 02:37:11 CET Roger Bivand wrote: > I've looked in ogr/ogrct.cpp, but cannot see that the proj4 version that is > detected internally is exposed for reporting through a function in the API. > It would be convenient if GDAL could report versions of some of its > dependenc

[gdal-dev] report proj4 version to which gdal is linked?

2017-11-24 Thread Roger Bivand
I've looked in ogr/ogrct.cpp, but cannot see that the proj4 version that is detected internally is exposed for reporting through a function in the API. It would be convenient if GDAL could report versions of some of its dependencies. Checks for GDAL built with or without GEOS are now in R sf and rg

Re: [gdal-dev] Standardization of Bounding Box structure

2017-11-24 Thread Ari Jolma
Roberto Ribeiro kirjoitti 23.11.2017 klo 20:43: In OGR, the GetGeometry() method from the Geometry class returns a bounding box in the (xmin, xmax, ymin, ymax) structure. However, the SetSpatialFilterRect() method from the Layer class expects a bounding box in the (xmin, ymin, xmax, ymax) struc