Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Proj Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-proj-knowledge-patch-nevaberry-plugins)
---
name: proj-knowledge-patch
description: PROJ
version: "9.9.0"
license: MIT
metadata:
author: Nevaberry
---
# PROJ compatibility guidance
Load this skill when building PROJ, configuring grid resources, selecting
coordinate operations, importing or identifying CRSs, or using the command-line
and library interfaces. Use the topic references for detailed behavior and
version-specific changes.
## Reference index
| Reference | Topics |
| --- | --- |
| [Build, packaging, and network resources](references/build-network.md) | Compiler and CMake requirements, embedded resources, Windows linking, certificates, grid downloads and archives |
| [Database, CRS identification, and serialization](references/database-crs-io.md) | Authority data and rollback, schema, aliases, regional records, CRS identification, WKT and PROJJSON |
| [Coordinate-operation selection](references/operation-selection.md) | Compound CRSs, datum realizations, vertical transformations, epochs, grids, TINs, Helmert and affine methods |
| [Bounds, projections, and geodesy](references/bounds-projections-geodesy.md) | Bounds APIs, projection parameters and methods, geodesics, projection factors |
| [Command-line and library interfaces](references/tools-api.md) | `projinfo`, `cct`, `gie`, C API migration, cloning, errors, domains of use, logging and date parsing |
## Breaking changes and deprecations
### Build requirements and installation paths
Building from source requires a C++17-capable compiler. The minimum CMake version
rises from 3.16 to 3.22.1; PROJ declares C and C++ standard requirements through
`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 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`.
### C API migration
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()` for formatting angles as degrees, minutes, and seconds.
### Operation and projection definitions
- 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.
- PROJ 9.0.0 replaces the Peirce Quincuncial `+type` shape parameter from 8.2.1
with `+shape`, as in `+proj=peirce_q +shape=diamond`.
- Starting in PROJ 7.0.0, an NTv2 grid must declare `GS_TYPE=SECONDS`.
### EPSG rollback and changed transformation results
PROJ 9.8.1 rolls the bundled EPSG content back from 12.049 to 12.029 to address
transformation regressions between ETRS89 and national CRSs based on other datums.
The EPSG datum and CRS records introduced in 9.8.0, mostly for national
realizations of ETRS89, are unavailable in 9.8.1. See the database reference for
the affected countries and authority database editions.
PROJ 9.6.0 improves transformations between different ETRF realizations and
between different WGS 84 realizations. The selected operation for an existing
CRS pair in either family may change after upgrading.
## Embedded resources and network access
`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
```
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`.
Use `proj-data` with PROJ 7.0.0 and later and `proj-datumgrid` with PROJ 5.x and
6.x. The resource archive link is in the build and network reference.
## 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 also adds
`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.
ISO 19111 coordinate metadata associates the coordinate epoch with its CRS.
PROJ 9.2.0 supports it in WKT2:2019 through `COORDINATEMETADATA[…]` and in
PROJJSON 0.6.
## Compound CRSs and height transformations
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 the height
transformation is needed:
```sh
cs2cs --3d EPSG:4326+5773 EPSG:4326
```
`createOperations()` uses a 2D Helmert transformation when either the source or
target CRS is compound. It can find operations between compound CRSs whose
equivalent vertical CRS definitions differ in representation.
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.
## Bounds and projection results
`proj_trans_bounds()` accepts a compound target CRS. Use `proj_trans_bounds_3D()`
to transform bounds that include a third coordinate dimension.
`proj_trans_bounds()` samples points inside the source bounds to capture extent
that boundary sampling can miss. This matters for worldwide bounds transformed
from `EPSG:4326` to `ESRI:54099` (Spilhaus).
PROJ 9.7.0 restores handling of longitude and latitude bounds that cross the
antimeridian when the target CRS is projected, correcting a regression in 9.6.2.
Since PROJ 9.7.0, inverse projection converts 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. The bounds and projections reference covers the other projection
methods and parameter corrections.
## Grid availability and 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`.
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. `projinfo --crs-extent-use none` honors the command-line setting during
coordinate operation lookup.
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`.
In PROJ 9.9.0, `tinshift` accepts TINs stored in GeoPackage files. The operation
reference also covers the closest-triangle fallback and TIN JSON size limit.
## CLI and library quick reference
`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 it as a library function; the
installed declaration is in `projapps_lib.h`.
`cct` accepts an operation's database code or name. Use `cct @operation.proj` to
read an operation definition from a file.
`proj_clone()` preserves the source object's
`errorIfBestTransformationNotAvailable` setting along with other flags, and
preserves `FORCE_OVER=YES` from the original object.
`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.
## CRS import and serialization
The WKT2 parser accepts `DEFININGTRANSFORMATION` and ignores the transformation
it specifies. WKT and PROJJSON imports accept datum ensembles with zero members.
When exporting a projected CRS, PROJJSON includes `base_crs.type` with the value
`GeographicCRS` or `GeodeticCRS`. A PROJJSON `geoid_model` can carry an
`interpolation_crs` field that PROJ preserves on import and export.
By default, the C++ `CartesianCS::create()` checks that all axes use the same
unit. The database and CRS reference covers derived CRSs, identification,
legacy names, and additional WKT and PROJJSON fields.