Hydrological processing with python script

Python for Spatial Analysis in ArcGIS Advanced Python in ArcGIS for Spatial Analysis
10 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€63.82
List Price:  €91.17
You save:  €27.35
£53.47
List Price:  £76.40
You save:  £22.92
CA$95.64
List Price:  CA$136.64
You save:  CA$40.99
A$103.89
List Price:  A$148.42
You save:  A$44.53
S$91.26
List Price:  S$130.38
You save:  S$39.11
HK$544.04
List Price:  HK$777.23
You save:  HK$233.19
CHF 59.97
List Price:  CHF 85.67
You save:  CHF 25.70
NOK kr751.23
List Price:  NOK kr1,073.24
You save:  NOK kr322
DKK kr476.01
List Price:  DKK kr680.05
You save:  DKK kr204.03
NZ$114.98
List Price:  NZ$164.26
You save:  NZ$49.28
د.إ257.07
List Price:  د.إ367.26
You save:  د.إ110.19
৳8,371.72
List Price:  ৳11,960.11
You save:  ৳3,588.39
₹5,876.16
List Price:  ₹8,394.88
You save:  ₹2,518.71
RM299.76
List Price:  RM428.25
You save:  RM128.49
₦113,438.39
List Price:  ₦162,061.79
You save:  ₦48,623.40
₨19,436.22
List Price:  ₨27,767.22
You save:  ₨8,331
฿2,339.59
List Price:  ฿3,342.41
You save:  ฿1,002.82
₺2,397.55
List Price:  ₺3,425.22
You save:  ₺1,027.67
B$387.39
List Price:  B$553.44
You save:  B$166.05
R1,230.81
List Price:  R1,758.38
You save:  R527.56
Лв124.90
List Price:  Лв178.43
You save:  Лв53.53
₩94,013.94
List Price:  ₩134,311.39
You save:  ₩40,297.44
₪262.14
List Price:  ₪374.50
You save:  ₪112.36
₱3,989.08
List Price:  ₱5,698.93
You save:  ₱1,709.85
¥10,402.05
List Price:  ¥14,860.71
You save:  ¥4,458.66
MX$1,353.30
List Price:  MX$1,933.38
You save:  MX$580.07
QR254.79
List Price:  QR364.01
You save:  QR109.21
P928.52
List Price:  P1,326.51
You save:  P397.99
KSh9,028.71
List Price:  KSh12,898.71
You save:  KSh3,870
E£3,396.74
List Price:  E£4,852.70
You save:  E£1,455.95
ብር8,504.86
List Price:  ብር12,150.32
You save:  ብር3,645.46
Kz63,585.91
List Price:  Kz90,840.91
You save:  Kz27,255
CLP$65,411.21
List Price:  CLP$93,448.59
You save:  CLP$28,037.38
CN¥494.67
List Price:  CN¥706.70
You save:  CN¥212.03
RD$4,213.95
List Price:  RD$6,020.19
You save:  RD$1,806.23
DA9,315.59
List Price:  DA13,308.55
You save:  DA3,992.96
FJ$155.60
List Price:  FJ$222.30
You save:  FJ$66.69
Q541.90
List Price:  Q774.18
You save:  Q232.27
GY$14,650.15
List Price:  GY$20,929.68
You save:  GY$6,279.53
ISK kr9,490.64
List Price:  ISK kr13,558.64
You save:  ISK kr4,068
DH686.68
List Price:  DH981.02
You save:  DH294.33
L1,233.52
List Price:  L1,762.25
You save:  L528.73
ден3,928.69
List Price:  ден5,612.66
You save:  ден1,683.96
MOP$561.02
List Price:  MOP$801.49
You save:  MOP$240.47
N$1,223.42
List Price:  N$1,747.82
You save:  N$524.39
C$2,578.29
List Price:  C$3,683.44
You save:  C$1,105.14
रु9,405.05
List Price:  रु13,436.37
You save:  रु4,031.31
S/260.96
List Price:  S/372.82
You save:  S/111.85
K275.30
List Price:  K393.30
You save:  K118
SAR262.76
List Price:  SAR375.39
You save:  SAR112.63
ZK1,858.15
List Price:  ZK2,654.61
You save:  ZK796.46
L317.61
List Price:  L453.74
You save:  L136.13
Kč1,617.40
List Price:  Kč2,310.67
You save:  Kč693.27
Ft25,491.99
List Price:  Ft36,418.69
You save:  Ft10,926.70
SEK kr725.36
List Price:  SEK kr1,036.28
You save:  SEK kr310.91
ARS$68,186.20
List Price:  ARS$97,413.03
You save:  ARS$29,226.83
Bs484.10
List Price:  Bs691.61
You save:  Bs207.50
COP$295,538
List Price:  COP$422,215.25
You save:  COP$126,677.24
₡36,310.91
List Price:  ₡51,874.96
You save:  ₡15,564.04
L1,749.75
List Price:  L2,499.75
You save:  L750
₲546,155.28
List Price:  ₲780,255.28
You save:  ₲234,099.99
$U2,881.26
List Price:  $U4,116.26
You save:  $U1,235
zł274.11
List Price:  zł391.60
You save:  zł117.49
Already have an account? Log In

Transcript

In class to learn the hydrological tools under Spatial Analyst to create a flow direction accumulation. Last class we learn the basic tools to create a basis from flow directions. In this class, I will introduce you our new tool which is called watershed. Okay, that's the recall over Python script. In class two, we link the flow direction, flow accumulation and conditional to make the streams the main class seven, we added the base into after the flow direction. This class let me show you the difference between watershed and paste into under hydrological tools is special To listen to what is the difference between basing and ownership.

Let's do an example first. So I have already prepared the field a DM from the SOS dm, the flow direction from the DM and the flow accumulation from the flow direction. Now let's do a base thing first. Add the flow direction as the input. And then here is the result. You can see there are many different colored regions in this map.

That means they're different facings need to have a better visualization effect we can use conversion from raster to polygon tools. This tool will help us to create polygons from a raster file. Okay so now, this the polygon we created for the base things. This try watershed tool. The input is the flow direction and it has another input which is support data. You can basically define your own pour data from the flow accumulation layer needed to define your data on the river.

So we need to zoom into the river. lighter colored one is the river. Practice, I have already created a poll data that's added the poll point data and to make it more visible it changes. Okay, so the green.is the poor point it's checking if it's on the river. See, it's actually landed on the river line. But what if it's not?

Let me introduce you the editing tool. editor, start editing truth layer we want to add it, which is a poor point. When that when that error change like this, you can move the points anywhere you want. Just move it back to the river and stop editing and escape at it. Now, we have all the input layers ready. That's to try to create a Watership using the watershed tool.

Input flow direction, the pool point and that's over output. To make it more clear, we can convert it to polygon. See, this is a difference. The watershed is on The light colored polygon, the basics are the blue colored ones. Let's compare watershed is only a small segment of the painting while basins use the edge of the sauce, the sauce flow direction as the outlet, the wondershare that you support point as the outlet. So, there are many things, but there is only one watershed using this one pole point and that the upstream parts aligned only the downstream part due to a different outlet.

Why is larger one is smaller. Now, let's talk about two important things of raster data. One is the resolution of raster data. I have prepared to use three sets of Digital Elevation Model data for the same region 400 meter resolution 19 meter resolution and a 30 meter resolution. I prepared the surface the DTM under the hillshade. So, it will give you a better visualization.

If I uncheck the hillshade the map will look more like flat with handshape it give us a like a three D effect. So, let's just check the hillshade as well. From the current zoom window, you cannot really feel the difference between different the resolution and less looming that's how 450 meter resolution dm look like. That's how 90 meter resolution that half 30 meter looks like. As you can see with find a resolution, the map will contain more details and the finer resolution the end will also take up more memories. So there is a balance between resolution of the region the DM is covering how detailed you want the map to be, there's a balance.

The good thing is the ArcGIS can't allow us to resemble over data to make sure we can have different resolution. The resemble data is under data management tool raster raster processing, please sample input is our range of data set. The output is the resemble the data set, we can pick up the resolution by the existing layers we have added or define the resolution. Let's talk about the second most important coordinate system. This is the current projection system, we can right click layer tech property. Coggan data system.

The current system is WGS 84 has to change the new projections this I'm going to see how the map will look like. has changed a different one that's changed a protected system. The map now looks different. The shape is stretched The wider now let's change another projection system to make it a more clear shape of the map is just tort because we use the different the projected system. However the projection is the sum is only changes in our way we look at it to change in the data projection, make sure each data is actually projected in the new projection system, we need to use a tool. The tour is under data management, projection, transformation, raster projector raster.

Input is the data arranged in our data and the output is the projected data We want to introduce the projection system here from the geographic coordinate system from the projected coordinate system, all from the layer coordinate system, the layer where the layers has been added into the workspace. Understand that a resolution of raster data and projection system of raster data is the whiteout for us to conduct spatial calculation between raster layers in our future classes.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.