Previous commit only disabled _saving_ rasters with offline flag,
this one prevents actually loading the offline data.
You can still dump databases with offline raster specs.
git-svn-id: http://svn.osgeo.org/postgis/trunk@12455
b70326c6-7e19-0410-871a-
916f4a2858ee
return ES_ERROR;
}
+#ifdef POSTGIS_RASTER_DISABLE_OFFLINE
+ rterror("rt_raster_load_offline_data: "
+ "offline raster support disabled at compile-time");
+ return ES_ERROR;
+#endif
+
+
rt_util_gdal_register_all();
/*
hdsSrc = GDALOpenShared(band->data.offline.path, GA_ReadOnly);