ArcGIS Desktop

  • Dokumentation
  • Support

  • My Profile
  • Hilfe
  • Sign Out
ArcGIS Desktop

ArcGIS Online

Die Mapping-Plattform für Ihre Organisation

ArcGIS Desktop

Ein vollständiges professionelles GIS

ArcGIS Enterprise

GIS in Ihrem Unternehmen

ArcGIS for Developers

Werkzeuge zum Erstellen standortbezogener Apps

ArcGIS Solutions

Kostenlose Karten- und App-Vorlagen für Ihre Branche

ArcGIS Marketplace

Rufen Sie Apps und Daten für Ihre Organisation ab.

  • Dokumentation
  • Support
Esri
  • Anmelden
user
  • Eigenes Profil
  • Abmelden

ArcMap

  • Startseite
  • Erste Schritte
  • Karte
  • Analysieren
  • Verwalten von Daten
  • Werkzeuge
  • Erweiterungen

Neigung

Mit der Spatial Analyst-Lizenz verfügbar.

  • Zusammenfassung
  • Abbildung
  • Verwendung
  • Syntax
  • Codebeispiel
  • Umgebungen
  • Lizenzinformationen

Zusammenfassung

Ermittelt für jede Zelle eines Rasters die Neigung (Gradient oder Steilheit).

Learn more about how Slope works

Abbildung

Abbildung "Neigung"
OutRas = Slope(InRas1)

Verwendung

  • Zur Verarbeitung der Daten verwendet das Werkzeug ein bewegliches Fenster von 3 x 3 Zellen. Wenn der Typ der bearbeiteten Zelle "NoData" lautet, ist die Ausgabe für diese Position "NoData".

  • Of the eight cells neighboring the processing cell, this tool requires that at least seven of them have a valid value. Wenn weniger als sieben Zellen gültig sind, wird die Berechnung nicht ausgeführt, und die Ausgabe an dieser bearbeiteten Zelle lautet NoData.

  • The cells in the outermost rows and columns of the output raster will be NoData. Das liegt daran, dass die Zellen entlang der Grenze des Eingabe-Datasets nicht an ausreichend viele andere Zellen angrenzen.

  • Der Wertebereich in der Ausgabe hängt vom Typ der Maßeinheiten ab.

    • Für Grad können Neigungswerte von 0 bis 90 angegeben werden.
    • Für Prozentanstiege können Werte von 0 bis zu theoretisch unendlich angegeben werden. Eine flache Oberfläche entspricht 0 Prozent, eine Oberfläche mit 45 Grad entspricht 100 Prozent. Wenn die Oberfläche senkrechter wird, verstärkt sich der prozentuale Anstieg.

  • For the planar method, the use of a z-factor is essential for correct slope calculations when the surface (vertical) z-units are expressed in units different from the ground x,y units. The Z factor parameter will be enabled only when the planar method is selected.

  • For the geodesic method, specifying the surface z-unit is important to ensure the accuracy of the output. The Z unit parameter will be enabled only when the geodesic method is selected.

  • Wenn im vertikalen Koordinatensystem des Eingabe-Rasters eine Z-Einheit verfügbar ist, wird sie automatisch angewendet. It is suggested that you define a z-unit for the input raster if it is missing. You can use the Define Projection tool to specify a z-unit. If it is undefined, meter will be used by default.

  • Wenn das Eingabe-Raster neu berechnet werden muss, wird die bilineare Technik verwendet. Ein Eingabe-Raster muss beispielsweise dann neu berechnet werden, wenn das Ausgabe-Koordinatensystem, die Ausdehnung oder die Zellengröße sich von dem entsprechenden Wert der Eingabe unterscheidet.

  • This tool can be GPU accelerated when calculating geodesic slope, which means that if a GPU device (graphics processing unit) is available on your system, it will be used to enhance the performance of the geodesic method.

    The GPU Processing with Spatial Analyst help topic has more details on configuring and working with GPU devices, and some troubleshooting tips should you encounter difficulties.

  • Weitere Informationen zur Geoverarbeitung von Umgebungen mit diesem Werkzeug finden Sie unter Analyseumgebungen und Spatial Analyst.

Syntax

Slope (in_raster, {output_measurement}, {z_factor}, {method}, {z_unit})
ParameterErläuterungDatentyp
in_raster

Das Eingabe-Oberflächen-Raster.

Raster Layer
output_measurement
(optional)

Hiermit werden die Maßeinheiten (Grad oder Prozent) der Ausgabeneigungs-Raster bestimmt.

  • DEGREE —Der Neigungswinkel wird in Grad berechnet.
  • PERCENT_RISE —Der Neigungswinkel wird als prozentuale Steigung berechnet, die auch als prozentuale Neigung bezeichnet wird.
String
z_factor
(optional)

Number of ground x,y units in one surface z-unit.

The z-factor adjusts the units of measure for the z-units when they are different from the x,y units of the input surface. Die Z-Werte der Eingabe-Oberfläche werden bei der Berechnung der endgültigen Ausgabe-Oberfläche mit dem Z-Faktor multipliziert.

Falls die XY-Einheiten und die Z-Einheiten in denselben Maßeinheiten ausgedrückt sind, lautet der Z-Faktor 1. Dies ist die Standardeinstellung.

If the x,y units and z-units are in different units of measure, the z-factor must be set to the appropriate factor, or the results will be incorrect. For example, if your z-units are feet and your x,y units are meters, you would use a z-factor of 0.3048 to convert your z-units from feet to meters (1 foot = 0.3048 meter).

Double
method
(optional)

Determines whether to calculate the aspect based on a planar (flat earth) or a geodesic (ellipsoid) method.

  • PLANAR —The calculation will be performed on a projected flat plane using a 2D Cartesian coordinate system. Dies ist das Standardverfahren.
  • GEODESIC —The calculation will be performed in a 3D Cartesian coordinate system by considering the shape of earth as an ellipsoid.

The planar method is appropriate to use on local areas in a projection that maintains correct distance and area. It is suitable for analysis that cover areas such cities, counties, or smaller states in area. The geodesic method produces a more accurate result, at the potential cost of an increase in processing time.

String
z_unit
(optional)

Linear unit of vertical z-values.

It is defined by a vertical coordinate system if it exists. If a vertical coordinate system does not exist, the z-unit should be defined from the unit list to ensure correct geodesic computation. By default, Meter would be applied.

  • INCH —For inches (U.S.)
  • FOOT —Für Fuß
  • YARD —For yards (U.S.)
  • MILE_US —For miles (U.S.)
  • NAUTICAL_MILE —For nautical miles
  • MILLIMETER —For millimeters
  • CENTIMETER —For centimeters
  • METER —Für Meter
  • KILOMETER —Für Kilometer
  • DECIMETER —For decimeters
String

Rückgabewert

NameErläuterungDatentyp
out_raster

Das Ausgabe-Neigungs-Raster.

Es weist den Typ "Gleitkomma" auf.

Raster

Codebeispiel

Slope – Beispiel 1 (Python-Fenster)

In diesem Beispiel werden die Neigungswerte im Eingabe-Oberflächen-Raster bestimmt.

import arcpy
from arcpy import env
from arcpy.sa import *
env.workspace = "C:/sapyexamples/data"
outSlope = Slope("elevation", "DEGREE", 0.3043)
outSlope.save("C:/sapyexamples/output/outslope01")
Slope – Beispiel 2 (eigenständiges Skript)

In diesem Beispiel werden die Neigungswerte im Eingabe-Oberflächen-Raster bestimmt.

# Name: _Ex_02.py
# Description: Identifies slope from each cell.
# Requirements: Spatial Analyst Extension

# Import system modules
import arcpy
from arcpy import env
from arcpy.sa import *

# Set environment settings
env.workspace = "C:/sapyexamples/data"

# Set local variables
inRaster = "elevation"
outMeasurement = "DEGREE"
zFactor = ""
method = "GEODESIC"
zUnit = "FOOT"

# Check out the ArcGIS Spatial Analyst extension license
arcpy.CheckOutExtension("Spatial")

# Execute Slope
outSlope = Slope(inRaster, outMeasurement, zFactor, method, zUnit)

# Save the output 
outSlope.save("C:/sapyexamples/output/outslope02")

Umgebungen

  • Auto Commit
  • Zellengröße
  • Aktueller Workspace
  • Ausdehnung
  • Geographische Transformationen
  • Maske
  • Ausgabe-CONFIG-Schlüsselwort
  • Ausgabe-Koordinatensystem
  • Scratch-Workspace
  • Fang-Raster
  • Kachelgröße

Lizenzinformationen

  • ArcGIS Desktop Basic: Erfordert Spatial Analyst oder 3D Analyst
  • ArcGIS Desktop Standard: Erfordert Spatial Analyst oder 3D Analyst
  • ArcGIS Desktop Advanced: Erfordert Spatial Analyst oder 3D Analyst

Verwandte Themen

  • Überblick über das Toolset "Oberfläche"

ArcGIS Desktop

  • Startseite
  • Dokumentation
  • Support

ArcGIS Plattform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

Über Esri

  • Über uns
  • Karriere
  • Insider-Blog
  • User Conference
  • Developer Summit
Esri
Wir sind an Ihrer Meinung interessiert.
Copyright © 2018 Esri. | Datenschutz | Rechtliches