|
|
Canadian DLS GEOJSON API
COMMAND Please setup an account before proceeding.
SUCCESS Use "View Source" to see how this is coded.
PARSED GEOJSON |
NAME | VALUE |
DLSSHORT | |
QUARTER | |
SECTION | |
TOWNSHIP | |
RANGE | |
MERIDIAN | |
PROVINCE | |
COUNTY | |
LATITUDE | |
LONGITUDE | |
ZOOM | |
MGRS | |
UTM | |
NTS | |
PID | |
CORNER | LATITUDE | LONGITUDE |
SE (Start) | | |
NE | | |
NW | | |
SW | | |
SE (End) | | |
|
RAW GEOJSON
RESPONSE HEADER
Content-type: application/vnd.geo+json; charset=UTF-8
|
Commands & Parameters
|
forward |
Legal Land Description to Latitude and Longitude |
Field Number |
Field Name |
Field Description |
1
| quarter |
Halves, Quarters and Legal Sub Divisions (LSD's) are used to subdivide a section.
Leave this field empty for the entire section.
Halves are N,S,E,W
Quarters are NW,NE,SW,SE
LSD's are numbers 1 to 16
|
2 |
section |
A township is usually divided into 36 sections.
Sections number from 1 to 36.
In rare cases: 6A, 7A, 18A, 19A, 30A, 31A, 36A are used.
|
3 |
township |
Townships run south to north numbered 1 to 127.
In rare cases: 19A, 27A, 42A, 43A, 45A, 46A, 47A, 48A are used.
|
4 |
range |
Ranges run east and west numbered 1 to 34
In rare cases: 13A, 21A, 24A, 26A, 29A are used.
|
5 |
meridian |
Meridians run north / south; generally every 4 degrees of Longitude.
Valid Meridians are: E1, E2, W1, W2, W3, W4, W5, W6, W7, COAST
|
6 |
cmd |
forward
|
7 |
output |
Valid output types are: csv, geojson & kml
|
|
reverse1 |
Signed Decimal Degrees |
Field Number |
Field Name |
Field Description |
1
| latitude |
Latitude in decimal format
ie: 49.104474
|
2
| longitude |
Longitude in decimal format
ie: -112.037271
|
3 |
cmd |
reverse1
|
4 |
output |
Valid output types are: geojson
|
|
reverse2 |
Degrees, Minutes, Seconds |
Field Number |
Field Name |
Field Description |
1
| latdeg |
Latitude Degrees
0 - 89
|
2
| latmin |
Latitude Minutes
0 - 59
|
3
| latsec |
Latitude Seconds
0 - 59.999
|
4
| northsouth |
N or S
|
5
| longdeg |
Longitude Degrees
-179 to 179
|
6
| longmin |
Longitude Minutes
0 to 59
|
7
| longsec |
Longitude Seconds
0 to 59.999
|
8
| eastwest |
E or W
|
9 |
cmd |
reverse2
|
10 |
output |
Valid output types are: geojson
|
Python Example
Salesforce Apex Developer Guide Pages
Notes
The 2 forms on top of this page are live.
Fill in either form and then click "Calc".
Underneath will be displayed the string that was sent to the server and the status code and results that were received from the server.
"Success" will be set to "true" if the conversion was successful or "false" if it was not.
If "success==false" an additional field called "errormessage" will be set as follows:
{
"success" : false,
"errormessage" : "inputdls(): Range '233' is invalid"
}
Below the status lines, the parsed results and raw geojson string are displayed.
An account and a purchase are required.
If purchase for evaluation is difficult, we can setup an evaluation account for you.
You can send the user name and password right in the url string
Encrypted
https://legallandconverter.com/cgi-bin/shopats201703.cgi?quarter=§ion=2&township=2&range=2&meridian=W4&cmd=forward&output=geojson&user=DEVELOPX&pass=TEST1234
Unencrypted
http://legallandconverter.com/cgi-bin/shopats201703.cgi?quarter=§ion=2&township=2&range=2&meridian=W4&cmd=forward&output=geojson&user=DEVELOPX&pass=TEST1234
|
|
|