24 if (extension ==
".gml" || extension ==
".GML")
30 else if (extension ==
"gli" || extension ==
"GLI")
36 ERR(
"Writing of geometry failed, since it was not possible to determine"
37 " the required format from file extension.");
Definition of the BoostXmlGmlInterface class.
Definition of the GEOObjects class.
void ERR(char const *fmt, Args const &... args)
Definition of the OGSIOVer4 class.
std::string writeToString()
Writes the object to a string.
Container class for geometric objects.
int writeStringToFile(std::string content, std::filesystem::path const &file_path)
std::string getFileExtension(const std::string &path)
void writeGLIFileV4(const std::string &fname, const std::string &geo_name, const GeoLib::GEOObjects &geo)
void writeGeometryToFile(std::string const &geo_name, GeoLib::GEOObjects &geo_objs, std::string const &fname)