Recently, I have been trying to use their ExtractCDLByValues API to get the CDL file filtered on a particular crop value. Using the endpoint they provide (and changing the year/fips values) didn't work for me. Instead, I had to:
1. Invoke GetCDLFile (e.g. GET https://nassgeodata.gmu.edu/axis2/services/CDLService/GetCDLFile?year=2009&fips=19015)
2. From the response, use the URL for the "file" parameter for ExtractCDLByValues.
From there, I was able to download my CDL file.
1. Invoke GetCDLFile (e.g. GET https://nassgeodata.gmu.edu/axis2/services/CDLService/GetCDLFile?year=2009&fips=19015)
2. From the response, use the URL for the "file" parameter for ExtractCDLByValues.
From there, I was able to download my CDL file.
Comments
Post a Comment