MI - Fimex
LatitudeLongitudeProjection.h
Go to the documentation of this file.
1 /*
2  * Fimex, LatitudeLongitudeProjection.h
3  *
4  * (C) Copyright 2010, met.no
5  *
6  * Project Info: https://wiki.met.no/fimex/start
7  *
8  * This library is free software; you can redistribute it and/or modify it
9  * under the terms of the GNU Lesser General Public License as published by
10  * the Free Software Foundation; either version 2.1 of the License, or
11  * (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16  * License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
21  * USA.
22  *
23  * Created on: Apr 28, 2010
24  * Author: Heiko Klein
25  */
26 
27 #ifndef LATITUDELONGITUDEPROJECTION_H_
28 #define LATITUDELONGITUDEPROJECTION_H_
29 
31 
32 namespace MetNoFimex
33 {
34 
39 {
40 
41 public:
44  static bool acceptsProj4(const std::string& proj4Str);
46  static std::string NAME();
47 protected:
49  return oproj << "+proj=latlong";
50  }
51 
52 
53 };
54 
55 }
56 
57 
58 #endif /* LATITUDELONGITUDEPROJECTION_H_ */
basic_string< char > string
virtual std::ostream & getProj4ProjectionPart(std::ostream &oproj) const
Definition: LatitudeLongitudeProjection.h:48
static std::vector< CDMAttribute > parametersFromProj4(const std::string &proj4)
basic_ostream< char > ostream
STL class.
static bool acceptsProj4(const std::string &proj4Str)
Definition: C_CDMReader.h:35
virtual ~LatitudeLongitudeProjection()
Definition: LatitudeLongitudeProjection.h:43
Definition: LatitudeLongitudeProjection.h:38
Definition: ProjectionImpl.h:47