![]() |
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. More... | |
Static Protected Member Functions | |
static void | load (const std::string &file, OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm) |
Parses pois/polys stored within the given file. More... | |
Private Member Functions | |
PCLoaderArcView & | operator= (const PCLoaderArcView &) |
Invalidated assignment operator. More... | |
PCLoaderArcView (const PCLoaderArcView &) | |
Invalidated copy constructor. More... | |
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 58 of file PCLoaderArcView.h.
|
private |
Invalidated copy constructor.
|
staticprotected |
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 74 of file PCLoaderArcView.cpp.
References OptionsCont::getBool(), OptionsCont::getInt(), GeoConvHelper::getProcessing(), OptionsCont::getString(), PCPolyContainer::insert(), OptionsCont::isSet(), StringUtils::latin1_to_utf8(), RGBColor::parseColor(), PROGRESS_DONE_MESSAGE, StringUtils::prune(), PositionVector::push_back_noDoublePos(), SUMOReal, toString(), WRITE_ERROR, WRITE_WARNING, 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 57 of file PCLoaderArcView.cpp.
References OptionsCont::getStringVector(), OptionsCont::isSet(), load(), PROGRESS_BEGIN_MESSAGE, and PROGRESS_DONE_MESSAGE.
Referenced by main().
|
private |
Invalidated assignment operator.