-
Notifications
You must be signed in to change notification settings - Fork 8
How to pass coordinates via URL
Clément Ronzon edited this page Feb 18, 2023
·
1 revision
You can have TWCC open with the marker set to a specific location and the converter set with specific systems.
First you must have at hand 4 pieces of information:
-
<lng>
: WGS84 longitude, in decimal degrees, e.g.:-113.39
-
<lat>
: WGS84 latitude, in decimal degrees, e.g.:31.85
-
<sc>
: Source CRS/system code, e.g.:wgs84
-
<dc>
: Destination CRS/system code, e.g.:EPSG%3A25831
(%3A
is the URL-encoding of colon:
)
Then write the URL as follows:
https://twcc.fr/?wgs84=<lng>,<lat>&sc=<sc>&dc=<dc>
With the provided examples it would look like this:
https://twcc.fr/?wgs84=-113.39,31.85&sc=wgs84&dc=EPSG%3A25831