Skip to content

src/asf_meta/distortions.c relies on a non-public part of the PROJ.4 API #128

@ninneman

Description

@ninneman

src/asf_meta/distortions.c relies on parts of the PROJ.4 API that are considered internal, and so this code is fragile, subject to breakage when PROJ.4 changes.

  1. The projects.h header is private, and shouldn't be included.
  2. The function map_distortions() at one point attempts to directly access the members of a projPJ structure. This is considered bad practice by the PROJ.4 team, since the members are internal and subject to change.

Attempting to fix problem 1 causes compilation errors related to problem 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions