|
|
National Topographic System (NTS) GEOJSON API
COMMAND https://legallandconverter.com/cgi/shopnts201902.cgi?mapquarter=C&mapunit=26&mapblock=F&mapseries=93&maparea=K&mapsheet=11&cmd=forward&output=geojson
SUCCESS true
PARSED GEOJSON |
NAME | VALUE |
TITLE | C-26-F/93-K-11 |
LATITUDE | 54.656250 |
LONGITUDE | -125.390625 |
PROVINCE | British Columbia |
COUNTY | Bulkley-Nechako |
MGRS | 10U CF 45785 59165 |
UTM | 10N 345785 6059165 |
DLS | 11-27-65-23-W7 |
FPS | F 60 54-40 N 125-15 W |
ZOOM | 15 |
CORNER | LATITUDE | LONGITUDE |
SE (Start) | 54.654167 | -125.387500 |
NE | 54.658333 | -125.387500 |
NW | 54.658333 | -125.393750 |
SW | 54.654167 | -125.393750 |
SE (End) | 54.654167 | -125.387500 |
|
RAW GEOJSON
{
"success" : true,
"type": "FeatureCollection",
"features":
[
{
"type": "Feature",
"properties":
{
"TITLE": "C-26-F/93-K-11",
"LATITUDE": 54.6562500000,
"LONGITUDE": -125.3906250000,
"PROVINCE": "British Columbia",
"COUNTY": "Bulkley-Nechako",
"MGRS": "10U CF 45785 59165",
"UTM": "10N 345785 6059165",
"DLS": "11-27-65-23-W7",
"FPS": "F 60 54-40 N 125-15 W",
"ZOOM": 15
},
"geometry":
{
"type": "Polygon",
"coordinates":
[
[
[-125.3875000000,54.6541666667],
[-125.3875000000,54.6583333333],
[-125.3937500000,54.6583333333],
[-125.3937500000,54.6541666667],
[-125.3875000000,54.6541666667]
]
]
}
}
]
}
|
Commands & Parameters
|
forward |
Legal Land Description to Latitude and Longitude |
Field Number |
Field Name |
Field Description |
1
| mapquarter |
'A' to 'D'
|
2 |
mapunit |
Unit from 1 to 100.
|
3 |
mapblock |
'A' to 'L'
|
4 |
mapseries |
0 to 999
|
5 |
maparea |
'A' to 'P'
|
5 |
mapsheet |
1 to 16
|
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
|
More about the NTS system (and a few images) is available
here.
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
|
|
|