71 std::unique_ptr<geom::Geometry>
read(
const std::string& geoJsonText)
const;
73 GeoJSONFeatureCollection readFeatures(
const std::string& geoJsonText)
const;
78 mutable int parseDepth_ = 0;
80 std::unique_ptr<geom::Geometry> readFeatureForGeometry(
const geos_nlohmann::json& j)
const;
82 GeoJSONFeature readFeature(
const geos_nlohmann::json& j)
const;
84 std::map<std::string, GeoJSONValue> readProperties(
const geos_nlohmann::json& p)
const;
86 GeoJSONValue readProperty(
const geos_nlohmann::json& p)
const;
88 std::unique_ptr<geom::Geometry> readFeatureCollectionForGeometry(
89 const geos_nlohmann::json& j)
const;
91 GeoJSONFeatureCollection readFeatureCollection(
92 const geos_nlohmann::json& j)
const;
94 std::unique_ptr<geom::Geometry> readGeometry(
95 const geos_nlohmann::json& j)
const;
97 std::unique_ptr<geom::Point> readPoint(
const geos_nlohmann::json& j)
const;
101 std::unique_ptr<geom::LineString> readLineString(
102 const geos_nlohmann::json& j)
const;
104 std::unique_ptr<geom::Polygon> readPolygon(
105 const geos_nlohmann::json& j)
const;
107 std::unique_ptr<geom::Polygon> readPolygon(
108 const std::vector<std::vector<std::vector<double>>>& c)
const;
110 std::unique_ptr<geom::MultiPoint> readMultiPoint(
111 const geos_nlohmann::json& j)
const;
113 std::unique_ptr<geom::MultiLineString> readMultiLineString(
114 const geos_nlohmann::json& j)
const;
116 std::unique_ptr<geom::MultiPolygon> readMultiPolygon(
117 const geos_nlohmann::json& j)
const;
119 std::unique_ptr<geom::GeometryCollection> readGeometryCollection(
120 const geos_nlohmann::json& j)
const;