USGS dataretrieval Python Package NLDI Data Access Examples
This notebook provides examples of using the Python dataretrieval package to retrieve data from the United States Geological Survey (USGS) Hydro Network-Linked Data Index (NLDI). The dataretrieval package provides a collection of functions to get data from the USGS Hydro Network-Linked Data Index (NLDI). For more information about NLDI visit the USGS website describing NLDI or this blog post that covers basic features of the NLDI.
From the NLDI API documentation: The NLDI is a search service that takes a watershed outlet identifier as a starting point, a navigation mode to perform, and the type of data desired in response to the request. It can provide geospatial representations of the navigation or linked data sources found along the navigation. It also has the ability to return landscape characteristics for the catchment the watershed outlet is contained in or the total upstream basin.
Install the Package
Use the following code to install the package if it doesn’t exist already within your Jupyter Python environment. Note the nldi option in the dataretrieval package installation. The default dataretrieval package installation does not support NLDI data access. You must run the dataretrieval install with the nldi option to ensure that you have the necessary capabilities. If you are running this notebook in the CUAHSI JuypyterHub server linked to HydroShare, you will want to run the
following pip install command. The base dataretrieval package is already installed in the CUAHSI JupyterHub Python environment, but it does not include the NLDI option.
[1]:
!pip install dataretrieval[nldi]
Requirement already satisfied: dataretrieval[nldi] in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (0.1.dev1+g55e94617b)
Requirement already satisfied: httpx in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from dataretrieval[nldi]) (0.28.1)
Requirement already satisfied: pandas<4.0.0,>=2.0.0 in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from dataretrieval[nldi]) (3.1.1)
Requirement already satisfied: anyio>=4.0 in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from dataretrieval[nldi]) (4.16.0)
Requirement already satisfied: geopandas>=0.10 in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from dataretrieval[nldi]) (1.2.0)
Requirement already satisfied: numpy>=2.0.2 in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from pandas<4.0.0,>=2.0.0->dataretrieval[nldi]) (2.5.5)
Requirement already satisfied: python-dateutil>=2.9.0 in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from pandas<4.0.0,>=2.0.0->dataretrieval[nldi]) (4.0.0)
Requirement already satisfied: idna>=2.8 in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from anyio>=4.0->dataretrieval[nldi]) (3.20)
Requirement already satisfied: typing_extensions>=4.16.0 in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from anyio>=4.0->dataretrieval[nldi]) (4.16.0)
Requirement already satisfied: packaging in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from geopandas>=0.10->dataretrieval[nldi]) (26.3)
Requirement already satisfied: pyogrio>=0.8 in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from geopandas>=0.10->dataretrieval[nldi]) (0.13.0)
Requirement already satisfied: pyproj>=3.7.0 in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from geopandas>=0.10->dataretrieval[nldi]) (3.8.0)
Requirement already satisfied: shapely>=2.1.0 in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from geopandas>=0.10->dataretrieval[nldi]) (2.2.0)
Requirement already satisfied: certifi in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from pyogrio>=0.8->geopandas>=0.10->dataretrieval[nldi]) (2026.10.23)
Requirement already satisfied: tzdata in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from python-dateutil>=2.9.0->pandas<4.0.0,>=2.0.0->dataretrieval[nldi]) (2026.6)
Requirement already satisfied: httpcore==1.* in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from httpx->dataretrieval[nldi]) (1.0.9)
Requirement already satisfied: h11>=0.16 in /opt/hostedtoolcache/Python/3.13.18/x64/lib/python3.13/site-packages (from httpcore==1.*->httpx->dataretrieval[nldi]) (0.16.0)
Load the package so that you can use its functions in this notebook.
[2]:
import folium
from IPython.display import display
from dataretrieval import nldi
Usage Examples
The dataretrieval package provides a number of functions to get data from the USGS NLDI. The following sections provide examples of how each of the available functions can be used
get_basin(): function used to get the upstream basin boundary for any feature indexed by NLDI.get_flowlines(): function used to get upstream or downstream flowline data from NLDI.get_features(): function used to retrieve information about features from any source indexed by NLDI.search(): general function used to retrieve data from NLDI. Can be used in place of the functions listed above.
Examples for the get_basin() function:
The following examples show how to use the get_basin() function from the dataretrieval package to retrieve the upstream basin boundary (the contributing watershed for a feature) from the USGS NLDI associated with any feature indexed by NLDI.
The following arguments are supported:
feature_source (string): The name of the NLDI feature source.
feature_id (string): The identifier of the NLDI feature.
simplified (boolean): If True, the data will be returned with simplified polygons. If False, the data will be returned as a single polygon (default is False).
split_catchment (boolean): If True, the data will be returned with split catchment polygons. If False, the data will be returned as a single polygon (default is False) NOTE: Setting this to True may result in an error due to a known issue with NLDI API.
as_json (boolean): If True, the data will be returned as a python dictionary. If False, the data will be returned as a geopandas dataframe (default is False).
Example 1: Get the upstream basin for a single feature from a single source.
In this example, we will retrieve the boundary for the upstream basin for a single monitoring site feature. For the monitoring site feature, we will use a USGS water quality monitoring station. The feature source is the Water Quality Portal (WQP), and the identifier of the feature is the USGS water quality monitoring site identifer prepended with the agency code for USGS (USGS-01031500). You can use the identifiers for any monitoring station indexed by the NLDI to retrieve its upstream watershed boundary.
[3]:
# set the parameters needed to retrieve data
feat_source = "WQP"
feat_id = "USGS-01031500"
Now we can call the get_basin function to get the coordinates of the polygon making up the basin boundary associated with this monitoring site - i.e., the watershed area upstream of the given monitoring site. The result will be returned as a geopandas dataframe unless the as_json argument is used and set to True.
[4]:
basin_gdf = nldi.get_basin(feature_source=feat_source, feature_id=feat_id)
display(basin_gdf)
| geometry | |
|---|---|
| 0 | POLYGON ((-69.39795 45.10697, -69.40219 45.114... |
If you want to get the basin boundary coordinate data in GeoJSON format, you can use the as_json argument in the function call (as_json=True)
[5]:
basin_json_data = nldi.get_basin(
feature_source=feat_source, feature_id=feat_id, as_json=True
)
print(basin_json_data)
{'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'geometry': {'type': 'Polygon', 'coordinates': [[[-69.397946258, 45.106972356], [-69.40219152, 45.114030014], [-69.407125572, 45.118435177], [-69.419563965, 45.116669284], [-69.424810417, 45.118491808], [-69.427626011, 45.115395434], [-69.433170808, 45.114987067], [-69.434026579, 45.112300271], [-69.437056389, 45.111286284], [-69.434583954, 45.108209926], [-69.437017124, 45.106724816], [-69.437965741, 45.103106248], [-69.430751934, 45.096708481], [-69.438707605, 45.092757144], [-69.437530466, 45.09148659], [-69.443365357, 45.088036416], [-69.450011744, 45.096198713], [-69.456431473, 45.096318905], [-69.458671277, 45.093381948], [-69.466330988, 45.091972966], [-69.465494917, 45.090120444], [-69.471145311, 45.089000994], [-69.477211234, 45.08532648], [-69.476508023, 45.082534049], [-69.484731475, 45.07923952], [-69.488200392, 45.074243489], [-69.490295351, 45.074948198], [-69.494661788, 45.087598976], [-69.506833384, 45.10073424], [-69.505709545, 45.104090814], [-69.507071161, 45.104863132], [-69.505577274, 45.107341766], [-69.506618047, 45.109105416], [-69.520118288, 45.102490704], [-69.530267694, 45.101054459], [-69.535995068, 45.094192913], [-69.556675056, 45.084444328], [-69.555679368, 45.081999783], [-69.559658804, 45.08183114], [-69.563278032, 45.086880581], [-69.570976172, 45.087757391], [-69.57884143, 45.093010126], [-69.582747996, 45.09199403], [-69.582038404, 45.090404448], [-69.587461217, 45.089900572], [-69.591296871, 45.087154687], [-69.594857435, 45.087163373], [-69.601213297, 45.084176225], [-69.606525796, 45.088031189], [-69.606624921, 45.091135528], [-69.6119044, 45.094643976], [-69.6125038, 45.097845801], [-69.610940075, 45.099648015], [-69.612678151, 45.105053017], [-69.607625713, 45.108294984], [-69.609570865, 45.111173266], [-69.610675829, 45.119731487], [-69.623461217, 45.113613404], [-69.625504997, 45.11415737], [-69.633994384, 45.110954242], [-69.640244455, 45.105905455], [-69.650406246, 45.102577117], [-69.664121336, 45.091910679], [-69.673759323, 45.087579173], [-69.677443903, 45.082501063], [-69.68065807, 45.083121763], [-69.68186537, 45.079256338], [-69.687024644, 45.075932049], [-69.697081429, 45.084316083], [-69.710078104, 45.085664819], [-69.712017611, 45.089073917], [-69.72053667, 45.093026635], [-69.721730769, 45.097182743], [-69.729477003, 45.101551205], [-69.733549283, 45.107370322], [-69.734368214, 45.111799787], [-69.731984234, 45.114434329], [-69.727251065, 45.115508997], [-69.724198379, 45.118989462], [-69.715053824, 45.121167815], [-69.711303795, 45.126412099], [-69.709312055, 45.125984105], [-69.708742632, 45.130177865], [-69.712150818, 45.13283642], [-69.709217614, 45.134210484], [-69.704630734, 45.133728402], [-69.704829655, 45.138339253], [-69.699107129, 45.141158798], [-69.70090221, 45.144467592], [-69.695584649, 45.145754147], [-69.693297712, 45.144192951], [-69.688631634, 45.14493865], [-69.685383446, 45.141605088], [-69.679886566, 45.145802219], [-69.676098223, 45.145506435], [-69.676781676, 45.147614528], [-69.674001804, 45.151145888], [-69.655560273, 45.159045249], [-69.665077546, 45.171674388], [-69.679474249, 45.183475705], [-69.665423067, 45.190749712], [-69.668424748, 45.192881509], [-69.67321319, 45.19162574], [-69.67859447, 45.197743793], [-69.67811127, 45.200392334], [-69.671741261, 45.2011968], [-69.669251546, 45.203339689], [-69.67191047, 45.206400988], [-69.671198905, 45.21181899], [-69.675956726, 45.212491673], [-69.679746576, 45.216338306], [-69.679670938, 45.214630203], [-69.682023656, 45.213921894], [-69.685570966, 45.21470243], [-69.692096382, 45.218556639], [-69.693258584, 45.221560922], [-69.698421419, 45.220750782], [-69.701706917, 45.222984954], [-69.703140608, 45.22034829], [-69.715674013, 45.217327167], [-69.738927396, 45.220822023], [-69.737766198, 45.222846333], [-69.740359485, 45.224441891], [-69.744933907, 45.224120124], [-69.753893206, 45.227672744], [-69.757996748, 45.227054819], [-69.764701198, 45.232436883], [-69.763911096, 45.236878654], [-69.765929423, 45.238068398], [-69.765891077, 45.242710309], [-69.769236745, 45.247863665], [-69.766039408, 45.252748407], [-69.769546984, 45.255906898], [-69.768766484, 45.257525749], [-69.771829406, 45.263091851], [-69.769794949, 45.265543988], [-69.767554881, 45.265754719], [-69.764388941, 45.271270404], [-69.761978097, 45.282435996], [-69.754772819, 45.286187037], [-69.754167625, 45.292191277], [-69.758607709, 45.296435666], [-69.756769834, 45.297451925], [-69.757493728, 45.299763723], [-69.740647818, 45.319147755], [-69.744177622, 45.32683244], [-69.744450791, 45.32817805], [-69.742438297, 45.329285502], [-69.744298884, 45.332944856], [-69.74056924, 45.337886434], [-69.743034921, 45.339115285], [-69.743318633, 45.342923042], [-69.739162452, 45.347887531], [-69.750711347, 45.36062895], [-69.762323932, 45.364947615], [-69.756329669, 45.370028109], [-69.754024748, 45.369741642], [-69.756375405, 45.374646287], [-69.760133252, 45.376054182], [-69.764566047, 45.381507767], [-69.763173812, 45.382818561], [-69.764586928, 45.385044598], [-69.76155574, 45.387010603], [-69.75989486, 45.392514925], [-69.762051741, 45.396744292], [-69.765114426, 45.398599323], [-69.76375844, 45.4053726], [-69.74987743, 45.411293411], [-69.747159244, 45.415492614], [-69.736551267, 45.421269438], [-69.730647331, 45.428286596], [-69.713871201, 45.433812139], [-69.712295656, 45.435741712], [-69.713358341, 45.437260877], [-69.700306034, 45.440201128], [-69.695688573, 45.443661892], [-69.694785304, 45.446223425], [-69.677047061, 45.447815749], [-69.668501872, 45.453358622], [-69.656031475, 45.43773899], [-69.64549076, 45.427449815], [-69.647962909, 45.426219335], [-69.646048079, 45.423776729], [-69.639960794, 45.41729847], [-69.636631346, 45.415829329], [-69.62846061, 45.416074268], [-69.618157678, 45.419354831], [-69.604521254, 45.430154565], [-69.599201911, 45.430490153], [-69.592413166, 45.422337682], [-69.588686398, 45.421127236], [-69.585448135, 45.416222295], [-69.573903162, 45.409576837], [-69.569647034, 45.402102103], [-69.5830681, 45.393574168], [-69.596905505, 45.389558308], [-69.599213864, 45.387701945], [-69.599590577, 45.384265635], [-69.595995469, 45.378554043], [-69.590572816, 45.376280278], [-69.584883459, 45.370117281], [-69.583928328, 45.3668052], [-69.577793293, 45.365294017], [-69.571788981, 45.360020522], [-69.568501809, 45.361573596], [-69.564270465, 45.360787656], [-69.555680381, 45.353820584], [-69.554693503, 45.352509342], [-69.566055921, 45.348061083], [-69.562673296, 45.343356591], [-69.563690187, 45.341001237], [-69.561566374, 45.340069632], [-69.569949361, 45.332034701], [-69.569756744, 45.32999179], [-69.561205964, 45.3244106], [-69.553408029, 45.323573983], [-69.547435576, 45.325231573], [-69.544175661, 45.321488289], [-69.544165307, 45.317095703], [-69.540349957, 45.314784816], [-69.54530149, 45.307666329], [-69.545123888, 45.305404411], [-69.548136305, 45.30449377], [-69.551926697, 45.30632811], [-69.554323815, 45.305293409], [-69.55821846, 45.299273567], [-69.562700281, 45.296207951], [-69.561810251, 45.295212225], [-69.563223898, 45.292628121], [-69.567042531, 45.289616963], [-69.562655343, 45.280462375], [-69.549907667, 45.281743021], [-69.538756577, 45.270111602], [-69.537095912, 45.265620752], [-69.534711548, 45.264679098], [-69.534316595, 45.26654267], [-69.524063113, 45.26768435], [-69.522797143, 45.269196339], [-69.524342083, 45.271012329], [-69.52289563, 45.27160506], [-69.519105615, 45.271262426], [-69.514165129, 45.273234278], [-69.508231412, 45.272520659], [-69.49620332, 45.277859021], [-69.490644917, 45.275255553], [-69.484357782, 45.26829412], [-69.478675119, 45.266917256], [-69.46967793, 45.260571257], [-69.470380583, 45.258903494], [-69.468674502, 45.255728702], [-69.460625386, 45.246581967], [-69.458696222, 45.240777587], [-69.438173164, 45.229747361], [-69.419769572, 45.232271557], [-69.410621913, 45.224897428], [-69.397479688, 45.223764248], [-69.392990604, 45.225462305], [-69.386730649, 45.222705913], [-69.381889762, 45.223695781], [-69.3791947, 45.221937172], [-69.371156551, 45.226667117], [-69.364343225, 45.226456601], [-69.354865628, 45.21882287], [-69.356625023, 45.214632812], [-69.362604708, 45.210348634], [-69.369851545, 45.209050162], [-69.367708919, 45.205527478], [-69.36529405, 45.205598246], [-69.363441858, 45.202019338], [-69.354083056, 45.197987028], [-69.354466025, 45.196256335], [-69.348751033, 45.190041621], [-69.349325964, 45.187703658], [-69.343303801, 45.187374756], [-69.341685925, 45.18451952], [-69.336567084, 45.185006643], [-69.314638475, 45.175240629], [-69.315696176, 45.172940139], [-69.319632133, 45.170907244], [-69.318152514, 45.169709048], [-69.321395296, 45.164110274], [-69.337611196, 45.162358902], [-69.323145907, 45.1596249], [-69.314140401, 45.153650704], [-69.3355595, 45.147907873], [-69.338594276, 45.145278211], [-69.338629914, 45.142771035], [-69.343295607, 45.139140217], [-69.338594418, 45.133650709], [-69.34201763, 45.129701433], [-69.337924051, 45.123180626], [-69.340320311, 45.119252714], [-69.338494498, 45.116272995], [-69.348312375, 45.113775399], [-69.351456705, 45.110597805], [-69.352381512, 45.106090489], [-69.36301153, 45.106025495], [-69.370588955, 45.104223036], [-69.371872715, 45.101695065], [-69.373918079, 45.103284398], [-69.383801348, 45.102978318], [-69.378443781, 45.094834248], [-69.381945875, 45.092219237], [-69.390318032, 45.091643602], [-69.395105434, 45.094344951], [-69.391322276, 45.096950793], [-69.397946258, 45.106972356]]]}, 'properties': {}, 'id': 0}]}
Make a quick map of the selected monitoring station and the upstream boundary returned by get_basin().
[6]:
# Get the feature associated with the monitoring site
# More examples of how to use the get_features() function are given below
site_gdf = nldi.get_features(feature_source=feat_source, feature_id=feat_id)
# Set the Coordinate Reference System (CRS) for the GeoDataFrames
# containing the basin boundary coordinates and the monitoring site
# epsg='4326' for WGS84
basin_gdf.set_crs(epsg="4326", inplace=True)
site_gdf.set_crs(epsg="4326", inplace=True)
# Create a base map using folium
m = folium.Map(location=[site_gdf.geometry.x[0], site_gdf.geometry.y[0]], zoom_start=10)
# Add the selected monitoring location and basin features to the map
folium.GeoJson(site_gdf, name="Monitoring Location").add_to(m)
folium.GeoJson(basin_gdf, name="Basin Boundary", color="red").add_to(m)
# Zoom the map to the bounds of the data
bounds = m.get_bounds()
m.fit_bounds(bounds)
# Add layer control to toggle layers
folium.LayerControl().add_to(m)
# Display the map
m
[6]:
Examples for the get_flowlines() function:
The following examples show how to use the get_flowlines() function from the dataretrieval package to get flowline data from the USGS NLDI. Flowlines can be traced upstream or downstream from any indexed feature (e.g., a USGS monitoring location), and the result can include mainstem only or tributaries. Flowlines are returned for the specified navigation in WGS84 latitude/longitude coordinats in GeoJSON format.
The following arguments are supported:
navigation_mode (string): Navigation mode (allowed values are ‘UM’, ‘DM’, ‘UT’, ‘DD’). ‘UM’ = Upstream on the mainstem. ‘DM’ = Downstream on the mainstem. ‘UT’ = Upstream with tributaries. ‘DD’ = Downstream with diversions.
feature_source (string): The name of the NLDI feature source.
feature_id (string): The identifier of the NLDI feature.
comid (integer): COMID (required if feature_resource is not specified).
distance (integer): Distance in kilometers (default is 5). This distance parameter dictates the distance to navigate.
as_json (boolean): If True, the data will be returned as a python dictionary. If False, the data will be returned as a geopandas dataframe (default is False).
Example 1: Get the flowline data using feature_source and feature_id
Get the flowline data tracing upstream on the mainstem from a USGS water quality monitoring site with the result returned as a geopandas dataframe. In this example, we will trace upstream including tributaries and include the distance argument with a distance that is sufficiently large to retrieve all of the flowlines upstream of the monitoring station.
[7]:
feat_source = "WQP"
feat_id = "USGS-01031500"
flowlines_gdf = nldi.get_flowlines(
navigation_mode="UT", feature_source=feat_source, feature_id=feat_id, distance=100
)
display(flowlines_gdf)
| geometry | nhdplus_comid | |
|---|---|---|
| 0 | LINESTRING (-69.34734 45.17172, -69.34637 45.1... | 1722317 |
| 1 | LINESTRING (-69.3509 45.1719, -69.34886 45.171... | 1722307 |
| 2 | LINESTRING (-69.35549 45.15757, -69.35404 45.1... | 1722367 |
| 3 | LINESTRING (-69.37278 45.16756, -69.37275 45.1... | 1722341 |
| 4 | LINESTRING (-69.36282 45.19797, -69.36204 45.1... | 1722305 |
| ... | ... | ... |
| 427 | LINESTRING (-69.67081 45.43626, -69.67149 45.4... | 1722767 |
| 428 | LINESTRING (-69.69766 45.43335, -69.69776 45.4... | 1722771 |
| 429 | LINESTRING (-69.67189 45.44838, -69.67082 45.4... | 1720901 |
| 430 | LINESTRING (-69.67497 45.44134, -69.67334 45.4... | 1720951 |
| 431 | LINESTRING (-69.69708 45.43534, -69.69766 45.4... | 1723451 |
432 rows × 2 columns
Get the same flowline data with the result returned as GeoJSON (as_json=True)
[8]:
flowlines_json_data = nldi.get_flowlines(
navigation_mode="UT", feature_source=feat_source, feature_id=feat_id, as_json=True
)
print(flowlines_json_data)
{'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.3473408, 45.1717178], [-69.346371204, 45.171557695], [-69.344141006, 45.171099894], [-69.342492707, 45.170939393], [-69.338290706, 45.171121098], [-69.336480401, 45.171372093], [-69.330887705, 45.172581993], [-69.328074701, 45.173472695], [-69.327072501, 45.1735866], [-69.326135106, 45.173586197], [-69.324939206, 45.173471399], [-69.323581606, 45.173516497], [-69.321544804, 45.173904397], [-69.320801102, 45.174178399], [-69.3203483, 45.174475498], [-69.319184206, 45.174817793], [-69.317923404, 45.175068699], [-69.316436402, 45.175159395], [-69.315757506, 45.175113499], [-69.314884901, 45.174998693], [-69.314400002, 45.174998395]]}, 'properties': {'nhdplus_comid': 1722317}, 'id': 1722317}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.350896306, 45.171901599], [-69.348859906, 45.171969794], [-69.347534806, 45.171832196], [-69.3473408, 45.1717178]]}, 'properties': {'nhdplus_comid': 1722307}, 'id': 1722307}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.355490506, 45.157566898], [-69.354036301, 45.158046797], [-69.353099003, 45.1584353], [-69.353034303, 45.158572495], [-69.353066601, 45.1588469], [-69.353518605, 45.159807198], [-69.353680104, 45.1600587], [-69.353680007, 45.160378799], [-69.353259802, 45.160493098], [-69.352678202, 45.160401396], [-69.352290407, 45.160287097], [-69.351934902, 45.160378493], [-69.351999402, 45.160629995], [-69.352451801, 45.160950199], [-69.354067303, 45.161796398], [-69.354648903, 45.162208095], [-69.355876707, 45.163351394], [-69.356167406, 45.163877293], [-69.356425703, 45.164471798], [-69.356393002, 45.165889293], [-69.356231302, 45.166072197], [-69.355423301, 45.166414998], [-69.354776502, 45.167146496], [-69.354033105, 45.167535096], [-69.352481604, 45.167969294], [-69.352126002, 45.168243594], [-69.351931803, 45.168563694], [-69.351737805, 45.168975197], [-69.351575807, 45.169752494], [-69.351349607, 45.169958197], [-69.350379705, 45.170255199], [-69.349410005, 45.170346498], [-69.349022001, 45.170552194], [-69.348698705, 45.171077996], [-69.348472305, 45.171215199], [-69.347631902, 45.171420693], [-69.3473408, 45.1717178]]}, 'properties': {'nhdplus_comid': 1722367}, 'id': 1722367}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.372779302, 45.1675594], [-69.372746706, 45.167445093], [-69.372229703, 45.167193599], [-69.3716157, 45.166736297], [-69.371001601, 45.166553393], [-69.369773507, 45.166530497], [-69.368674606, 45.166804895], [-69.367834106, 45.167124994], [-69.366638206, 45.167696498], [-69.364989705, 45.168267995], [-69.363761604, 45.1685194], [-69.361111201, 45.168839298], [-69.359494902, 45.169342093], [-69.357813805, 45.170393594], [-69.357102707, 45.170736395], [-69.356294602, 45.171056494], [-69.3550338, 45.171399198], [-69.352124505, 45.171855994], [-69.350896306, 45.171901599]]}, 'properties': {'nhdplus_comid': 1722341}, 'id': 1722341}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.362819001, 45.197967499], [-69.362043001, 45.1973501], [-69.359520905, 45.195977993], [-69.3586803, 45.195406295], [-69.358292401, 45.194926195], [-69.358163007, 45.194811799], [-69.358033806, 45.194605999], [-69.358001605, 45.193897195], [-69.357775405, 45.193622895], [-69.356255904, 45.192593798], [-69.355383001, 45.191839196], [-69.354445606, 45.191175997], [-69.353637606, 45.190261394], [-69.353508204, 45.190032698], [-69.353088103, 45.189621098], [-69.3530882, 45.189300999], [-69.353346907, 45.189049594], [-69.355061002, 45.187998198], [-69.356063306, 45.1874495], [-69.357130401, 45.186992295], [-69.357518502, 45.186649397], [-69.357615605, 45.186375193], [-69.357648402, 45.1845918], [-69.357810207, 45.184203096], [-69.358424604, 45.183814496], [-69.358392507, 45.182694197], [-69.357843101, 45.182122596], [-69.357746102, 45.181916796], [-69.357584603, 45.181733899], [-69.357455507, 45.181253694], [-69.357455604, 45.180361994], [-69.357585102, 45.179927595], [-69.357617401, 45.179538898], [-69.357779205, 45.179150194], [-69.358393602, 45.1781445], [-69.358458504, 45.177709997], [-69.358264603, 45.177435599], [-69.357004106, 45.176337898], [-69.3560021, 45.175811999], [-69.353739701, 45.174874298], [-69.352770001, 45.174439795], [-69.351865403, 45.173867993], [-69.351283707, 45.173296295], [-69.351057507, 45.172838897], [-69.350928403, 45.172427498], [-69.350896306, 45.171901599]]}, 'properties': {'nhdplus_comid': 1722305}, 'id': 1722305}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.3868066, 45.168175794], [-69.3864187, 45.168175794], [-69.383186705, 45.168884896], [-69.382055506, 45.168976396], [-69.3813444, 45.168862194], [-69.379889905, 45.168473594], [-69.378209107, 45.168107897], [-69.376980901, 45.167810798], [-69.376140602, 45.167650796], [-69.375300206, 45.167719394], [-69.374492206, 45.167787999], [-69.373942703, 45.167787999], [-69.373328507, 45.167719394], [-69.373037703, 45.167605095], [-69.372779302, 45.1675594]]}, 'properties': {'nhdplus_comid': 1722335}, 'id': 1722335}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.384417802, 45.182968698], [-69.384611607, 45.182122797], [-69.384708606, 45.182008393], [-69.385581307, 45.181665398], [-69.386098705, 45.181390993], [-69.3860984, 45.181070894], [-69.386001304, 45.180773593], [-69.385839604, 45.180316396], [-69.3857425, 45.179790497], [-69.385516107, 45.179584794], [-69.385095805, 45.179447696], [-69.383835204, 45.179379195], [-69.383705907, 45.179287799], [-69.3834472, 45.179013498], [-69.383220904, 45.178624794], [-69.383091301, 45.177984595], [-69.382832602, 45.177321598], [-69.382541604, 45.176978596], [-69.382444605, 45.176727198], [-69.3823153, 45.1765671], [-69.382088907, 45.176064193], [-69.382024102, 45.1756984], [-69.381733105, 45.175081097], [-69.381668404, 45.174532399], [-69.381474502, 45.174257897], [-69.380827807, 45.173754998], [-69.380569302, 45.173435099], [-69.3804399, 45.173114896], [-69.380569205, 45.172954895], [-69.380795404, 45.172863394], [-69.381280303, 45.172566198], [-69.381312504, 45.172223195], [-69.381150901, 45.171994597], [-69.3810862, 45.171583094], [-69.380924605, 45.171377294], [-69.380504407, 45.171148695], [-69.378661804, 45.170782998], [-69.378209405, 45.170600094], [-69.377627604, 45.170508698], [-69.375235803, 45.170622997], [-69.374524601, 45.170485899], [-69.374007404, 45.170440197], [-69.373102404, 45.170234397], [-69.372682206, 45.169937193], [-69.372456007, 45.169639997], [-69.372100405, 45.168519594], [-69.372262202, 45.168222494], [-69.372488305, 45.168016694], [-69.372779302, 45.1675594]]}, 'properties': {'nhdplus_comid': 1722333}, 'id': 1722333}]}
Add the retrieved flowline data to the map for visualization of what is returned. To change the distance traced upstream on the flowlines, change the value of the distance argument in the get_flowlines() function call and set the distance upstream you want to trace. You can also change the navigation_mode argument to include or exclude tributaries.
[9]:
# Get the feature associated with the monitoring site
# More examples of how to use the get_features() function are given below
site_gdf = nldi.get_features(feature_source=feat_source, feature_id=feat_id)
# Set the Coordinate Reference System (CRS) for the GeoDataFrames
# containing the basin boundary coordinates and the monitoring site
# epsg='4326' for WGS84
site_gdf.set_crs(epsg="4326", inplace=True)
flowlines_gdf.set_crs(epsg="4326", inplace=True)
# Create a base map using folium
m = folium.Map(location=[site_gdf.geometry.x[0], site_gdf.geometry.y[0]], zoom_start=10)
# Add the selected monitoring location and basin features to the map
folium.GeoJson(site_gdf, name="Monitoring Location").add_to(m)
folium.GeoJson(basin_gdf, name="Basin Boundary", color="red").add_to(m)
folium.GeoJson(flowlines_gdf, name="Flowlines", color="blue").add_to(m)
# Zoom the map to the bounds of the data
bounds = m.get_bounds()
m.fit_bounds(bounds)
# Add layer control to toggle layers
folium.LayerControl().add_to(m)
# Display the map
m
[9]:
Example 2: Get flowline data using a NHDPlus COMID
In some cases, you may wish to get flowline data associated with a NHDPlus COMID rather than flowlines associated with a monitoring station. The following shows how to get flowline data for a COMID as a geopandas dataframe.
[10]:
gdf = nldi.get_flowlines(navigation_mode="UM", comid=13294314)
display(gdf)
| geometry | nhdplus_comid | |
|---|---|---|
| 0 | LINESTRING (-89.48229 43.10496, -89.48217 43.1... | 13294314 |
To get the same flowline data as GeoJSON (as_json=True) instead of as a geopandas dataframe, do the following.
[11]:
flowlines_json_data = nldi.get_flowlines(
navigation_mode="UM", comid=13294314, as_json=True
)
print(flowlines_json_data)
{'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-89.482287705, 43.1049596], [-89.482173502, 43.104764298], [-89.481962003, 43.104193598], [-89.478003301, 43.1009003], [-89.474274702, 43.0990991], [-89.471394107, 43.098147698], [-89.470654801, 43.098110899], [-89.469584204, 43.097653598], [-89.455723904, 43.096961297], [-89.4536274, 43.097529493], [-89.451938607, 43.097714297], [-89.450211607, 43.098300897], [-89.449472405, 43.098263897], [-89.448879704, 43.098638095], [-89.448325306, 43.098610297], [-89.4471654, 43.099090695], [-89.446375206, 43.099589594], [-89.445820704, 43.0995619], [-89.441537805, 43.101635799], [-89.435227506, 43.105492599], [-89.433882602, 43.105963595], [-89.433328107, 43.105935797], [-89.432537705, 43.106434599], [-89.430083804, 43.106849998], [-89.429293305, 43.1073488], [-89.426310502, 43.107468195], [-89.410033204, 43.106784396]]}, 'properties': {'nhdplus_comid': 13294314}, 'id': 13294314}]}
Examples for the get_features() function:
The following examples show how to use the get_features() function from the dataretrieval package to get features data from the USGS NLDI. The get_features() function returns all features found along the specified navigation as points in WGS84 latitude/longitude endoced as GeoJSON.
The following arguments are supported:
data_source (string): The name of the NLDI data source.
navigation_mode (string): Navigation mode (allowed values are ‘UM’, ‘DM’, ‘UT’, ‘DD’). ‘UM’ = Upstream on the mainstem. ‘DM’ = Downstream on the mainstem. ‘UT’ = Upstream with tributaries. ‘DD’ = Downstream with diversions.
feature_source (string): The name of the NLDI feature source.
feature_id (string): The identifier of the NLDI feature (required if feature_source is specified).
comid (integer): COMID (required if feature_source is not specified).
distance (integer): Distance in kilometers (default is 50). This distance parameter dictates the distance to navigate.
lat (float): Latitude (required if feature for a specific location is specified).
long (float): Longitude (required if feature for a specific location is specified).
as_json (boolean): If True, the data will be returned as a python dictionary. If False, the data will be returned as a geopandas dataframe (default is False).
Example 2: Get information about indexed features
Sometimes you may want to get information about indexed features without using any sort of navigation path. In this case, you can use get_features() without specifying a navigation_mode. The following code returns the feature information for a water quality monitoring station from the Water Quality Portal.
[15]:
gdf = nldi.get_features(feature_source="WQP", feature_id="USGS-01031500")
display(gdf)
| geometry | identifier | navigation | name | source | sourceName | comid | type | uri | reachcode | measure | mainstem | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | POINT (-69.31472 45.175) | USGS-01031500 | https://api.water.usgs.gov/nldi/linked-data/WQ... | Piscataquis River near Dover-Foxcroft, Maine | WQP | Water Quality Portal | 1722317 | varies | https://www.waterqualitydata.us/provider/NWIS/... | None | None | https://geoconnex.us/ref/mainstems/2244663 |
Example 3: Get information about indexed features for a specific location
Get information about indexed features for a specific location by passing latitude and longitude coordinates into the get_features() function.
[16]:
gdf = nldi.get_features(lat=43.073051, long=-89.401230)
display(gdf)
| geometry | identifier | navigation | source | sourceName | comid | |
|---|---|---|---|---|---|---|
| 0 | LINESTRING (-89.39747 43.05746, -89.38955 43.0... | 13294374 | https://api.water.usgs.gov/nldi/linked-data/co... | comid | NHDPlus comid | 13294374 |
Examples for the search() function:
The following examples show how to use the search() function from the dataretrieval package to get data (basins, flowlines, and features) from the USGS NLDI. You can use the search() function instead of the get_basin(), get_flowlines(), and get_features() functions described above. The search function returns data as a python dictionary.
The following arguments are supported:
feature_source (string): The name of the NLDI feature source.
feature_id (string): The identifier of the NLDI feature (required if feature_resource is specified).
navigation_mode (string): Navigation mode (allowed values are ‘UM’, ‘DM’, ‘UT’, ‘DD’). ‘UM’ = Upstream on the mainstem. ‘DM’ = Downstream on the mainstem. ‘UT’ = Upstream with tributaries. ‘DD’ = Downstream with diversions.
data_source (string): The name of the NLDI data source.
find (string): The specific data type to search for. Allowed values are ‘basin’, ‘flowlines’, and ‘feature’ (default is ‘features’).
comid (integer): NHDPlus COMID (required if feature_source is not specified).
lat (float): Latitude (required if feature for a specific location is specified).
long (float): Longitude (required if feature for a specific location is specified).
distance (integer): Distance in kilometers (default is 50). This distance parameter dictates the distance to navigate.
Example 1: Get the upstream basin for an indexed water quality monitoring station
Instead of using get_basin(), the search() function can be used to retrieve the upstream contributing area for a water quality station from the Water Quality Portal.
[17]:
# set the parameters needed to retrieve data
feat_source = "WQP"
feat_id = "USGS-01031500"
[18]:
basin_data = nldi.search(feature_source=feat_source, feature_id=feat_id, find="basin")
print(basin_data)
{'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'geometry': {'type': 'Polygon', 'coordinates': [[[-69.397946258, 45.106972356], [-69.40219152, 45.114030014], [-69.407125572, 45.118435177], [-69.419563965, 45.116669284], [-69.424810417, 45.118491808], [-69.427626011, 45.115395434], [-69.433170808, 45.114987067], [-69.434026579, 45.112300271], [-69.437056389, 45.111286284], [-69.434583954, 45.108209926], [-69.437017124, 45.106724816], [-69.437965741, 45.103106248], [-69.430751934, 45.096708481], [-69.438707605, 45.092757144], [-69.437530466, 45.09148659], [-69.443365357, 45.088036416], [-69.450011744, 45.096198713], [-69.456431473, 45.096318905], [-69.458671277, 45.093381948], [-69.466330988, 45.091972966], [-69.465494917, 45.090120444], [-69.471145311, 45.089000994], [-69.477211234, 45.08532648], [-69.476508023, 45.082534049], [-69.484731475, 45.07923952], [-69.488200392, 45.074243489], [-69.490295351, 45.074948198], [-69.494661788, 45.087598976], [-69.506833384, 45.10073424], [-69.505709545, 45.104090814], [-69.507071161, 45.104863132], [-69.505577274, 45.107341766], [-69.506618047, 45.109105416], [-69.520118288, 45.102490704], [-69.530267694, 45.101054459], [-69.535995068, 45.094192913], [-69.556675056, 45.084444328], [-69.555679368, 45.081999783], [-69.559658804, 45.08183114], [-69.563278032, 45.086880581], [-69.570976172, 45.087757391], [-69.57884143, 45.093010126], [-69.582747996, 45.09199403], [-69.582038404, 45.090404448], [-69.587461217, 45.089900572], [-69.591296871, 45.087154687], [-69.594857435, 45.087163373], [-69.601213297, 45.084176225], [-69.606525796, 45.088031189], [-69.606624921, 45.091135528], [-69.6119044, 45.094643976], [-69.6125038, 45.097845801], [-69.610940075, 45.099648015], [-69.612678151, 45.105053017], [-69.607625713, 45.108294984], [-69.609570865, 45.111173266], [-69.610675829, 45.119731487], [-69.623461217, 45.113613404], [-69.625504997, 45.11415737], [-69.633994384, 45.110954242], [-69.640244455, 45.105905455], [-69.650406246, 45.102577117], [-69.664121336, 45.091910679], [-69.673759323, 45.087579173], [-69.677443903, 45.082501063], [-69.68065807, 45.083121763], [-69.68186537, 45.079256338], [-69.687024644, 45.075932049], [-69.697081429, 45.084316083], [-69.710078104, 45.085664819], [-69.712017611, 45.089073917], [-69.72053667, 45.093026635], [-69.721730769, 45.097182743], [-69.729477003, 45.101551205], [-69.733549283, 45.107370322], [-69.734368214, 45.111799787], [-69.731984234, 45.114434329], [-69.727251065, 45.115508997], [-69.724198379, 45.118989462], [-69.715053824, 45.121167815], [-69.711303795, 45.126412099], [-69.709312055, 45.125984105], [-69.708742632, 45.130177865], [-69.712150818, 45.13283642], [-69.709217614, 45.134210484], [-69.704630734, 45.133728402], [-69.704829655, 45.138339253], [-69.699107129, 45.141158798], [-69.70090221, 45.144467592], [-69.695584649, 45.145754147], [-69.693297712, 45.144192951], [-69.688631634, 45.14493865], [-69.685383446, 45.141605088], [-69.679886566, 45.145802219], [-69.676098223, 45.145506435], [-69.676781676, 45.147614528], [-69.674001804, 45.151145888], [-69.655560273, 45.159045249], [-69.665077546, 45.171674388], [-69.679474249, 45.183475705], [-69.665423067, 45.190749712], [-69.668424748, 45.192881509], [-69.67321319, 45.19162574], [-69.67859447, 45.197743793], [-69.67811127, 45.200392334], [-69.671741261, 45.2011968], [-69.669251546, 45.203339689], [-69.67191047, 45.206400988], [-69.671198905, 45.21181899], [-69.675956726, 45.212491673], [-69.679746576, 45.216338306], [-69.679670938, 45.214630203], [-69.682023656, 45.213921894], [-69.685570966, 45.21470243], [-69.692096382, 45.218556639], [-69.693258584, 45.221560922], [-69.698421419, 45.220750782], [-69.701706917, 45.222984954], [-69.703140608, 45.22034829], [-69.715674013, 45.217327167], [-69.738927396, 45.220822023], [-69.737766198, 45.222846333], [-69.740359485, 45.224441891], [-69.744933907, 45.224120124], [-69.753893206, 45.227672744], [-69.757996748, 45.227054819], [-69.764701198, 45.232436883], [-69.763911096, 45.236878654], [-69.765929423, 45.238068398], [-69.765891077, 45.242710309], [-69.769236745, 45.247863665], [-69.766039408, 45.252748407], [-69.769546984, 45.255906898], [-69.768766484, 45.257525749], [-69.771829406, 45.263091851], [-69.769794949, 45.265543988], [-69.767554881, 45.265754719], [-69.764388941, 45.271270404], [-69.761978097, 45.282435996], [-69.754772819, 45.286187037], [-69.754167625, 45.292191277], [-69.758607709, 45.296435666], [-69.756769834, 45.297451925], [-69.757493728, 45.299763723], [-69.740647818, 45.319147755], [-69.744177622, 45.32683244], [-69.744450791, 45.32817805], [-69.742438297, 45.329285502], [-69.744298884, 45.332944856], [-69.74056924, 45.337886434], [-69.743034921, 45.339115285], [-69.743318633, 45.342923042], [-69.739162452, 45.347887531], [-69.750711347, 45.36062895], [-69.762323932, 45.364947615], [-69.756329669, 45.370028109], [-69.754024748, 45.369741642], [-69.756375405, 45.374646287], [-69.760133252, 45.376054182], [-69.764566047, 45.381507767], [-69.763173812, 45.382818561], [-69.764586928, 45.385044598], [-69.76155574, 45.387010603], [-69.75989486, 45.392514925], [-69.762051741, 45.396744292], [-69.765114426, 45.398599323], [-69.76375844, 45.4053726], [-69.74987743, 45.411293411], [-69.747159244, 45.415492614], [-69.736551267, 45.421269438], [-69.730647331, 45.428286596], [-69.713871201, 45.433812139], [-69.712295656, 45.435741712], [-69.713358341, 45.437260877], [-69.700306034, 45.440201128], [-69.695688573, 45.443661892], [-69.694785304, 45.446223425], [-69.677047061, 45.447815749], [-69.668501872, 45.453358622], [-69.656031475, 45.43773899], [-69.64549076, 45.427449815], [-69.647962909, 45.426219335], [-69.646048079, 45.423776729], [-69.639960794, 45.41729847], [-69.636631346, 45.415829329], [-69.62846061, 45.416074268], [-69.618157678, 45.419354831], [-69.604521254, 45.430154565], [-69.599201911, 45.430490153], [-69.592413166, 45.422337682], [-69.588686398, 45.421127236], [-69.585448135, 45.416222295], [-69.573903162, 45.409576837], [-69.569647034, 45.402102103], [-69.5830681, 45.393574168], [-69.596905505, 45.389558308], [-69.599213864, 45.387701945], [-69.599590577, 45.384265635], [-69.595995469, 45.378554043], [-69.590572816, 45.376280278], [-69.584883459, 45.370117281], [-69.583928328, 45.3668052], [-69.577793293, 45.365294017], [-69.571788981, 45.360020522], [-69.568501809, 45.361573596], [-69.564270465, 45.360787656], [-69.555680381, 45.353820584], [-69.554693503, 45.352509342], [-69.566055921, 45.348061083], [-69.562673296, 45.343356591], [-69.563690187, 45.341001237], [-69.561566374, 45.340069632], [-69.569949361, 45.332034701], [-69.569756744, 45.32999179], [-69.561205964, 45.3244106], [-69.553408029, 45.323573983], [-69.547435576, 45.325231573], [-69.544175661, 45.321488289], [-69.544165307, 45.317095703], [-69.540349957, 45.314784816], [-69.54530149, 45.307666329], [-69.545123888, 45.305404411], [-69.548136305, 45.30449377], [-69.551926697, 45.30632811], [-69.554323815, 45.305293409], [-69.55821846, 45.299273567], [-69.562700281, 45.296207951], [-69.561810251, 45.295212225], [-69.563223898, 45.292628121], [-69.567042531, 45.289616963], [-69.562655343, 45.280462375], [-69.549907667, 45.281743021], [-69.538756577, 45.270111602], [-69.537095912, 45.265620752], [-69.534711548, 45.264679098], [-69.534316595, 45.26654267], [-69.524063113, 45.26768435], [-69.522797143, 45.269196339], [-69.524342083, 45.271012329], [-69.52289563, 45.27160506], [-69.519105615, 45.271262426], [-69.514165129, 45.273234278], [-69.508231412, 45.272520659], [-69.49620332, 45.277859021], [-69.490644917, 45.275255553], [-69.484357782, 45.26829412], [-69.478675119, 45.266917256], [-69.46967793, 45.260571257], [-69.470380583, 45.258903494], [-69.468674502, 45.255728702], [-69.460625386, 45.246581967], [-69.458696222, 45.240777587], [-69.438173164, 45.229747361], [-69.419769572, 45.232271557], [-69.410621913, 45.224897428], [-69.397479688, 45.223764248], [-69.392990604, 45.225462305], [-69.386730649, 45.222705913], [-69.381889762, 45.223695781], [-69.3791947, 45.221937172], [-69.371156551, 45.226667117], [-69.364343225, 45.226456601], [-69.354865628, 45.21882287], [-69.356625023, 45.214632812], [-69.362604708, 45.210348634], [-69.369851545, 45.209050162], [-69.367708919, 45.205527478], [-69.36529405, 45.205598246], [-69.363441858, 45.202019338], [-69.354083056, 45.197987028], [-69.354466025, 45.196256335], [-69.348751033, 45.190041621], [-69.349325964, 45.187703658], [-69.343303801, 45.187374756], [-69.341685925, 45.18451952], [-69.336567084, 45.185006643], [-69.314638475, 45.175240629], [-69.315696176, 45.172940139], [-69.319632133, 45.170907244], [-69.318152514, 45.169709048], [-69.321395296, 45.164110274], [-69.337611196, 45.162358902], [-69.323145907, 45.1596249], [-69.314140401, 45.153650704], [-69.3355595, 45.147907873], [-69.338594276, 45.145278211], [-69.338629914, 45.142771035], [-69.343295607, 45.139140217], [-69.338594418, 45.133650709], [-69.34201763, 45.129701433], [-69.337924051, 45.123180626], [-69.340320311, 45.119252714], [-69.338494498, 45.116272995], [-69.348312375, 45.113775399], [-69.351456705, 45.110597805], [-69.352381512, 45.106090489], [-69.36301153, 45.106025495], [-69.370588955, 45.104223036], [-69.371872715, 45.101695065], [-69.373918079, 45.103284398], [-69.383801348, 45.102978318], [-69.378443781, 45.094834248], [-69.381945875, 45.092219237], [-69.390318032, 45.091643602], [-69.395105434, 45.094344951], [-69.391322276, 45.096950793], [-69.397946258, 45.106972356]]]}, 'properties': {}, 'id': 0}]}
Example 2: Get flowlines data for a specified feature source
Instead of using get_flowlines(), the search() function can be used to retrieve the flowlines traced upstream or downstream from a feature. In this case, we can get the flowlines upstream along the mainstem for the water quality station in the last example.
[19]:
flowlines_data = nldi.search(
navigation_mode="UM",
feature_source=feat_source,
feature_id=feat_id,
find="flowlines",
)
print(flowlines_data)
{'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.3473408, 45.1717178], [-69.346371204, 45.171557695], [-69.344141006, 45.171099894], [-69.342492707, 45.170939393], [-69.338290706, 45.171121098], [-69.336480401, 45.171372093], [-69.330887705, 45.172581993], [-69.328074701, 45.173472695], [-69.327072501, 45.1735866], [-69.326135106, 45.173586197], [-69.324939206, 45.173471399], [-69.323581606, 45.173516497], [-69.321544804, 45.173904397], [-69.320801102, 45.174178399], [-69.3203483, 45.174475498], [-69.319184206, 45.174817793], [-69.317923404, 45.175068699], [-69.316436402, 45.175159395], [-69.315757506, 45.175113499], [-69.314884901, 45.174998693], [-69.314400002, 45.174998395]]}, 'properties': {'nhdplus_comid': 1722317}, 'id': 1722317}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.350896306, 45.171901599], [-69.348859906, 45.171969794], [-69.347534806, 45.171832196], [-69.3473408, 45.1717178]]}, 'properties': {'nhdplus_comid': 1722307}, 'id': 1722307}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.372779302, 45.1675594], [-69.372746706, 45.167445093], [-69.372229703, 45.167193599], [-69.3716157, 45.166736297], [-69.371001601, 45.166553393], [-69.369773507, 45.166530497], [-69.368674606, 45.166804895], [-69.367834106, 45.167124994], [-69.366638206, 45.167696498], [-69.364989705, 45.168267995], [-69.363761604, 45.1685194], [-69.361111201, 45.168839298], [-69.359494902, 45.169342093], [-69.357813805, 45.170393594], [-69.357102707, 45.170736395], [-69.356294602, 45.171056494], [-69.3550338, 45.171399198], [-69.352124505, 45.171855994], [-69.350896306, 45.171901599]]}, 'properties': {'nhdplus_comid': 1722341}, 'id': 1722341}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.3868066, 45.168175794], [-69.3864187, 45.168175794], [-69.383186705, 45.168884896], [-69.382055506, 45.168976396], [-69.3813444, 45.168862194], [-69.379889905, 45.168473594], [-69.378209107, 45.168107897], [-69.376980901, 45.167810798], [-69.376140602, 45.167650796], [-69.375300206, 45.167719394], [-69.374492206, 45.167787999], [-69.373942703, 45.167787999], [-69.373328507, 45.167719394], [-69.373037703, 45.167605095], [-69.372779302, 45.1675594]]}, 'properties': {'nhdplus_comid': 1722335}, 'id': 1722335}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.418689802, 45.172251798], [-69.4186754, 45.172237597], [-69.418590605, 45.172153294], [-69.418505706, 45.172069095], [-69.418420903, 45.171984799], [-69.418336101, 45.171900496], [-69.418251202, 45.171816297], [-69.418166406, 45.171731994], [-69.418081604, 45.171647795], [-69.417996705, 45.171563499], [-69.417911902, 45.171479195], [-69.417827003, 45.171394996], [-69.4177422, 45.171310693], [-69.417657405, 45.171226397], [-69.417572506, 45.171142198], [-69.417487703, 45.171057895], [-69.417402901, 45.170973696], [-69.417318001, 45.1708894], [-69.417233206, 45.170805097], [-69.417148307, 45.170720898], [-69.417102903, 45.170687899], [-69.4170008, 45.170613796], [-69.416898705, 45.170539699], [-69.416796505, 45.170465693], [-69.416694403, 45.170391597], [-69.4165923, 45.170317493], [-69.416490205, 45.170243397], [-69.416388005, 45.170169294], [-69.416285902, 45.170095198], [-69.416183807, 45.170021199], [-69.416081704, 45.169947095], [-69.415979505, 45.169872999], [-69.415877402, 45.169798896], [-69.415775307, 45.1697248], [-69.415673204, 45.169650696], [-69.415571004, 45.169576697], [-69.415468901, 45.169502594], [-69.415366806, 45.169428498], [-69.415264703, 45.169354394], [-69.415162504, 45.169280298], [-69.415060401, 45.169206195], [-69.414958306, 45.169132099], [-69.414856203, 45.169058099], [-69.414754003, 45.168983996], [-69.414651901, 45.1689099], [-69.414549805, 45.168835796], [-69.414447702, 45.168761693], [-69.414345607, 45.168687597], [-69.4142434, 45.168613493], [-69.414141305, 45.168539494], [-69.414006606, 45.168506995], [-69.413868003, 45.168473698], [-69.413729407, 45.168440297], [-69.413590804, 45.168406993], [-69.413452201, 45.1683736], [-69.413313605, 45.168340296], [-69.413175106, 45.168306895], [-69.413036503, 45.168273494], [-69.4128979, 45.168240197], [-69.412759304, 45.168206796], [-69.412620701, 45.168173499], [-69.412482202, 45.168140098], [-69.412343606, 45.168106794], [-69.412205003, 45.168073393], [-69.4120664, 45.168040097], [-69.411927804, 45.168006696], [-69.411789306, 45.167973295], [-69.411650702, 45.167939998], [-69.411512107, 45.167906597], [-69.411373504, 45.167873293], [-69.4112349, 45.1678399], [-69.411096402, 45.167806596], [-69.410957806, 45.167773195], [-69.410819203, 45.167739794], [-69.410680607, 45.167706497], [-69.410542004, 45.167673096], [-69.410403505, 45.167639799], [-69.410264902, 45.167606398], [-69.410126306, 45.167572998], [-69.409987703, 45.167539693], [-69.4098491, 45.1675063], [-69.409710601, 45.167472996], [-69.409572005, 45.167439595], [-69.409433402, 45.167406298], [-69.409294806, 45.167372897], [-69.4091563, 45.167339496], [-69.409017704, 45.1673062], [-69.408879101, 45.167272799], [-69.408740506, 45.167239495], [-69.408601902, 45.167206094], [-69.408463404, 45.1671727], [-69.4083248, 45.167139396], [-69.408186205, 45.167105995], [-69.408047602, 45.167072698], [-69.407909103, 45.167039298], [-69.407770507, 45.167005897], [-69.407631904, 45.1669726], [-69.407493301, 45.166939199], [-69.407354802, 45.166905895], [-69.407216206, 45.166872494], [-69.407159403, 45.166894697], [-69.407031305, 45.166944794], [-69.4069032, 45.166994795], [-69.406775102, 45.167044893], [-69.406762905, 45.167042397], [-69.406622201, 45.167013898], [-69.406481504, 45.166985296], [-69.406340703, 45.166956693], [-69.406200007, 45.166928194], [-69.406059302, 45.166899599], [-69.405918606, 45.166871093], [-69.405904703, 45.166873693], [-69.405763201, 45.166900299], [-69.4056217, 45.166926995], [-69.405480303, 45.166953593], [-69.405338801, 45.166980296], [-69.4051973, 45.167006895], [-69.405055903, 45.167033494], [-69.404914401, 45.167060196], [-69.404791504, 45.167112194], [-69.404665902, 45.167165294], [-69.404540405, 45.167218499], [-69.404414803, 45.167271696], [-69.404289201, 45.167324796], [-69.404163606, 45.167377993], [-69.404038101, 45.167431094], [-69.403912507, 45.167484298], [-69.403786905, 45.167537399], [-69.403661303, 45.167590596], [-69.403535701, 45.167643696], [-69.403410204, 45.167696893], [-69.403284602, 45.167749994], [-69.403159, 45.167803198], [-69.403033406, 45.167856395], [-69.402907901, 45.167909496], [-69.402782306, 45.1679627], [-69.402656704, 45.168015793], [-69.402531102, 45.168068998], [-69.402405605, 45.168122098], [-69.402280003, 45.168175295], [-69.402154401, 45.168228395], [-69.402028807, 45.1682816], [-69.401903205, 45.1683347], [-69.401777707, 45.168387897], [-69.401713707, 45.168396294], [-69.401569806, 45.168415196], [-69.401425801, 45.168434098], [-69.401281901, 45.168452993], [-69.401137903, 45.168471895], [-69.400994003, 45.168490693], [-69.400874406, 45.168468997], [-69.400732704, 45.168443196], [-69.400590904, 45.168417394], [-69.400449105, 45.1683916], [-69.400307305, 45.168365799], [-69.400165506, 45.168340094], [-69.400023803, 45.168314293], [-69.399882004, 45.168288499], [-69.399740204, 45.168262698], [-69.399598405, 45.168236896], [-69.399456605, 45.168211095], [-69.399314806, 45.168185294], [-69.399173103, 45.1681595], [-69.399031304, 45.168133698], [-69.398889504, 45.168107897], [-69.398747705, 45.168082096], [-69.398605905, 45.168056294], [-69.398464203, 45.168030493], [-69.398322403, 45.168004699], [-69.398180604, 45.167978995], [-69.398038805, 45.167953193], [-69.397897005, 45.167927399], [-69.397755302, 45.167901598], [-69.397613503, 45.167875797], [-69.397471704, 45.167849995], [-69.397329904, 45.167824194], [-69.397188105, 45.1677984], [-69.397046402, 45.167772599], [-69.396904603, 45.167746797], [-69.396762803, 45.167720996], [-69.396621004, 45.167695194], [-69.396479204, 45.167669393], [-69.396337502, 45.167643599], [-69.396195702, 45.167617798], [-69.396053903, 45.167591996], [-69.395912103, 45.167566195], [-69.395770401, 45.167540394], [-69.395628601, 45.1675146], [-69.395486802, 45.167488895], [-69.395345002, 45.167463094], [-69.395203203, 45.1674373], [-69.3950615, 45.167411499], [-69.394919701, 45.167385697], [-69.394777901, 45.167359896], [-69.394761607, 45.167360999], [-69.394616, 45.1673714], [-69.394470304, 45.167381793], [-69.394324601, 45.167392194], [-69.394179001, 45.167402498], [-69.394033305, 45.167412899], [-69.393887602, 45.167423293], [-69.393741906, 45.167433694], [-69.393596306, 45.167443998], [-69.393450603, 45.167454399], [-69.393304907, 45.1674648], [-69.3931593, 45.167475194], [-69.393013604, 45.167485595], [-69.3928679, 45.167495899], [-69.392818101, 45.167512998], [-69.392686501, 45.167558298], [-69.392554805, 45.1676035], [-69.392423205, 45.167648695], [-69.392291501, 45.167693995], [-69.392159902, 45.167739198], [-69.392028205, 45.167784393], [-69.391896605, 45.1678297], [-69.391764902, 45.167874895], [-69.391633205, 45.167920098], [-69.391501606, 45.167965397], [-69.391369902, 45.1680106], [-69.391238302, 45.168055795], [-69.391106606, 45.168101095], [-69.390975006, 45.168146297], [-69.390843302, 45.1681915], [-69.390711702, 45.1682368], [-69.390595302, 45.168234199], [-69.390449002, 45.168230996], [-69.390302606, 45.168227896], [-69.390156306, 45.1682247], [-69.390009902, 45.168221496], [-69.389863603, 45.1682183], [-69.389717303, 45.168215096], [-69.389570907, 45.1682119], [-69.389424607, 45.1682088], [-69.389278203, 45.168205597], [-69.389131904, 45.1682024], [-69.3889855, 45.168199196], [-69.3888392, 45.168196], [-69.388692901, 45.168192796], [-69.388546504, 45.1681896], [-69.388400204, 45.168186493], [-69.388253801, 45.168183297], [-69.388107501, 45.168180093], [-69.387961201, 45.168176897], [-69.387814805, 45.168173693], [-69.387668505, 45.168170497], [-69.387522101, 45.168167293], [-69.387375802, 45.168164194], [-69.387229502, 45.168160997], [-69.387083106, 45.168157794], [-69.386936806, 45.168154597], [-69.3868066, 45.168175794]]}, 'properties': {'nhdplus_comid': 1723359}, 'id': 1723359}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.4184779, 45.173151195], [-69.418497406, 45.173067696], [-69.418521605, 45.172965698], [-69.418545604, 45.172863699], [-69.418569602, 45.172761798], [-69.4185936, 45.172659799], [-69.418617703, 45.172557794], [-69.418641701, 45.172455795], [-69.418665707, 45.172353797], [-69.418689802, 45.172251798]]}, 'properties': {'nhdplus_comid': 1726287}, 'id': 1726287}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.435351707, 45.177947298], [-69.433297403, 45.176614195], [-69.430752605, 45.175574593], [-69.430043504, 45.175038099], [-69.427424304, 45.174637996], [-69.421743102, 45.174926497], [-69.4197364, 45.174388595], [-69.4184779, 45.173151195]]}, 'properties': {'nhdplus_comid': 1723357}, 'id': 1723357}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.436863802, 45.181527399], [-69.436084807, 45.178881496], [-69.435351707, 45.177947298]]}, 'properties': {'nhdplus_comid': 1723345}, 'id': 1723345}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.436337806, 45.181945197], [-69.436472505, 45.181835994], [-69.436558902, 45.181745194], [-69.436635703, 45.181657098], [-69.436749801, 45.181592196], [-69.436863802, 45.181527399]]}, 'properties': {'nhdplus_comid': 1723341}, 'id': 1723341}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.436501704, 45.184002794], [-69.436372407, 45.184002995], [-69.435272805, 45.183660597], [-69.434949204, 45.183432095], [-69.4348519, 45.183157794], [-69.435013205, 45.182814695], [-69.435433201, 45.182517298], [-69.436337806, 45.181945197]]}, 'properties': {'nhdplus_comid': 1722261}, 'id': 1722261}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.437439106, 45.183819294], [-69.436760403, 45.184002697], [-69.436501704, 45.184002794]]}, 'properties': {'nhdplus_comid': 1722239}, 'id': 1722239}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.448932603, 45.196135595], [-69.447767705, 45.195541896], [-69.447056003, 45.195245095], [-69.446635202, 45.194925293], [-69.446440801, 45.194673896], [-69.446408004, 45.194285296], [-69.446245506, 45.193690896], [-69.446116, 45.1936225], [-69.446083501, 45.1934167], [-69.445986301, 45.193348199], [-69.445856504, 45.192913897], [-69.445952803, 45.1924337], [-69.446502, 45.191998996], [-69.446792506, 45.191587195], [-69.4468567, 45.191221394], [-69.446435206, 45.1902842], [-69.446208306, 45.189804196], [-69.446110904, 45.189552799], [-69.446207404, 45.189118296], [-69.446401104, 45.188935399], [-69.447112203, 45.188728996], [-69.447532304, 45.188500099], [-69.447661303, 45.188385695], [-69.447725803, 45.188202798], [-69.447789706, 45.1875626], [-69.447627604, 45.187333994], [-69.447304003, 45.187082797], [-69.446979903, 45.186511397], [-69.446947306, 45.186328493], [-69.446073607, 45.1857346], [-69.445750304, 45.185620494], [-69.444780201, 45.185484], [-69.443421803, 45.185096197], [-69.442418806, 45.184502296], [-69.441480406, 45.183816999], [-69.441415705, 45.183725595], [-69.441027403, 45.183520094], [-69.440413103, 45.183520496], [-69.439572707, 45.183612399], [-69.438893907, 45.183818497], [-69.438150503, 45.183956094], [-69.437439106, 45.183819294]]}, 'properties': {'nhdplus_comid': 1722241}, 'id': 1722241}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.452654406, 45.198304899], [-69.451651402, 45.197985694], [-69.4508425, 45.197574697], [-69.4499043, 45.197232395], [-69.449354, 45.1968669], [-69.448997803, 45.196455598], [-69.448932603, 45.196135595]]}, 'properties': {'nhdplus_comid': 1722187}, 'id': 1722187}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.4829183, 45.2126377], [-69.482659504, 45.212637998], [-69.482336104, 45.212706894], [-69.481657706, 45.213164799], [-69.4807849, 45.2134858], [-69.479717806, 45.213578194], [-69.475576401, 45.213056199], [-69.473150402, 45.213058293], [-69.472373806, 45.212921895], [-69.470011204, 45.212100796], [-69.4686509, 45.211118899], [-69.467938401, 45.210593596], [-69.467873506, 45.210410796], [-69.467581905, 45.210113794], [-69.466901705, 45.209519893], [-69.466772005, 45.209337093], [-69.466705903, 45.208514199], [-69.466543704, 45.208194196], [-69.466542803, 45.207645498], [-69.4668006, 45.207050793], [-69.466734506, 45.206204899], [-69.4666043, 45.205679096], [-69.466441803, 45.205199197], [-69.466312103, 45.2050163], [-69.465891205, 45.2046967], [-69.465599403, 45.204285294], [-69.4653081, 45.204079799], [-69.464466706, 45.203806095], [-69.464337006, 45.203600399], [-69.464271307, 45.202914596], [-69.4632679, 45.202389494], [-69.461391404, 45.201910995], [-69.460808903, 45.201659799], [-69.4596439, 45.201226294], [-69.458091207, 45.200976096], [-69.457573302, 45.200702094], [-69.457185, 45.200542293], [-69.455956206, 45.2006118], [-69.455341406, 45.200360797], [-69.454467006, 45.199538395], [-69.453334004, 45.198693193], [-69.452784002, 45.1984649], [-69.452654406, 45.198304899]]}, 'properties': {'nhdplus_comid': 1722177}, 'id': 1722177}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.527974807, 45.234575793], [-69.527942605, 45.234461598], [-69.527005501, 45.233729094], [-69.5261648, 45.233316898], [-69.525647901, 45.232881993], [-69.525131002, 45.232378699], [-69.5247759, 45.231875293], [-69.524226807, 45.231303297], [-69.523580603, 45.230753995], [-69.522643305, 45.230090193], [-69.521867305, 45.229769394], [-69.519765101, 45.229355894], [-69.518698007, 45.228966296], [-69.516079105, 45.227912195], [-69.515465103, 45.227522895], [-69.514754407, 45.226859197], [-69.514399603, 45.226355895], [-69.513787404, 45.2249377], [-69.5134001, 45.224434398], [-69.512786202, 45.224067993], [-69.511266701, 45.223494895], [-69.5089707, 45.2230125], [-69.5085181, 45.222760595], [-69.508033603, 45.222439997], [-69.505709305, 45.219968498], [-69.5052571, 45.219647899], [-69.504384302, 45.219258294], [-69.503252804, 45.218936995], [-69.5025094, 45.218593299], [-69.501831204, 45.218089595], [-69.501444206, 45.217517599], [-69.501155503, 45.216396995], [-69.500929601, 45.216076598], [-69.500316001, 45.215664394], [-69.499485604, 45.215341099], [-69.4991941, 45.215249993], [-69.498643607, 45.214930594], [-69.498578101, 45.214587696], [-69.498544604, 45.214084797], [-69.498381801, 45.213536195], [-69.498219706, 45.213421993], [-69.497604907, 45.213285595], [-69.497216806, 45.213285998], [-69.496925905, 45.213400595], [-69.496118501, 45.214041695], [-69.495504804, 45.214453794], [-69.494728804, 45.214591794], [-69.494016707, 45.214409798], [-69.493725203, 45.214204393], [-69.493336506, 45.213998996], [-69.492009707, 45.213748798], [-69.490521006, 45.213384494], [-69.489712305, 45.213339694], [-69.489421502, 45.2134315], [-69.488096505, 45.214027293], [-69.487061806, 45.214234099], [-69.486705802, 45.214188799], [-69.486026101, 45.213960797], [-69.485054404, 45.2133215], [-69.484180301, 45.2129566], [-69.483209305, 45.212660395], [-69.4829183, 45.2126377]]}, 'properties': {'nhdplus_comid': 1722893}, 'id': 1722893}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.560028307, 45.24763], [-69.558054104, 45.247468896], [-69.557439305, 45.2473085], [-69.556501105, 45.246896498], [-69.555239402, 45.246369794], [-69.553848207, 45.246025994], [-69.552683301, 45.245842494], [-69.549997002, 45.245840795], [-69.549705707, 45.245771997], [-69.549220905, 45.245291494], [-69.546827905, 45.243712395], [-69.546375707, 45.243163399], [-69.545600206, 45.242179796], [-69.545373902, 45.241996698], [-69.545115702, 45.241493598], [-69.544858307, 45.240395896], [-69.544244103, 45.239869595], [-69.543079905, 45.239228696], [-69.542368807, 45.238656595], [-69.542077906, 45.238359094], [-69.542013407, 45.238221899], [-69.541625902, 45.237604395], [-69.541270301, 45.237284094], [-69.5408822, 45.2371694], [-69.538132004, 45.236938797], [-69.536870003, 45.236937799], [-69.535704605, 45.2371656], [-69.533148706, 45.236820593], [-69.531757906, 45.236407995], [-69.529591002, 45.235651799], [-69.528233506, 45.234667495], [-69.527974807, 45.234575793]]}, 'properties': {'nhdplus_comid': 1722037}, 'id': 1722037}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.563547604, 45.250156693], [-69.563003406, 45.250055097], [-69.562679805, 45.249986395], [-69.562259205, 45.249803297], [-69.5619682, 45.2495059], [-69.561160207, 45.248407997], [-69.560707502, 45.247996196], [-69.560028307, 45.24763]]}, 'properties': {'nhdplus_comid': 1722857}, 'id': 1722857}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.567042202, 45.251210198], [-69.566524103, 45.2514157], [-69.565002605, 45.251529194], [-69.564290702, 45.251346], [-69.563935101, 45.251048595], [-69.563935205, 45.250957094], [-69.563612007, 45.250408195], [-69.563547604, 45.250156693]]}, 'properties': {'nhdplus_comid': 1722005}, 'id': 1722005}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.574777201, 45.2523342], [-69.571702503, 45.251921296], [-69.568465903, 45.251782499], [-69.567915805, 45.251644999], [-69.567301102, 45.251301795], [-69.567042202, 45.251210198]]}, 'properties': {'nhdplus_comid': 1722001}, 'id': 1722001}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.578983001, 45.255056694], [-69.578853607, 45.254988], [-69.578854203, 45.254187897], [-69.578207307, 45.253730394], [-69.577818803, 45.253592998], [-69.577495605, 45.253158398], [-69.577010207, 45.252952494], [-69.575585902, 45.252951793], [-69.575165205, 45.252837397], [-69.574809507, 45.252562799], [-69.574777201, 45.2523342]]}, 'properties': {'nhdplus_comid': 1721989}, 'id': 1721989}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.5787559, 45.255650997], [-69.578983001, 45.255056694]]}, 'properties': {'nhdplus_comid': 1721981}, 'id': 1721981}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.584928505, 45.270628698], [-69.584863901, 45.270491496], [-69.584604904, 45.270262696], [-69.584378801, 45.269645296], [-69.584023602, 45.267953299], [-69.583765201, 45.267107293], [-69.583635807, 45.266992897], [-69.583636001, 45.266787194], [-69.583506703, 45.266421296], [-69.583377503, 45.266124099], [-69.583215803, 45.265849598], [-69.583118804, 45.265552498], [-69.583054103, 45.2655067], [-69.582698502, 45.264774993], [-69.582569502, 45.264088996], [-69.582504801, 45.264020398], [-69.582505003, 45.263814598], [-69.582311101, 45.2633572], [-69.581567407, 45.262190998], [-69.581438005, 45.262099497], [-69.581341006, 45.261962295], [-69.580499701, 45.261321798], [-69.579593606, 45.260749795], [-69.578978702, 45.260612398], [-69.577392302, 45.260611698], [-69.576939404, 45.260314398], [-69.576777704, 45.260062799], [-69.576713301, 45.259674095], [-69.576810606, 45.259468295], [-69.577652402, 45.259102799], [-69.577749707, 45.258988596], [-69.577750102, 45.258485697], [-69.577103406, 45.257570796], [-69.577071607, 45.256862096], [-69.577266201, 45.256564997], [-69.578237906, 45.255810894], [-69.5787559, 45.255650997]]}, 'properties': {'nhdplus_comid': 1721977}, 'id': 1721977}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.588196203, 45.274744995], [-69.588261306, 45.274150595], [-69.5880026, 45.273693398], [-69.5876467, 45.273258798], [-69.587452501, 45.273121595], [-69.587420203, 45.273007199], [-69.587290801, 45.272847198], [-69.587031901, 45.272572793], [-69.587031901, 45.2724813], [-69.586287707, 45.2717494], [-69.585640505, 45.271223396], [-69.585155107, 45.270742998], [-69.584928505, 45.270628698]]}, 'properties': {'nhdplus_comid': 1721925}, 'id': 1721925}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.589843504, 45.281855896], [-69.589584403, 45.281604394], [-69.589358106, 45.281192794], [-69.589293405, 45.280918397], [-69.589196302, 45.280872598], [-69.588646606, 45.279386394], [-69.588517502, 45.278860494], [-69.5883561, 45.2779231], [-69.588194706, 45.277328596], [-69.587935902, 45.276848398], [-69.587418005, 45.276207998], [-69.587321304, 45.275750794], [-69.587677807, 45.2751792], [-69.587839805, 45.274927795], [-69.588196203, 45.274744995]]}, 'properties': {'nhdplus_comid': 1721899}, 'id': 1721899}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.590523005, 45.282747798], [-69.590296403, 45.282633394], [-69.589940406, 45.282130294], [-69.589843504, 45.281855896]]}, 'properties': {'nhdplus_comid': 1721865}, 'id': 1721865}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.591655701, 45.2841428], [-69.591526106, 45.284096994], [-69.590943605, 45.283502497], [-69.590652302, 45.283045098], [-69.590523005, 45.282747798]]}, 'properties': {'nhdplus_comid': 1721859}, 'id': 1721859}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.593405105, 45.283251598], [-69.593275502, 45.283342995], [-69.592530407, 45.283502899], [-69.592109405, 45.283685595], [-69.591752805, 45.284097098], [-69.591655701, 45.2841428]]}, 'properties': {'nhdplus_comid': 1721851}, 'id': 1721851}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.602213502, 45.284899794], [-69.600756407, 45.284099497], [-69.599105, 45.283435993], [-69.598457307, 45.283344395], [-69.596935101, 45.283321194], [-69.595413007, 45.283412196], [-69.593923204, 45.283343196], [-69.593405105, 45.283251598]]}, 'properties': {'nhdplus_comid': 1721853}, 'id': 1721853}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.604448006, 45.285723299], [-69.6043832, 45.285746098], [-69.603508703, 45.2856545], [-69.602796301, 45.285517193], [-69.602245905, 45.285128497], [-69.602213502, 45.284899794]]}, 'properties': {'nhdplus_comid': 1721841}, 'id': 1721841}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.606585406, 45.286112398], [-69.605808102, 45.286089398], [-69.604448006, 45.285723299]]}, 'properties': {'nhdplus_comid': 1721831}, 'id': 1721831}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.610795602, 45.287279099], [-69.608819902, 45.287187293], [-69.607945502, 45.287004299], [-69.607006304, 45.286432497], [-69.606747307, 45.286318198], [-69.606585406, 45.286112398]]}, 'properties': {'nhdplus_comid': 1721827}, 'id': 1721827}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.611799702, 45.286296099], [-69.611605406, 45.286501795], [-69.611314006, 45.286684595], [-69.610795602, 45.287279099]]}, 'properties': {'nhdplus_comid': 1721825}, 'id': 1721825}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.661216706, 45.275888696], [-69.660212606, 45.2756375], [-69.6586584, 45.275683597], [-69.658302203, 45.275797993], [-69.657816701, 45.276049599], [-69.6573634, 45.276141293], [-69.655031703, 45.276027597], [-69.6541574, 45.275890596], [-69.651955403, 45.275845394], [-69.651145801, 45.275731295], [-69.6508542, 45.275616996], [-69.650562704, 45.275365695], [-69.648295701, 45.274588794], [-69.647810005, 45.274611793], [-69.647486404, 45.275091894], [-69.647130504, 45.275754996], [-69.646904007, 45.276052296], [-69.646645002, 45.276189499], [-69.646159202, 45.276075296], [-69.644993305, 45.275686793], [-69.644669503, 45.275618397], [-69.643438905, 45.275687099], [-69.643212304, 45.275824293], [-69.643212505, 45.276190095], [-69.643504106, 45.2768301], [-69.643504404, 45.277561799], [-69.643342502, 45.277996197], [-69.642889306, 45.278201997], [-69.642403506, 45.278202094], [-69.641205303, 45.277973697], [-69.6402338, 45.278019495], [-69.639812902, 45.278179698], [-69.639586404, 45.278728396], [-69.639586605, 45.279528596], [-69.639716305, 45.279734299], [-69.6397487, 45.279917195], [-69.639910601, 45.280237295], [-69.640040301, 45.280328795], [-69.640072703, 45.280465893], [-69.640202306, 45.280557193], [-69.640267007, 45.280694395], [-69.640623502, 45.281151697], [-69.6405911, 45.281586096], [-69.6403969, 45.281814694], [-69.640008301, 45.282043397], [-69.639684506, 45.282134794], [-69.6390367, 45.282134995], [-69.638129905, 45.281952195], [-69.637158401, 45.282020897], [-69.636834607, 45.282089494], [-69.6360249, 45.281998098], [-69.635377206, 45.282021098], [-69.635182902, 45.282135397], [-69.634826705, 45.282638393], [-69.634438403, 45.283072799], [-69.634017304, 45.283438697], [-69.633434504, 45.2837587], [-69.632883906, 45.283758797], [-69.632236101, 45.283667296], [-69.631620802, 45.283392996], [-69.631361604, 45.283118695], [-69.6311673, 45.282730095], [-69.631102301, 45.281609796], [-69.630616501, 45.281381294], [-69.629547805, 45.281106897], [-69.628284805, 45.281152695], [-69.627378106, 45.281358495], [-69.6266331, 45.281678498], [-69.626406506, 45.282181494], [-69.626309402, 45.282684498], [-69.626471303, 45.283484697], [-69.626438901, 45.284399197], [-69.626309402, 45.284833595], [-69.6260828, 45.285359494], [-69.625920802, 45.285633795], [-69.625629507, 45.285885297], [-69.625078805, 45.286114], [-69.624593101, 45.286433995], [-69.624495901, 45.286548294], [-69.623783305, 45.287805796], [-69.623621404, 45.287920095], [-69.622941203, 45.288034298], [-69.6221314, 45.288034298], [-69.620868303, 45.287782796], [-69.620091006, 45.287485495], [-69.619119406, 45.287165396], [-69.616528302, 45.286822297], [-69.614909001, 45.2864336], [-69.613548703, 45.286227599], [-69.611799702, 45.286296099]]}, 'properties': {'nhdplus_comid': 1721897}, 'id': 1721897}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.685786501, 45.298329398], [-69.685073704, 45.298306793], [-69.684717506, 45.298398599], [-69.684523106, 45.298398599], [-69.684199005, 45.298193], [-69.683777101, 45.297507398], [-69.683484904, 45.296844497], [-69.683547907, 45.295061193], [-69.683320202, 45.294192396], [-69.683254704, 45.293483898], [-69.683157302, 45.293300994], [-69.683156803, 45.292797998], [-69.6831889, 45.292546496], [-69.683447704, 45.2922263], [-69.683446907, 45.291380294], [-69.683284603, 45.291105993], [-69.683025107, 45.290831894], [-69.683025002, 45.290740393], [-69.682603404, 45.290237598], [-69.682343602, 45.289643295], [-69.681987107, 45.289369099], [-69.680464305, 45.288844094], [-69.680075303, 45.288569897], [-69.679913104, 45.288318396], [-69.680074506, 45.287723899], [-69.680495001, 45.287243694], [-69.680980802, 45.287174895], [-69.681175105, 45.287060499], [-69.681206904, 45.286557496], [-69.681109503, 45.286283195], [-69.680234402, 45.285689197], [-69.680233605, 45.284843199], [-69.679974206, 45.284431897], [-69.679585204, 45.284134798], [-69.678581007, 45.2838609], [-69.677123107, 45.283358596], [-69.675957002, 45.283084795], [-69.675697505, 45.282741897], [-69.675503105, 45.282627799], [-69.6748228, 45.282376498], [-69.674369104, 45.282010898], [-69.673461504, 45.2811196], [-69.673072703, 45.280845493], [-69.672165401, 45.280297197], [-69.671549901, 45.280091599], [-69.6702547, 45.280183598], [-69.669736505, 45.280046597], [-69.667565502, 45.2785156], [-69.667046905, 45.277944297], [-69.666495904, 45.277327195], [-69.665977702, 45.277075894], [-69.665589005, 45.2770532], [-69.66533, 45.277098998], [-69.665038504, 45.2770992], [-69.665006101, 45.277030595], [-69.664876506, 45.276939094], [-69.664584607, 45.276184693], [-69.664390206, 45.276001997], [-69.6640338, 45.275773399], [-69.663483307, 45.275727898], [-69.663030103, 45.275933795], [-69.662253305, 45.276482798], [-69.6617999, 45.276482895], [-69.661249205, 45.276025899], [-69.661216706, 45.275888696]]}, 'properties': {'nhdplus_comid': 1722839}, 'id': 1722839}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.687538601, 45.300751798], [-69.687408902, 45.3006147], [-69.686598204, 45.300020695], [-69.6863387, 45.299723595], [-69.686306201, 45.299563594], [-69.686208807, 45.299495198], [-69.686078906, 45.2991523], [-69.686046004, 45.298717894], [-69.685819, 45.298512198], [-69.685786501, 45.298329398]]}, 'properties': {'nhdplus_comid': 1721759}, 'id': 1721759}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.688163102, 45.308616199], [-69.688114204, 45.308457099], [-69.688131504, 45.308354497], [-69.688148901, 45.308251798], [-69.688166201, 45.308149099], [-69.688183606, 45.308046393], [-69.688200906, 45.307943694], [-69.688218206, 45.307840995], [-69.688262604, 45.307756297], [-69.688313402, 45.307659298], [-69.6883642, 45.307562195], [-69.688415006, 45.307465196], [-69.688465804, 45.307368197], [-69.688516602, 45.307271197], [-69.6885674, 45.307174198], [-69.688618302, 45.307077095], [-69.6886691, 45.306980096], [-69.688719906, 45.306883097], [-69.688770704, 45.306786098], [-69.688821502, 45.306688994], [-69.6888723, 45.306591995], [-69.688923106, 45.306494996], [-69.688973904, 45.306397997], [-69.689024702, 45.306300998], [-69.689021006, 45.306296296], [-69.6889496, 45.306205995], [-69.688878201, 45.306115597], [-69.688806705, 45.306025296], [-69.688735306, 45.305934995], [-69.6886639, 45.305844598], [-69.688592404, 45.305754296], [-69.688521005, 45.305663995], [-69.688449606, 45.305573598], [-69.688378103, 45.305483297], [-69.688306704, 45.305392995], [-69.688235305, 45.305302598], [-69.688163802, 45.305212297], [-69.688176006, 45.3051669], [-69.688203104, 45.305065297], [-69.688230306, 45.304963596], [-69.688257501, 45.304862], [-69.688284606, 45.304760396], [-69.6883118, 45.304658696], [-69.688338906, 45.3045571], [-69.6883661, 45.304455496], [-69.688393302, 45.304353796], [-69.6884204, 45.3042522], [-69.688447602, 45.304150596], [-69.6884747, 45.304048896], [-69.688501902, 45.3039473], [-69.688529104, 45.303845696], [-69.688521504, 45.303825997], [-69.688483305, 45.303726196], [-69.688445106, 45.303626299], [-69.688406907, 45.303526498], [-69.688368604, 45.303426594], [-69.688330404, 45.303326793], [-69.688292205, 45.303226896], [-69.688254006, 45.303127095], [-69.688215807, 45.303027198], [-69.688177601, 45.302927397], [-69.688139305, 45.3028275], [-69.688101105, 45.302727699], [-69.688062906, 45.302627794], [-69.688024707, 45.302527994], [-69.687986501, 45.302428097], [-69.687986605, 45.302424096], [-69.687991306, 45.302320696], [-69.687996, 45.302217394], [-69.688000701, 45.302113995], [-69.688005403, 45.302010596], [-69.688010007, 45.301907293], [-69.688014701, 45.301803894], [-69.688019402, 45.301700495], [-69.688024104, 45.301597193], [-69.688028805, 45.301493794], [-69.688033402, 45.301390395], [-69.688031405, 45.301387496], [-69.687965401, 45.301295199], [-69.687899403, 45.301202796], [-69.687833503, 45.301110394], [-69.687767506, 45.301018], [-69.687701501, 45.300925694], [-69.687538601, 45.300751798]]}, 'properties': {'nhdplus_comid': 1723309}, 'id': 1723309}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.686904505, 45.313166499], [-69.686936401, 45.312754996], [-69.6872923, 45.312366098], [-69.687324204, 45.311794497], [-69.687744804, 45.311176993], [-69.687874004, 45.310902596], [-69.687711805, 45.310742594], [-69.687225707, 45.310628496], [-69.6870635, 45.310514294], [-69.687030502, 45.309919894], [-69.687095106, 45.309714198], [-69.687224604, 45.309622698], [-69.687969603, 45.309439398], [-69.688261002, 45.309279196], [-69.688260503, 45.308867596], [-69.688163206, 45.308799095], [-69.688163102, 45.308616199]]}, 'properties': {'nhdplus_comid': 1721679}, 'id': 1721679}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.687037006, 45.315726995], [-69.687166207, 45.3152925], [-69.687716402, 45.314834997], [-69.687715605, 45.314103499], [-69.687553205, 45.313851997], [-69.687228806, 45.313486397], [-69.6870341, 45.313212194], [-69.686904505, 45.313166499]]}, 'properties': {'nhdplus_comid': 1721647}, 'id': 1721647}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.691280507, 45.341559097], [-69.691280201, 45.341376193], [-69.691474304, 45.340987496], [-69.691539101, 45.340941794], [-69.691830106, 45.340232797], [-69.691861704, 45.339729793], [-69.691537201, 45.339409895], [-69.690726101, 45.338930294], [-69.690498807, 45.338496], [-69.689947106, 45.338084795], [-69.689784802, 45.337879099], [-69.689751804, 45.337376095], [-69.6898489, 45.337193199], [-69.690205, 45.336804293], [-69.690236904, 45.336369894], [-69.690074503, 45.336164296], [-69.689944603, 45.335867196], [-69.689943902, 45.3353642], [-69.690851301, 45.335020795], [-69.691077702, 45.334654793], [-69.691303603, 45.333762996], [-69.6916923, 45.333579898], [-69.692113303, 45.333213799], [-69.692145303, 45.332939394], [-69.691918105, 45.332642399], [-69.690620206, 45.331545696], [-69.689971, 45.330791697], [-69.689938404, 45.330654599], [-69.689841107, 45.330585994], [-69.689808406, 45.330426097], [-69.6899378, 45.330083095], [-69.690131806, 45.329762794], [-69.6908447, 45.329602398], [-69.691201106, 45.329419196], [-69.691232905, 45.328939199], [-69.690550901, 45.3277964], [-69.689447604, 45.326630995], [-69.689382605, 45.326470993], [-69.689317703, 45.326379597], [-69.689025402, 45.325876795], [-69.688798204, 45.325579695], [-69.687792704, 45.324940197], [-69.687695302, 45.324711598], [-69.687661506, 45.323499896], [-69.6875965, 45.3232942], [-69.687369205, 45.323019899], [-69.687239304, 45.322699897], [-69.687271103, 45.3223342], [-69.687821805, 45.322105199], [-69.688048504, 45.321922198], [-69.688048005, 45.321441993], [-69.687723607, 45.321144998], [-69.687139906, 45.320916697], [-69.686912902, 45.320802495], [-69.6868155, 45.320619695], [-69.686556101, 45.320413999], [-69.686296307, 45.320025496], [-69.686198607, 45.319499798], [-69.686036207, 45.319225594], [-69.685485005, 45.318951398], [-69.685355201, 45.318768695], [-69.685322307, 45.318357199], [-69.685484104, 45.3180141], [-69.686164007, 45.317442097], [-69.686908707, 45.316870198], [-69.686875105, 45.315864198], [-69.687037006, 45.315726995]]}, 'properties': {'nhdplus_comid': 1721635}, 'id': 1721635}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.688276, 45.350774296], [-69.688340604, 45.350477196], [-69.688339606, 45.3495626], [-69.688209601, 45.349402696], [-69.688111901, 45.349013999], [-69.688047007, 45.3489227], [-69.688013405, 45.347939596], [-69.687883101, 45.347299494], [-69.687817305, 45.3465451], [-69.688011006, 45.345859095], [-69.688496806, 45.345378697], [-69.689209007, 45.344532497], [-69.689596802, 45.343343399], [-69.6899205, 45.3430003], [-69.690924905, 45.342473798], [-69.691054501, 45.342359394], [-69.691215806, 45.341650598], [-69.691280507, 45.341559097]]}, 'properties': {'nhdplus_comid': 1721499}, 'id': 1721499}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.685882203, 45.353985898], [-69.685938805, 45.353940696], [-69.686035901, 45.353863098], [-69.686133005, 45.3537855], [-69.686230101, 45.353707999], [-69.686327204, 45.353630394], [-69.686424404, 45.353552796], [-69.6865215, 45.353475295], [-69.686618604, 45.353397697], [-69.6867157, 45.353320099], [-69.686812803, 45.353242494], [-69.686823301, 45.353216596], [-69.6868634, 45.353117093], [-69.686903603, 45.353017598], [-69.686943702, 45.352918096], [-69.686983801, 45.352818593], [-69.687024005, 45.352719098], [-69.687064104, 45.352619596], [-69.687104203, 45.352520093], [-69.687144406, 45.352420598], [-69.687184505, 45.3523212], [-69.687224604, 45.352221698], [-69.6872648, 45.352122195], [-69.687304907, 45.3520227], [-69.687345006, 45.351923198], [-69.687385105, 45.351823695], [-69.6874253, 45.3517242], [-69.687465407, 45.351624697], [-69.687505506, 45.351525195], [-69.687545702, 45.3514257], [-69.6876202, 45.351348497], [-69.6877027, 45.351262994], [-69.687785305, 45.351177499], [-69.687867902, 45.351091996], [-69.687950507, 45.351006493], [-69.688033007, 45.350920893], [-69.688115604, 45.350835398], [-69.688276, 45.350774296]]}, 'properties': {'nhdplus_comid': 1723263}, 'id': 1723263}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.685912907, 45.3541364], [-69.685841702, 45.354018293], [-69.685882203, 45.353985898]]}, 'properties': {'nhdplus_comid': 1723251}, 'id': 1723251}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.686303101, 45.355164997], [-69.686270207, 45.354799293], [-69.686010502, 45.354456499], [-69.685912907, 45.3541364]]}, 'properties': {'nhdplus_comid': 1721401}, 'id': 1721401}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.685701706, 45.356227294], [-69.685773104, 45.356143996], [-69.685848907, 45.356055498], [-69.685924806, 45.355966896], [-69.686000705, 45.355878398], [-69.686076604, 45.355789796], [-69.686152503, 45.355701298], [-69.686228305, 45.355612695], [-69.686225101, 45.355561793], [-69.686218403, 45.355458498], [-69.686211705, 45.355355196], [-69.686205007, 45.355251893], [-69.686303101, 45.355164997]]}, 'properties': {'nhdplus_comid': 1723249}, 'id': 1723249}, {'type': 'Feature', 'geometry': {'type': 'LineString', 'coordinates': [[-69.667233504, 45.393033795], [-69.667176701, 45.392901495], [-69.667124003, 45.392804995], [-69.667071402, 45.392708398], [-69.667018801, 45.392611794], [-69.6670065, 45.392609298], [-69.6668652, 45.392581098], [-69.666723907, 45.392552793], [-69.666582607, 45.392524496], [-69.666441306, 45.392496198], [-69.666300006, 45.392467894], [-69.666158706, 45.392439596], [-69.6661347, 45.3924428], [-69.6659903, 45.392461896], [-69.665846005, 45.392481096], [-69.665701605, 45.392500296], [-69.665557206, 45.392519496], [-69.665412903, 45.392538697], [-69.665268503, 45.392557897], [-69.6651242, 45.392577], [-69.664979801, 45.3925962], [-69.664936803, 45.392587595], [-69.664795503, 45.392559297], [-69.664654203, 45.392531], [-69.664512902, 45.392502695], [-69.664371602, 45.392474398], [-69.664230302, 45.392446093], [-69.664089106, 45.392417796], [-69.663947806, 45.392389499], [-69.663924202, 45.392359696], [-69.663852707, 45.392269298], [-69.663781203, 45.392178997], [-69.6637097, 45.3920886], [-69.663638204, 45.391998194], [-69.663566701, 45.391907893], [-69.663495205, 45.391817495], [-69.663423702, 45.391727097], [-69.663352206, 45.391636796], [-69.663280703, 45.391546398], [-69.663209304, 45.391455993], [-69.663227901, 45.391389094], [-69.663256206, 45.391287595], [-69.6632846, 45.391186096], [-69.663312905, 45.391084597], [-69.663341202, 45.390983097], [-69.663369507, 45.390881598], [-69.663397804, 45.390780099], [-69.663426206, 45.390678599], [-69.663454503, 45.3905771], [-69.6634828, 45.390475594], [-69.663511105, 45.390374094], [-69.663539402, 45.390272595], [-69.663567707, 45.390171096], [-69.663596101, 45.390069596], [-69.663624406, 45.389968097], [-69.663616002, 45.389910899], [-69.663600802, 45.389807999], [-69.663585603, 45.389705099], [-69.663570501, 45.389602199], [-69.663555302, 45.389499299], [-69.663540207, 45.389396399], [-69.663525, 45.389293499], [-69.663540706, 45.3892546], [-69.663580902, 45.389155097], [-69.663621105, 45.389055595], [-69.663661301, 45.3889561], [-69.663701504, 45.388856597], [-69.6637417, 45.388757095], [-69.663781904, 45.3886576], [-69.663822107, 45.388558097], [-69.663862206, 45.388458595], [-69.663902402, 45.3883591], [-69.663942605, 45.388259597], [-69.663982801, 45.388160199], [-69.664023004, 45.388060696], [-69.6640632, 45.387961194], [-69.664053604, 45.387878396], [-69.664041601, 45.387775294], [-69.664029606, 45.387672193], [-69.664017603, 45.3875691], [-69.6640056, 45.387465999], [-69.663993701, 45.387362897], [-69.663981706, 45.387259796], [-69.663969703, 45.387156695], [-69.6639577, 45.387053594], [-69.663945705, 45.386950493], [-69.663933806, 45.386847399], [-69.663921803, 45.386744298], [-69.6639098, 45.386641197], [-69.663897805, 45.386538096], [-69.663885906, 45.386434995], [-69.663873903, 45.386331894], [-69.663861901, 45.3862288], [-69.663849905, 45.386125699], [-69.663837902, 45.386022598], [-69.663826004, 45.385919496], [-69.663814001, 45.385816395], [-69.663831405, 45.385773197], [-69.663871601, 45.385673694], [-69.663911805, 45.385574199], [-69.663952, 45.385474697], [-69.663992204, 45.385375194], [-69.664032407, 45.385275699], [-69.664072603, 45.385176197], [-69.664112806, 45.385076694], [-69.664152905, 45.384977199], [-69.664193101, 45.384877697], [-69.664233305, 45.384778194], [-69.6642735, 45.384678699], [-69.664313704, 45.384579197], [-69.664353907, 45.384479798], [-69.664394103, 45.384380296], [-69.664434202, 45.384280793], [-69.664474405, 45.384181298], [-69.664514601, 45.384081796], [-69.664554805, 45.383982293], [-69.664595, 45.383882798], [-69.664635204, 45.383783296], [-69.664675303, 45.383683793], [-69.664715506, 45.383584298], [-69.664755702, 45.383484796], [-69.664795905, 45.383385293], [-69.664836101, 45.383285798], [-69.664876305, 45.383186296], [-69.6649165, 45.383086793], [-69.664956607, 45.382987298], [-69.664996803, 45.382887796], [-69.665037006, 45.382788293], [-69.665050901, 45.382769294], [-69.665118001, 45.382677197], [-69.665185206, 45.382585198], [-69.665252306, 45.382493198], [-69.665319405, 45.382401198], [-69.665386505, 45.382309198], [-69.665453605, 45.382217199], [-69.665569603, 45.382164299], [-69.665692903, 45.382107995], [-69.665816106, 45.382051796], [-69.665939406, 45.381995499], [-69.666062705, 45.381939299], [-69.666185901, 45.381882995], [-69.6663092, 45.381826796], [-69.6664325, 45.381770596], [-69.666555703, 45.381714299], [-69.666679002, 45.3816581], [-69.666802302, 45.381601796], [-69.666925602, 45.381545596], [-69.667048804, 45.381489299], [-69.667061105, 45.381459095], [-69.667101204, 45.3813596], [-69.6671414, 45.381260097], [-69.667181604, 45.381160595], [-69.667221807, 45.381061099], [-69.667262003, 45.380961597], [-69.667302102, 45.380862094], [-69.667342305, 45.380762599], [-69.667313606, 45.380680799], [-69.667278402, 45.380580299], [-69.667243205, 45.380479895], [-69.667208001, 45.380379498], [-69.667172804, 45.380279094], [-69.6671376, 45.380178593], [-69.667102404, 45.380078197], [-69.6670672, 45.3799778], [-69.667032003, 45.379877396], [-69.666996807, 45.379776895], [-69.667005502, 45.379713997], [-69.667019702, 45.379611097], [-69.667034, 45.379508093], [-69.667048305, 45.379405193], [-69.667062506, 45.379302196], [-69.667076804, 45.379199296], [-69.667091005, 45.379096299], [-69.667105302, 45.378993399], [-69.6671196, 45.378890395], [-69.667133801, 45.378787495], [-69.667148106, 45.378684498], [-69.667162307, 45.378581598], [-69.667176604, 45.378478594], [-69.667190805, 45.378375694], [-69.667189203, 45.378364198], [-69.667174004, 45.378261298], [-69.667158805, 45.378158398], [-69.667143703, 45.378055498], [-69.667128503, 45.377952598], [-69.667113304, 45.377849698], [-69.667098202, 45.377746895], [-69.667083003, 45.377643995], [-69.6670679, 45.377541095], [-69.667052701, 45.377438195], [-69.667037502, 45.377335295], [-69.667022407, 45.377232395], [-69.6670072, 45.377129495], [-69.666992106, 45.377026699], [-69.667025201, 45.376944497], [-69.667065404, 45.376844995], [-69.6671056, 45.3767455], [-69.667145804, 45.376645997], [-69.667186007, 45.376546495], [-69.667226106, 45.376447], [-69.667266302, 45.376347497], [-69.667306505, 45.376247995], [-69.667346701, 45.3761485], [-69.6673868, 45.376048997], [-69.667427003, 45.375949495], [-69.667467207, 45.375849999], [-69.667507403, 45.375750497], [-69.667547502, 45.375650994], [-69.667587705, 45.375551596], [-69.667627901, 45.375452094], [-69.667684004, 45.375390194], [-69.667763107, 45.375303], [-69.667842202, 45.375215799], [-69.6679212, 45.375128694], [-69.668000303, 45.3750415], [-69.668079406, 45.374954298], [-69.668158501, 45.374867193], [-69.6682375, 45.374779999], [-69.668316603, 45.374692798], [-69.668395706, 45.374605693], [-69.668474704, 45.374518499], [-69.668553807, 45.374431297], [-69.668632902, 45.3743442], [-69.6686626, 45.374270596], [-69.668702707, 45.374171093], [-69.668742903, 45.374071598], [-69.668783106, 45.3739722], [-69.668823302, 45.373872697], [-69.668863401, 45.373773195], [-69.668903604, 45.3736737], [-69.6689438, 45.373574197], [-69.668983907, 45.373474695], [-69.669024102, 45.3733752], [-69.669123307, 45.3733363], [-69.669251606, 45.373285897], [-69.669379905, 45.373235598], [-69.669508204, 45.373185195], [-69.669636503, 45.373134896], [-69.669764802, 45.373084493], [-69.669893101, 45.373034194], [-69.670021303, 45.372983798], [-69.670149602, 45.3729335], [-69.670277901, 45.372883193], [-69.6704062, 45.372832797], [-69.670534506, 45.372782499], [-69.670662805, 45.372732095], [-69.670791104, 45.372681797], [-69.670815103, 45.3726786], [-69.670959406, 45.3726594], [-69.671103701, 45.3726402], [-69.671248004, 45.372621], [-69.671392307, 45.3726018], [-69.671536602, 45.3725826], [-69.671681002, 45.372563399], [-69.671825305, 45.372544199], [-69.6719696, 45.372525096], [-69.6720476, 45.3724944], [-69.672175907, 45.372444093], [-69.672304206, 45.372393698], [-69.672432505, 45.372343399], [-69.672560707, 45.372292995], [-69.672689006, 45.372242697], [-69.672817305, 45.372192293], [-69.672945604, 45.372141995], [-69.673073903, 45.372091599], [-69.673090406, 45.372078896], [-69.673189506, 45.372002594], [-69.673288606, 45.3719263], [-69.673387706, 45.371849895], [-69.673486806, 45.371773593], [-69.673585907, 45.371697195], [-69.673685007, 45.371620893], [-69.673784107, 45.3715446], [-69.673883207, 45.371468194], [-69.673913702, 45.371383697], [-69.673949905, 45.371283494], [-69.673986107, 45.371183194], [-69.674022406, 45.371082999], [-69.674058601, 45.370982796], [-69.674094804, 45.370882496], [-69.674131006, 45.370782293], [-69.674167305, 45.370681994], [-69.6742035, 45.370581798], [-69.674239703, 45.370481499], [-69.674275905, 45.370381296], [-69.674312204, 45.370281093], [-69.674348406, 45.370180793], [-69.674384601, 45.370080598], [-69.674420804, 45.369980298], [-69.674457103, 45.369880095], [-69.674493305, 45.3697799], [-69.6745295, 45.3696796], [-69.674565703, 45.369579397], [-69.674602002, 45.369479097], [-69.674638204, 45.369378895], [-69.674674407, 45.369278699], [-69.674710602, 45.369178399], [-69.674746901, 45.369078197], [-69.674783103, 45.368977897], [-69.674819306, 45.368877694], [-69.6748555, 45.368777394], [-69.674891703, 45.368677199], [-69.674928002, 45.368576996], [-69.674964204, 45.368476696], [-69.675000407, 45.368376493], [-69.675036602, 45.368276194], [-69.675072901, 45.368175998], [-69.675109103, 45.368075795], [-69.675145306, 45.367975496], [-69.675181501, 45.367875293], [-69.675217703, 45.367774993], [-69.675254002, 45.367674798], [-69.675290205, 45.367574595], [-69.675326407, 45.367474295], [-69.675362602, 45.3673741], [-69.675398901, 45.3672738], [-69.675435103, 45.367173597], [-69.675471306, 45.367073394], [-69.675515302, 45.367039397], [-69.675614402, 45.366963096], [-69.675713502, 45.366886795], [-69.675812602, 45.366810396], [-69.675911702, 45.366734095], [-69.676010802, 45.366657697], [-69.676017702, 45.366640396], [-69.676057905, 45.366540894], [-69.676098101, 45.366441399], [-69.6761382, 45.366341896], [-69.676178403, 45.366242498], [-69.676218502, 45.366142996], [-69.676258706, 45.366043493], [-69.676298805, 45.365943998], [-69.676339, 45.365844496], [-69.676379204, 45.365744993], [-69.676419303, 45.365645498], [-69.676459506, 45.365545996], [-69.676499605, 45.365446493], [-69.676487006, 45.365347996], [-69.676473707, 45.365245], [-69.676460505, 45.365141995], [-69.676447302, 45.365038894], [-69.676434107, 45.364935897], [-69.676420905, 45.364832893], [-69.676407605, 45.364729896], [-69.676394403, 45.364626899], [-69.676381201, 45.364523895], [-69.676368006, 45.364420794], [-69.676354706, 45.364317797], [-69.676341504, 45.364214793], [-69.676328301, 45.364111796], [-69.676315106, 45.364008799], [-69.676301807, 45.363905795], [-69.676288605, 45.363802798], [-69.676275402, 45.363699697], [-69.676299006, 45.363656595], [-69.676351704, 45.363560095], [-69.676404506, 45.363463596], [-69.676457301, 45.363367096], [-69.676510103, 45.363270499], [-69.676562801, 45.363173999], [-69.676615603, 45.363077499], [-69.676668406, 45.362980999], [-69.6767212, 45.362884395], [-69.676773906, 45.362787895], [-69.676826701, 45.362691395], [-69.676879503, 45.362594895], [-69.676932305, 45.362498395], [-69.6769851, 45.362401798], [-69.676995605, 45.362394899], [-69.6771027, 45.362324096], [-69.677209802, 45.362253293], [-69.677316904, 45.362182595], [-69.677424006, 45.362111799], [-69.677531101, 45.362040997], [-69.677638203, 45.361970298], [-69.677745305, 45.361899495], [-69.677781902, 45.361808695], [-69.677822106, 45.3617092], [-69.677862301, 45.361609697], [-69.6779024, 45.361510195], [-69.677942604, 45.3614107], [-69.677982703, 45.361311197], [-69.678022906, 45.361211695], [-69.678063005, 45.3611122], [-69.678103201, 45.361012697], [-69.6781433, 45.360913195], [-69.678183503, 45.3608137], [-69.678223602, 45.360714294], [-69.678263806, 45.360614799], [-69.678303905, 45.360515296], [-69.678344101, 45.360415794], [-69.6783842, 45.360316299], [-69.678424403, 45.360216796], [-69.678464502, 45.360117294], [-69.678504705, 45.360017799], [-69.678544804, 45.359918296], [-69.678585, 45.359818794], [-69.678625107, 45.359719299], [-69.678709701, 45.359686099], [-69.678838007, 45.3596358], [-69.678966306, 45.359585397], [-69.679094501, 45.359534994], [-69.6792228, 45.359484695], [-69.679351002, 45.359434299], [-69.679479301, 45.359383993], [-69.679607503, 45.359333597], [-69.679735802, 45.359283298], [-69.679864004, 45.359232895], [-69.679992303, 45.359182596], [-69.680120602, 45.359132193], [-69.680248804, 45.359081894], [-69.680377103, 45.359031498], [-69.680505306, 45.3589812], [-69.680633605, 45.358930796], [-69.680761807, 45.358880393], [-69.680890106, 45.358830094], [-69.6810183, 45.358779699], [-69.681146607, 45.3587294], [-69.681274801, 45.358678997], [-69.681329101, 45.358648494], [-69.681443803, 45.358583994], [-69.681558602, 45.358519495], [-69.681673303, 45.358454995], [-69.681788102, 45.358390495], [-69.681902803, 45.358325899], [-69.682017602, 45.358261399], [-69.682132304, 45.358196899], [-69.682247102, 45.3581324], [-69.682361901, 45.358067796], [-69.682476602, 45.358003296], [-69.682511605, 45.357969895], [-69.682598807, 45.357886694], [-69.682686001, 45.357803397], [-69.682773106, 45.357720196], [-69.6828603, 45.357636996], [-69.682947502, 45.357553795], [-69.683034703, 45.357470497], [-69.6831218, 45.357387297], [-69.683209002, 45.357304096], [-69.683296204, 45.357220799], [-69.683383405, 45.357137598], [-69.683393307, 45.357133694], [-69.683521502, 45.357083395], [-69.683649801, 45.357032999], [-69.683778003, 45.356982596], [-69.683906302, 45.356932297], [-69.684034504, 45.356881894], [-69.684162803, 45.356831595], [-69.684291005, 45.3567812], [-69.684419304, 45.356730893], [-69.684547506, 45.356680498], [-69.684675701, 45.356630094], [-69.684804, 45.356579795], [-69.684932202, 45.3565294], [-69.685060501, 45.356479093], [-69.685188703, 45.356428698], [-69.685317002, 45.356378295], [-69.685445204, 45.356327996], [-69.685573503, 45.3562776], [-69.685701706, 45.356227294]]}, 'properties': {'nhdplus_comid': 1723243}, 'id': 1723243}]}