PRJ
Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.
Projection .prj Preview.
At a glance
| Purpose | An Esri or OGC projection file (.prj): a coordinate reference system in Well-Known Text. |
| Extensions | .prj |
| Poka parser | poka-prj |
| Viewer | poka-tree-viewer |
| Depth tier | Parser with a shared viewer (see Depth tiers) |
| Breadth tier | B2 Broad (see Breadth tiers) |
How much Poka reads
B2 Broad. The common content of the current and the common older versions is decoded. Some named features or versions are not, and are listed.
Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-prj/src/main.rs (607 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has mstones.prj, pixel_per_line.prj, read by no test. Covers .prj. The parser tokenises the WKT (WKT 1, Esri and WKT 2 keywords) and shows the CRS type and name, EPSG code, projection method, units, geographic CRS, datum, spheroid (semi-major axis, inverse flattening), prime meridian, angular unit and every parameter. Judgement: B2: the CRS is decoded; the gaps are WKT 2's richer elements.
What Poka does not read
- WKT 2 elements beyond the WKT 1 set (usage, scope, axis order, datum ensembles) are not shown (judgement from the code)
- Compound and vertical CRSs are shown as their first part (judgement from the code)
- The CRS is not validated or matched to EPSG when no code is given
Libraries
Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.
- GDAL/OGR (candidate; MIT; C++; https://gdal.org/en/stable/api/ogrspatialref.html) — OGRSpatialReference::importFromWkt() and importFromESRI() read Esri .prj text. Licence from the GDAL repo page; docs page confirms the API.
- proj-wkt (candidate; MIT OR Apache-2.0; Rust; https://docs.rs/crate/proj-wkt/latest) — Pure-Rust parser for WKT1/WKT2 CRS, PROJ strings and PROJJSON; rejects unsupported definitions, so test with Esri-dialect WKT1 samples.
Software that uses it
- Esri Shapefile
- CONTAM (NIST)
Sources
- parsers/poka-prj/src/main.rs
- parsers/poka-prj/plugin.json