PostGIS
3.0.6dev-r@@SVN_REVISION@@
◆
rt_util_gdal_supported_sr()
int rt_util_gdal_supported_sr
(
const char *
srs
)
Definition at line
245
of file
rt_util.c
.
245
{
246
OGRSpatialReferenceH hsrs;
247
OGRErr rtn = OGRERR_NONE;
248
249
assert(srs != NULL);
250
251
hsrs = OSRNewSpatialReference(NULL);
252
rtn = OSRSetFromUserInput(hsrs, srs);
253
OSRDestroySpatialReference(hsrs);
254
255
if
(rtn == OGRERR_NONE)
256
return
1;
257
else
258
return
0;
259
}
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