Skip to content
Back to skills

Proj Knowledge Patch

ASecurity

PROJ

  • 25 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added September 5, 2026
developmentc++bashgitapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill proj-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Proj Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Proj Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-proj-knowledge-patch/badge)](https://www.skillsdirectory.com/skills/nevaberry-proj-knowledge-patch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: proj-knowledge-patch
description: PROJ
version: "9.9.0"
license: MIT
metadata:
  author: Nevaberry
---


# PROJ compatibility guidance

Load this skill when building or integrating PROJ, selecting coordinate operations,
working with CRS formats and authority data, or using PROJ tools and resource grids.
The references give the release-specific details behind the quick reference below.

## Reference index

| Reference | Topics |
| --- | --- |
| [Build and runtime](references/build-and-runtime.md) | CMake, packaging, embedded resources, grid downloads, certificates, logging |
| [CRS formats and database](references/crs-formats-and-database.md) | WKT, PROJJSON, authority data, database schema, names, CRS identification |
| [Operation selection](references/operation-selection.md) | Compound and vertical CRSs, datums, realizations, epochs, extent checks, selection errors |
| [Projections and geodesy](references/projections-and-geodesy.md) | Projection methods, numerical changes, grid shifts, TINs, geodesics, Helmert parameters |
| [Bounds, CLI, and context](references/bounds-cli-and-context.md) | Bounds APIs, coordinate time, object settings, command-line tools, library entry points |

## Breaking changes and deprecations

### Build requirements and installation paths

Building PROJ from source requires a C++17-capable compiler starting in 9.6.0.
The minimum CMake version rises from 3.16 to 3.22.1, and PROJ declares its C and C++
standard requirements through CMake's `target_compile_features()`.

The data installation path is `${CMAKE_INSTALL_DATADIR}/proj`.
Use `CMAKE_INSTALL_DATADIR` in build scripts that previously set `PROJ_DATA_PATH`:

```sh
cmake -S . -B build -DCMAKE_INSTALL_DATADIR=share/custom
```

On Windows, consumers of static PROJ builds that bypass the CMake package must
define `PROJ_DLL=` starting in 8.2.0. The default DLL filename for PROJ 9.5.0 is
`proj_${PROJ_MAJOR_VERSION}.dll`.

### API and operation-definition migrations

- Starting in PROJ 9.4.0, include `proj.h` for declarations previously found in
  `proj_experimental.h`.
- PROJ 9.2.0 deprecates `proj_rtodms()` in favor of `proj_rtodms2()`.
- PROJ 9.0.0 replaces the Peirce Quincuncial `+type` shape parameter from 8.2.1
  with `+shape`; for example, `+proj=peirce_q +shape=diamond`.
- PROJ 6.0.0 removes `+t_obs` from Helmert and deformation definitions. Supply
  observation time with the coordinate, or use `+dt` for a fixed time interval
  in a deformation definition.
- Starting in PROJ 7.0.0, an NTv2 grid must declare `GS_TYPE=SECONDS`.

### Authority data and changed numerical results

PROJ 9.8.1 rolls EPSG content back from 12.049 to 12.029 to address transformation
regressions between ETRS89 and national CRSs based on other datums in Austria,
Belgium, Catalonia, the Netherlands, Romania, and Serbia. EPSG datum and CRS records
introduced in 9.8.0, mostly for national realizations of ETRS89, are unavailable in
9.8.1. See the authority-data reference for the bundled content of other releases.

In PROJ 9.7.0, inverse projections convert authalic latitude to geographic latitude
exactly for `+proj=aea`, `+proj=cea`, `+proj=laea`, `+proj=eqearth`, `+proj=healpix`,
and `+proj=rhealpix`. Inverse results can differ from earlier versions.

PROJ 9.6.1 corrects Wagner VI parameters, which can affect projected coordinates.
The ITRF97 parameter correction in the `ITRF2014` file in 9.6.0 can change results
for transformations using that entry.

## Build and resource quick reference

### Embed resources

`EMBED_RESOURCE_FILES` embeds `proj.db` and `proj.ini` in libproj;
`USE_ONLY_EMBEDDED_RESOURCE_FILES` restricts PROJ to embedded resources.
Set `EMBED_RESOURCE_DIRECTORY` to a directory of additional `.tif` and `.json`
files to embed them as well.

```sh
cmake -S . -B build -DEMBED_RESOURCE_FILES=ON -DUSE_ONLY_EMBEDDED_RESOURCE_FILES=ON
```

Windows builds support enabling both options together in 9.6.1.
CMake avoids selecting C23 `#embed` on compilers too old to support it.

### Configure runtime resources and networking

Use `proj-data` with PROJ 7.0.0 and later and `proj-datumgrid` with PROJ 5.x and 6.x.
The download-index reference includes the resource archive link.

Use `native_ca` in `proj.ini` or `PROJ_NATIVE_CA` to make curl use the operating
system's certificate store for PROJ network requests.
Emscripten builds use Emscripten Fetch for network file access, including remote grids.

`proj_download_file()` invalidates in-memory caches for the downloaded file in
the current context. Network requests are retried on an SSL connection timeout.
Grid lookup honors known URLs in `grid_alternatives`, including URLs outside
`cdn.proj.org`.

## Coordinate time and dynamic CRSs

Use `proj_coordoperation_requires_per_coordinate_input_time()` to check whether
an operation needs a time value on each input coordinate. PROJ 9.5.0 adds this
function and `PROJ_ERR_COORD_TRANSFM_MISSING_TIME` for missing coordinate time.

Use `proj_crs_is_dynamic()` to test whether a CRS is dynamic. `cs2cs` warns when
a dynamic source or target CRS is used without its coordinate epoch.

Starting in PROJ 6.2.1, `proj_trans_generic()` sets coordinate time to `HUGE_VAL`
when the caller supplies no time values.
PROJ 9.8.1 sets the epoch in additional time-dependent transformation scenarios
that previously left it unset.

PROJ 9.2.0 supports coordinate metadata in WKT2:2019 through
`COORDINATEMETADATA[…]` and in PROJJSON 0.6. Coordinate metadata associates the
coordinate epoch with its CRS.

## Transforming bounds

`proj_trans_bounds()` accepts a compound target CRS. Use `proj_trans_bounds_3D()`
to transform bounds that include a third coordinate dimension.

In 9.6.2, `proj_trans_bounds()` samples points inside the source bounds to capture
extent that boundary sampling can miss. This matters for worldwide bounds from
`EPSG:4326` to `ESRI:54099` (Spilhaus). It can also succeed in cases that previously
returned an error for a `PJ*` constructed directly from a PROJ pipeline.

PROJ 9.7.0 restores handling of longitude and latitude bounds crossing the
antimeridian when the target CRS is projected, correcting a regression in 9.6.2.

## Heights and operation selection

Since PROJ 9.1.0, transforming from a compound CRS to a 2D CRS skips the vertical
transformation. Use `cs2cs --3d` to promote the 2D CRS when a height transformation
is needed:

```sh
cs2cs --3d EPSG:4326+5773 EPSG:4326
```

For a `PROJ {grid_name}` geoid model, `createOperations()` uses the vertical datum
to select a matching operation. `getGeoidModels()` can match vertical CRSs that
share a datum even when they use different units.

PROJ can chain vertical transformations through an intermediate vertical CRS
that shares a datum with an endpoint. This includes using Caspian height when
finding a transformation from Baltic 1977 height (`EPSG:5705`) to Caspian depth
(`EPSG:5706`).

In PROJ 9.2.1, `proj_trans()` sets `PROJ_ERR_COORD_TRANSFM_NO_OPERATION` when
`ONLY_BEST=YES` prevents fallback after a required grid is unavailable.
`CRS_EXTENT_USE=NONE` disables use of CRS extents for concatenated operations as well.

When two candidates have equal accuracy and one area of use contains the other,
`proj_trans()` and `cs2cs` prefer the operation with the smaller area starting in
PROJ 8.1.0.

## Tool lookup and library entry points

`projinfo -k crs` restricts object lookup to coordinate reference systems:

```sh
projinfo -k crs EPSG:4326
```

`projinfo` reports whether a coordinate operation is time-dependent and has a
Bash completion script. Applications can call `projinfo` as a library function;
the installed declaration is in `projapps_lib.h`.

`projinfo --crs-extent-use none` honors the command-line setting during coordinate
operation lookup. In PROJ 9.4.1, `PROJ_GRID_AVAILABILITY_KNOWN_AVAILABLE` can resolve
grid availability without a network request when all required grids are known;
the corresponding `projinfo` option is `--grid-check known_available`.

Starting in PROJ 8.0.0, `cct` accepts an operation's database code or name.
Use `cct @operation.proj` to read an operation definition from a file.

## CRS formats and object APIs

The WKT2 parser accepts `DEFININGTRANSFORMATION` and ignores the transformation it
specifies. WKT and PROJJSON imports accept datum ensembles with zero members.
Projected CRS export to PROJJSON includes `base_crs.type` with the value
`GeographicCRS` or `GeodeticCRS`.

`proj_clone()` preserves the source object's `errorIfBestTransformationNotAvailable`
setting along with other flags in 9.6.0, and preserves `FORCE_OVER=YES` in 9.7.1.

Use `proj_get_domain_count()` to count an object's domains of use;
`proj_get_area_of_use_ex()` and `proj_get_scope_ex()` retrieve the area and scope
for a particular domain.

`proj_geod_direct()` computes a geodesic destination using a `PJ` transformation
object. Use `proj_create_linear_3D_affine_parametric_conversion()` to construct a
linear 3D affine parametric conversion.

## Grid shifts and TIN input

Starting in PROJ 9.4.0, `+proj=gridshift` accepts grids referenced in a projected
CRS and supports `easting_offset` and `northing_offset` corrections. PROJ 9.5.0
enables use of those projected grids with `PROJ_NETWORK=ON`.

`tinshift` accepts TINs stored in GeoPackage files in PROJ 9.9.0. It offers a
closest-triangle fallback for points outside all triangles starting in 8.2.0;
the maximum TIN JSON file size increases to 100 MB in 9.2.1.

Files in this skill

  • SKILL.md8.5 KB
  • coverage.json907 B
  • references/bounds-cli-and-context.md3.6 KB
  • references/build-and-runtime.md3.3 KB
  • references/crs-formats-and-database.md4.9 KB
  • references/operation-selection.md4.6 KB
  • references/projections-and-geodesy.md2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.