1

Does anyone know where I can find Stream (rivers, waterbodies) codes for the State of Utah?

1
  • 6
    I think we need more info...are you talking NHD stream codes? Commented Oct 5, 2011 at 15:52

2 Answers 2

4

You could also download the NHD data for your state, open the Feature Classes of the FGD in ArcMap/ArcCatalog, and open the attribute table and look them up by whatever attribute you are using, i.e. Feature Name, Reach Code, etc. NHD High Resolution by State FTP

1
  • I appreciate all your input, I was unsuccesful with using all your suggestions. None of us in the office were able to find the codes. :(
    – Zoran
    Commented Oct 25, 2011 at 0:57
3

The high resolution Flowline layer in the NHD's mapservice has a ReachCode attribute, which is defined here as:

Unique identifier for a ‘reach’. The first eight numbers are the WBD_HUC8. The next six numbers are randomly assigned, sequential numbers that are unique within a HUC8, 14-char value

In theory you should be able to do this all via http using published map services. However, I get a 404 when I copy and paste the geometry returned by this query for Utah ..

http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5/query?text=Utah&geometry=&geometryType=esriGeometryPoint&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&objectIds=&where=&time=&returnCountOnly=false&returnIdsOnly=false&returnGeometry=true&maxAllowableOffset=&outSR=&outFields=&f=pjson

... into the filter geometry textbox of the NHD's mapservice and click Query (POST). It even happens when Return Count only set to true, and everything else false.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.