Skip to content

Interface: ProjectionOptions ​

Defined in: types.ts:204

Where the .prj text comes from.

Extended by ​

Properties ​

epsg? ​

ts
optional epsg?: number;

Defined in: types.ts:213

EPSG code for the .prj.

Resolved against the built-in codes, anything registered via registerProjections, and — loaded on demand — the bundled table of 116 definitions. An unresolvable code throws rather than silently omitting the .prj.


wkt? ​

ts
optional wkt?: string;

Defined in: types.ts:215

Raw ESRI WKT for the .prj. Takes precedence over epsg.

Released under the MIT License.