From e7bc79532fbc719f1f500654f6555a62f908e3f4 Mon Sep 17 00:00:00 2001 From: Otmane Lahlou <otmane.lahlou@c-s.fr> Date: Thu, 9 Dec 2010 19:05:49 +0100 Subject: [PATCH] ENH : accessor to set output SRID number --- Code/IO/otbMapFileProductWriter.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Code/IO/otbMapFileProductWriter.h b/Code/IO/otbMapFileProductWriter.h index 66ae6c2fa2..3dcb388320 100644 --- a/Code/IO/otbMapFileProductWriter.h +++ b/Code/IO/otbMapFileProductWriter.h @@ -51,8 +51,7 @@ namespace otb * for mapservers, a tile index and finally the tiles. * This class allow the user to specify the cgi-bin used (SetCGIPath) * and the directory where to store the index shapefile and the tiles - * (SetShapeIndexPath) - * + * via SetShapeIndexPath method * * \ingroup IO * @@ -144,6 +143,9 @@ public: this->Write(); } + /** Macro to set the SRID we want to project Data in*/ + itkSetMacro(SRID,int); + protected: MapFileProductWriter(); virtual ~MapFileProductWriter(); @@ -213,7 +215,7 @@ private: std::ofstream m_File; - int m_SRID; + int m_SRID; }; -- GitLab