diff --git a/geometadata.cpp b/geometadata.cpp index f29d361c..5689969f 100644 --- a/geometadata.cpp +++ b/geometadata.cpp @@ -267,11 +267,6 @@ double GeoMetadata::height() const noexcept return rows * std::abs(cellSize.y); } -std::optional GeoMetadata::projection_geo_epsg() const noexcept -{ - return geographic_epsg(); -} - std::optional GeoMetadata::geographic_epsg() const noexcept { std::optional epsg; @@ -285,11 +280,6 @@ std::optional GeoMetadata::geographic_epsg() const noexcept return epsg; } -std::optional GeoMetadata::projection_epsg() const noexcept -{ - return projected_epsg(); -} - std::optional GeoMetadata::projected_epsg() const noexcept { std::optional epsg; diff --git a/include/infra/geometadata.h b/include/infra/geometadata.h index 4c556a3c..3e489c3a 100644 --- a/include/infra/geometadata.h +++ b/include/infra/geometadata.h @@ -126,9 +126,7 @@ struct GeoMetadata double width() const noexcept; double height() const noexcept; - [[deprecated("use geographic_epsg")]] std::optional projection_geo_epsg() const noexcept; std::optional geographic_epsg() const noexcept; - [[deprecated("use projected_epsg")]] std::optional projection_epsg() const noexcept; std::optional projected_epsg() const noexcept; std::string projection_frienly_name() const noexcept; void set_projection_from_epsg(int32_t epsg);