OSRExportToWkt(hsrs, &rtn);
}
else {
- rterror("rt_util_gdal_convert_sr: Could not process the provided srs:%s", srs);
+ rterror("rt_util_gdal_convert_sr: Could not process the provided srs: %s", srs);
return NULL;
}
OSRDestroySpatialReference(hsrs);
if (rtn == NULL) {
- rterror("rt_util_gdal_convert_sr: Could not process the provided srs:%s", srs);
+ rterror("rt_util_gdal_convert_sr: Could not process the provided srs: %s", srs);
return NULL;
}
if (NULL != srs && strlen(srs)) {
src_sr = OSRNewSpatialReference(NULL);
if (OSRSetFromUserInput(src_sr, srs) != OGRERR_NONE) {
- rterror("rt_raster_gdal_rasterize: Unable to create OSR spatial reference");
+ rterror("rt_raster_gdal_rasterize: Unable to create OSR spatial reference using the provided srs: %s", srs);
if (noband) {
rtdealloc(_pixtype);