richiecarmichael / Esri-Hydro-Hierarchy

Hydro Hierarchy is an experimental web application for visualizing the US river network
http://richiecarmichael.github.io/radial/index.html
8 stars 3 forks source link

ArcMap.txt #2

Open chelseacw opened 8 years ago

chelseacw commented 8 years ago

Hello-

Can you please explain the ArcMap.txt file a little more? Where do you run it from? I'm wondering how I can format my Rivers FC so this script can read it? I am using the NHDPlus data set.

Many thanks!

richiecarmichael commented 8 years ago

Hi @chelseacw,

To export connectivity information we first ensured that our river network was correctly oriented, that is, rivers end nodes facing downstream. Using ArcMap we built a network dataset with the default options. This established connectivity and snaps nodes to each other or river midpoints.

The content in ArcMap.txt is an extract from an ArcMap add-in we created specifically to export network connectivity information to a text file (e.g. river.js). The exported file is hierarchical and only contains river ids.

The add-in assumes that the newly created network dataset is the first layer in the map document.

I have uploaded our add-in ExportHydroNetwork.zip but it may require some tweaking if you are not using 10.3.

Hope this helps!

chelseacw commented 8 years ago

Great, thanks so much @richiecarmichael !

I don't have Visual Studio. Could you please create the .dll for direct import into ArcMap?

Best-