Eclipse SUMO - Simulation of Urban MObility
|
A reader of pois and polygons from shape files. More...
#include <PCLoaderArcView.h>
Static Public Member Functions | |
static void | loadIfSet (OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm) |
Loads pois/polygons assumed to be stored as shape files-files. | |
Private Member Functions | |
PCLoaderArcView & | operator= (const PCLoaderArcView &) |
Invalidated assignment operator. | |
PCLoaderArcView (const PCLoaderArcView &) | |
Invalidated copy constructor. | |
Static Private Member Functions | |
static void | load (const std::string &file, OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm) |
Parses pois/polys stored within the given file. | |
Static Private Attributes | |
static bool | myWarnMissingProjection = true |
A reader of pois and polygons from shape files.
The current importer works only if SUMO was compiled with GDAL-support. If not, an error message is generated.
Definition at line 51 of file PCLoaderArcView.h.
|
private |
Invalidated copy constructor.
|
staticprivate |
Parses pois/polys stored within the given file.
[in] | oc | The options container to get further options from |
[in] | toFill | The poly/pois container to add loaded polys/pois to |
[in] | tm | The type map to use for setting values of loaded polys/pois |
ProcessError | if something fails |
Definition at line 117 of file PCLoaderArcView.cpp.
References PCPolyContainer::add(), PCTypeMap::TypeDef::angle, PCTypeMap::TypeDef::color, Shape::DEFAULT_ANGLE, Shape::DEFAULT_IMG_FILE, PCTypeMap::TypeDef::discard, PCTypeMap::get(), OptionsCont::getBool(), OptionsCont::getFloat(), GeoConvHelper::getProcessing(), OptionsCont::getString(), OptionsCont::getStringVector(), PCTypeMap::has(), PCTypeMap::TypeDef::icon, PCTypeMap::TypeDef::id, PCTypeMap::TypeDef::imgFile, StringUtils::latin1_to_utf8(), PCTypeMap::TypeDef::layer, myWarnMissingProjection, RGBColor::parseColor(), PROGRESS_DONE_MESSAGE, StringUtils::prune(), TL, TLF, toString(), UNUSED_PARAMETER, WRITE_ERROR, WRITE_ERRORF, WRITE_MESSAGE, WRITE_WARNINGF, and GeoConvHelper::x2cartesian().
Referenced by loadIfSet().
|
static |
Loads pois/polygons assumed to be stored as shape files-files.
If the option "shape-files" is set within the given options container, the files stored herein are parsed using "load", assuming this option contains file paths to files containing pois and polygons stored as shape-files.
[in] | oc | The options container to get further options from |
[in] | toFill | The poly/pois container to add loaded polys/pois to |
[in] | tm | The type map to use for setting values of loaded polys/pois |
ProcessError | if something fails |
Definition at line 65 of file PCLoaderArcView.cpp.
References OptionsCont::getStringVector(), OptionsCont::isSet(), load(), PROGRESS_BEGIN_MESSAGE, and PROGRESS_DONE_MESSAGE.
Referenced by main().
|
private |
Invalidated assignment operator.
|
staticprivate |
Definition at line 82 of file PCLoaderArcView.h.
Referenced by load().