|
GEOS 3.15.0dev
|
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) |
| int | getOutputDimension () const |
| void | setOutputDimension (uint8_t newOutputDimension) |
| void | setForceCCW (bool newIsForceCCW) |
Outputs the GeoJSON representation of a Geometry. See also GeoJSONReader for parsing.