openModeller
Version 1.5.0
|
#include <om_layer_utils.hh>
#include <string>
#include <dirent.h>
#include "gdal_priv.h"
#include <openmodeller/Log.hh>
#include <openmodeller/FileParser.hh>
Go to the source code of this file.
Functions | |
bool | readDirectory (const char *dir, const char *label, ostream &xml, int depth, int *seq) |
string | getLayerLabel (const string path, const string name, bool isDir) |
bool | isValidGdalFile (const char *fileName) |
bool | hasValidGdalProjection (const char *fileName) |
string getLayerLabel | ( | const string | path, |
const string | name, | ||
bool | isDir | ||
) |
Definition at line 193 of file om_layer_utils.cpp.
References FileParser::get().
Referenced by readDirectory().
bool hasValidGdalProjection | ( | const char * | fileName | ) |
Definition at line 259 of file om_layer_utils.cpp.
Referenced by readDirectory().
bool isValidGdalFile | ( | const char * | fileName | ) |
Definition at line 238 of file om_layer_utils.cpp.
Referenced by readDirectory().
bool readDirectory | ( | const char * | dir, |
const char * | label, | ||
ostream & | xml, | ||
int | depth, | ||
int * | seq | ||
) |
Definition of command-line utility functions.
LICENSE INFORMATION
Copyright(c) 2013 by CRIA - Centro de Referencia em Informacao Ambiental
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details:
http://www.gnu.org/copyleft/gpl.html
Definition at line 41 of file om_layer_utils.cpp.
References Log::debug(), getLayerLabel(), hasValidGdalProjection(), Log::instance(), isValidGdalFile(), and readDirectory().
Referenced by main(), and readDirectory().