25 if (extension ==
".gml" || extension ==
".GML")
31 else if (extension ==
"gli" || extension ==
"GLI")
37 ERR(
"Writing of geometry failed, since it was not possible to determine"
38 " the required format from file extension.");
Definition of the BoostXmlGmlInterface class.
Definition of the GEOObjects class.
void ERR(fmt::format_string< Args... > fmt, Args &&... args)
Definition of the OGSIOVer4 class.
std::string writeToString()
Writes the object to a string.
Container class for geometric objects.
int writeStringToFile(std::string_view 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)