|
|
Public Land Survey System (PLSS) GEOJSON API
COMMAND Please setup an account before proceeding.
SUCCESS Use "View Source" to see how this is coded.
PARSED GEOJSON |
NAME | VALUE |
PLSSUTF8 | |
PLSSTEXT | |
Q3 | |
Q2 | |
Q1 | |
SECTION | |
SECTIONFRACTION | |
TOWNSHIP | |
TOWNSHIPFRACTION | |
NORTHSOUTH | |
RANGE | |
RANGEFRACTION | |
EASTWEST | |
STATE | |
MERIDIAN | |
COUNTY | |
LATITUDE | |
LONGITUDE | |
ZOOM | |
MGRS | |
UTM | |
CORNER | LATITUDE | LONGITUDE |
SE (Start) | | |
NE | | |
NW | | |
SW | | |
SE (End) | | |
|
RAW GEOJSON
|
Commands & Parameters
|
forward |
PLSS to Latitude and Longitude |
Field Number |
Field Name |
Field Description |
1
| usaq3 |
Aliquot 3: Smallest
N,S,E,W,NW,NE,SW,SE
|
2
| usaq2 |
Aliquot 2: Medium
N,S,E,W,NW,NE,SW,SE
|
3
| usaq1 |
Aliquot 1: Largest
N,S,E,W,NW,NE,SW,SE or a BLM lot number.
BLM Lot Numbers have been uppercased and have had all spaces and punctuation removed.
|
*4 |
usasection |
A number from normally from 1 to 36.
However, (in rare instances) there are sections numbered from 1 to 999 and from 1U to 18U.
|
5 |
usasectionfraction |
Section Fractions are sometimes used in
OR and WA.
|
*6 |
usatownship |
Townships run North and South of the Baseline.
Townships number from from 0 to 168.
|
7 |
usatownshipfraction |
Township Fractions are sometimes used in
AR, AZ, CA, CO,ID, MT, NM, NV, OR, UT, WA and WY
|
*8 |
usanorthsouth |
'N' == North
'S' == South
|
*9 |
usarange |
Ranges run east and west of the Meridian.
Ranges number from 0 to 420, although not all numbers are used.
|
10 |
usarangefraction |
Range Fractions are sometimes used in
AZ, CA, CO, ID,MT, NM, NV, OR, UT, WA and WY
|
*11 |
usaeastwest |
'E' == East
'W' == West
|
*12 |
usastate |
A 2 letter State Code
A State Code is always required.
PLSS State Code List
|
**13 |
usameridian |
A 2 digit Meridian Code
Either a Meridian Code or a County Code is required. Do not use both.
PLSS Meridian Code List
|
**14 |
usacounty |
A 5 digit County Code
Either a Meridian Code or a County Code is required. Do not use both.
PLSS County Code List
|
*15 |
cmd |
forward
|
*16 |
output |
Valid output types are: geojson
|
* |
Required Fields
These fields must contain data in every query.
Although the other fields can be empty, you still must send the cgi variables in the url query string.
ie: &usasectionfraction=
|
** |
Requires Either
- a State and a Meridian or
- a State and a County
|
|
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.
Both http:// and https:// are active.
An account and a purchase are required.
If purchase for evaluation is difficult, we can setup an evaluation account for you.
You can also send the user name and password in the url string
Encrypted -- SECURE
https://legallandconverter.com/cgi/shopplss.cgi?cmd=forward&usaq1=NE&usasection=013&usasectionfraction=&usatownship=008&usatownshipfraction=0&usanorthsouth=S&usarange=011 &usarangefraction=2&usaeastwest=W&usastate=AZ&usameridian=14&usacounty=&output=geojson&user=DEVELOPX&pass=TEST1234
Unencrypted -- EASY
http://legallandconverter.com/cgi/shopplss.cgi?cmd=forward&usaq1=NE&usasection=013&usasectionfraction=&usatownship=008&usatownshipfraction=0&usanorthsouth=S&usarange=011 &usarangefraction=2&usaeastwest=W&usastate=AZ&usameridian=14&usacounty=&output=geojson&user=DEVELOPX&pass=TEST1234
Sending the username and password unencrypted in the url string may seem a bit "unsecure", but is very simple to code up in every computer language, and to do so without any 3rd party libraries.
Cross Site Scripting
Modern Web Browsers do not allow "Cross Domain Scripting".
Use a web proxy to incorporate GeoJSON results from legallandconverter.com's server into webpages from your server.
See the Apache Software Foundation's Reverse Proxy Guide
|
|
|