NED Point Query Service

The NED Point Query Service returns the elevation in feet or meters for a specific latitude/longitude (NAD 1983) point from the USGS National Elevation Dataset 1/3 arc second Layer hosted at the NGTOC. If unable to find data at the requested point, this service returns an extremely small, negative value(-1000000). Input parameters: X (longitude), Y (latitude), Units (Feet, Meters), Output (XML, JSON)



Parameter Value
X:
Y:
Units
Output

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET pqs.php?x=string&y=string&units=string&output=string HTTP/1.1
Host: ned.usgs.gov/epqs/pqs.php
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST pqs.php HTTP/1.1
Host: ned.usgs.gov/epqs/pqs.php
Content-Type: application/x-www-form-urlencoded
Content-Length: length

x=string&y=string&units=string&output=string
			
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml