klokantech/epsg.io
EPSG.io: Coordinate Systems Worldwide
10K+
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
Copy the content of "index" directory from the .zip from the latest project release.
Start the server via:
python app.py
or use the gunicorn startup scripts (./epsgio start
)
Note: This is not required, as you can easily download the ready-to-use index from releases.
login
it will able to export registry
as Export GML 3.2.1 with EPSG metadata
extra_codes_proj4_4.8.0.2
CRS_exceptions.csv
CRS_exceptions.py
gml_parser.py
GmlDictionary.xml
(downloaded EPSG database from http://epsg-registry.org)python gml_parser.py
gml.sqlite
into gml
folderCRS and Transformations are just codes (5514, 1623, 4326, 27700) Other are codes with suffix like:
9315-datum
8901-primem
7004-ellipsoid
9840-method
6422-cs
106-axis
1262-area
9001-units
For result page exist a export in JSON and JSONP for example
[http://epsg.io/?q=czech&format=json&trans=1&callback=jsonpFunction]
where:
format=json
for export in json (obligatory)trans=1
for more detailed transformation in each coordinate reference system (optional)callback=jsonpFunction
for jsonp where "jsonpFunction" is name of Javascript function (optional)[http://epsg.io/trans?x=50&y=17&z=0&s_srs=4326&t_srs=5514&callback=jsonpFunction]
where everything is optional:
x
, y
, z
are coordinates of point, which going to be transformed (default is 0,0,0)s_srs
represent source coordinate reference system (default is EPSG:4326)t_srs
represent target coordinate reference system (default is EPSG:4326)callback=jsonpFunction
is for jsonp where "jsonpFunction" is name of JavaScript functione.g. [http://epsg.io/trans] will transform point on coordinates 0,0,0 from EPSG:4326 to EPSG:4326
[http://epsg.io/trans?data=17,50;17,50,300;17.132,50.456&s_srs=4326&&t_srs=5514]
Where
;
,
.
kind:
value | meaning | value | meaning |
---|---|---|---|
CRS(default) | All coordinate reference systems | ELLIPSOID | Ellipsoid |
PROJCRS | Projected coordinate systems | PRIMEM | Prime meridian |
GEOGCRS | Geodetic coordinate systems | METHOD | Method |
GEOG3DCRS | Geodetic 3D coordinate systems | CS | Coordinate systems |
GCENCRS | Geocentric coordinate systems | VERTCS | Vertical coordinate system |
VERTCRS | Vertical coordinate systems | SPHERCS | Spherical coordinate system |
ENGCRS | Engineering coordinate systems | CARTESCS | Cartesian coordinate system |
COMPOUNDCRS | Compound coordinate systems | ELLIPCS | Ellipsoidal coordinate system |
COORDOP | All operations | AXIS | Axis |
COPTRANS | Transformations | AREA | Area |
COPCONOP | Compound operations | UNIT | Unit |
COPCON | Conversions | ANGUNIT | Angle unit |
DATUM | All datums | SCALEUNIT | Scale unit |
VERTDAT | Vertical datums | LENUNIT | Length unit |
ENGDAT | Engineering datums | TIMEUNIT | Time unit |
GEODDAT | Geodetic datums |
deprecated:
0(default), 1code:
number of EPSG (5514, 4326,...)name:
string of name (wgs 84, jtsk, s-jtks)area:
string area of use (czech republic, world)area_trans:
string area of use of transformationalt_title:
alternative title (wgs84,...)combinations: 8901 kind:PRIMEM, 1623 kind:COORDOP, code:1625 kind:COORDOP deprecated:1,...
docker pull klokantech/epsg.io