geo.crs

Helper functions for identifying and manipulating Coordinate Reference Systems.

create-transform

(create-transform c1 c2)
Creates a proj4j transform between two projection systems.
c1 or c2 can be:
 - integers (which will be interpreted as that EPSG)
 - a string identifier for types EPSG:XXXX, ESRI:XXXX, WORLD:XXXX, NAD83:XXXX, or NAD27:XXXX
 - proj4 string.

crs-factory

crs-name?

(crs-name? crs-str)
Check if input is a valid CRS name accepted by proj4j.

Accepted CRS names are in the forms:
EPSG:xxxx, ESRI:xxxx, NAD83:xxxx, NAD27:xxx, or WORLD:xxxx.

ctf-factory

epsg-str->srid

(epsg-str->srid epsg)
Converts EPSG string to SRID, if possible.

epsg-str?

includes?

(includes? string substring)

proj4-string?

(proj4-string? crs-str)
Check if input appears to be a proj4 string

srid->epsg-str

Convert an SRID integer to EPSG string.

starts-with?

(starts-with? string prefix)

valid-crs-prefixes