GEOS 3.11.1
|
Outputs the GeoJSON representation of a Geometry. See also GeoJSONReader for parsing. More...
#include <GeoJSONWriter.h>
Public Member Functions | |
std::string | write (const geom::Geometry *geometry, GeoJSONType type=GeoJSONType::GEOMETRY) |
std::string | writeFormatted (const geom::Geometry *geometry, GeoJSONType type=GeoJSONType::GEOMETRY, int indent=4) |
std::string | write (const GeoJSONFeature &feature) |
std::string | write (const GeoJSONFeatureCollection &features) |
Outputs the GeoJSON representation of a Geometry. See also GeoJSONReader for parsing.