diff --git a/Code/Common/otbPersistentImageToOGRLayerFilter.txx b/Code/Common/otbPersistentImageToOGRLayerFilter.txx
index 38974c43f5c94470175b87223913359428900c31..234d78cb1cbb4bf3da76b8c57db1e8ce8f93db01 100644
--- a/Code/Common/otbPersistentImageToOGRLayerFilter.txx
+++ b/Code/Common/otbPersistentImageToOGRLayerFilter.txx
@@ -88,6 +88,9 @@ void
 PersistentImageToOGRLayerFilter<TImage>
 ::Initialize()
 {
+  // Make sure input projection ref is set
+  const_cast<InputImageType*>(this->GetInput())->UpdateOutputInformation();
+
   // Ensure that spatial reference of the output layer matches with
   // the spatial reference of the input image
   OGRSpatialReference oSRS(this->GetInput()->GetProjectionRef().c_str());