26 #ifndef RADOLAN_SHAPEFILE_CONVERTER_H 27 #define RADOLAN_SHAPEFILE_CONVERTER_H 29 #include <radolan/conversion_exeption.h> 30 #include <radolan/types.h> 58 bool geographic =
false,
74 bool geographic =
false,
89 std::vector<double> &px,
90 std::vector<double> &py,
91 bool geographic =
false);
104 const char *filename,
115 bool geographic =
false);
126 bool geographic =
false);
130 #endif // WITH_SHAPELIB static void printAsProj(RDScan *scan, bool geographic=false)
Prints the scan data in proj format to console.
Exception for conversion errors from RADOLAN into other formats.
Data type for reading and handling radolan products.
static void getBoundingBoxPolygon(RDScan *scan, std::vector< double > &px, std::vector< double > &py, bool geographic=false)
Obtains the bounding box of the radolan scan.
static void printBoundingBox(RDScan *scan, bool geographic=false)
Prints out the bounding box of the coordinate system to console TODO: this might be better off in uti...
static void convertToPoints(RDScan *scan, const char *filename, bool geographic=false, bool withValues=true)
Writes out a shapefile with the individual radar pixels as points.
This class contains facilities for converting a RADOLAN file into 2 different Shapefile formats...
static void writeBoundingBox(RDScan *scan, const char *filename, bool geographic=false)
Writes out the bounding box of the coordinate system as shapefile.
static void convertToPolygons(RDScan *scan, const char *filename, bool geographic=false, bool withValues=true)
Writes out a shapefile with the individual radar pixels as polygons.