PostGIS
3.4.0dev-r@@SVN_REVISION@@
◆
rt_util_gdal_supported_sr()
int rt_util_gdal_supported_sr
(
const char *
srs
)
Definition at line
249
of file
rt_util.c
.
249
{
250
OGRSpatialReferenceH hsrs;
251
OGRErr rtn = OGRERR_NONE;
252
253
assert(srs != NULL);
254
255
hsrs = OSRNewSpatialReference(NULL);
256
rtn = OSRSetFromUserInput(hsrs, srs);
257
OSRDestroySpatialReference(hsrs);
258
259
if
(rtn == OGRERR_NONE)
260
return
1;
261
else
262
return
0;
263
}
Referenced by
rt_util_gdal_configured()
, and
rtpg_getSR()
.
Here is the caller graph for this function:
raster
rt_core
librtcore.h
Generated by
1.9.1