Skip to content

A Python tool to download SSURGO data from the UC Davis Soil Web API

Notifications You must be signed in to change notification settings

faaizajaz/ssurgo-shp-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SSURGO-GIS-Downloader

A Python tool to download SSURGO data from the UC Davis Soil Web API

Dependencies

mechanize
BeautifulSoup
arcpy

How to use

  1. Instantiate AOI:
  # AreaOfInterest(lon1, lat1, lon2, lat2, resolution)
  # Coordinates in DDS, resolution in meters
  a = AreaOfInterest(-120.0, 37.0, -120.05, 37.05, 1000)
  1. Fetch soil data for AOI
  # MakeSoilData_multi(number-of-threads) 
  # Ideal number of threads depends on resolution and AOI size
  a.MakeSoilData_multi(25)
  1. Export shapefile from data
  a.MakeFeatureClass()

Sample test script===

from SoilExplorer import AreaOfInterest

a = AreaOfInterest(-120.0, 37.0, -120.05, 37.05, 50)
a.MakeSoilData_multi(200)
a.MakeFeatureClass()
print "Complete."

About

A Python tool to download SSURGO data from the UC Davis Soil Web API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages