Skip to content

Commit

Permalink
Remove deprecated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkvdb committed Jan 12, 2024
1 parent 0d7648b commit 97ba8e2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
10 changes: 0 additions & 10 deletions geometadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,6 @@ double GeoMetadata::height() const noexcept
return rows * std::abs(cellSize.y);
}

std::optional<int32_t> GeoMetadata::projection_geo_epsg() const noexcept
{
return geographic_epsg();
}

std::optional<int32_t> GeoMetadata::geographic_epsg() const noexcept
{
std::optional<int32_t> epsg;
Expand All @@ -285,11 +280,6 @@ std::optional<int32_t> GeoMetadata::geographic_epsg() const noexcept
return epsg;
}

std::optional<int32_t> GeoMetadata::projection_epsg() const noexcept
{
return projected_epsg();
}

std::optional<int32_t> GeoMetadata::projected_epsg() const noexcept
{
std::optional<int32_t> epsg;
Expand Down
2 changes: 0 additions & 2 deletions include/infra/geometadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,7 @@ struct GeoMetadata
double width() const noexcept;
double height() const noexcept;

[[deprecated("use geographic_epsg")]] std::optional<int32_t> projection_geo_epsg() const noexcept;
std::optional<int32_t> geographic_epsg() const noexcept;
[[deprecated("use projected_epsg")]] std::optional<int32_t> projection_epsg() const noexcept;
std::optional<int32_t> projected_epsg() const noexcept;
std::string projection_frienly_name() const noexcept;
void set_projection_from_epsg(int32_t epsg);
Expand Down

0 comments on commit 97ba8e2

Please sign in to comment.