void GeoCoordinateTransformer::transformRecursive(ImplicitGeometry& obj, GeoTransform& transformation) { if (!obj.getSRSName().empty() && !transformation.hasSourceSRS(obj.getSRSName())) { GeoTransform childTransformation = transformation; childTransformation.setSourceSRS(obj.getSRSName()); transformRecursive_helper(obj, childTransformation); } else { transformRecursive_helper(obj, transformation); } }
void GeoCoordinateTransformer::transformRecursive(CityObject& obj, GeoTransform& transformation) { if (!obj.getEnvelope().srsName().empty() && !transformation.hasSourceSRS(obj.getEnvelope().srsName())) { GeoTransform childTransformation = transformation; childTransformation.setSourceSRS(obj.getEnvelope().srsName()); transformRecursive_helper(obj, childTransformation); } else { transformRecursive_helper(obj, transformation); } }