Expand Collapsed Contours (Maritime)

Доступно с лицензией ArcGIS Maritime.

Краткая информация

Expands (pulls apart) contour lines that are snapped together. This preserves representative depth areas.

Использование

    Внимание:

    Этот инструмент изменяет входные значения. Более подробно о стратегиях предотвращения нежелательных изменений данных см. в разделе Инструменты, которые изменяют или обновляют входные данные.

  • Collapsed vertices (either within a contour or between contours) are pulled apart where possible by pulling them toward the line made between neighboring vertices. Where the angle is too shallow to allow an offset of the specified expansion distance, that vertex will be removed.

  • The tool modifies the features in the Target Contours parameter.

  • The tool deletes zero-length features.

  • The tool snaps points to 10 times the x,y resolution of the target contours when determining collapsed vertices.

  • Duplicate vertices on contours are removed.

  • The tool messages the feature object ID and collapsed vertices it expands.

  • When a collapsed vertex involves an endpoint of a floating contour, a warning message is generated in the output. Ensure that you review any instances identified.

  • The Expansion Distance parameter is optional. The default is five times S-57 precision (0.0000005).

Параметры

ПодписьОписаниеТип данных
Target Contours

The feature class containing the contours to be expanded.

Feature Layer
Expansion Distance
(Дополнительный)

The distance that contours will be expanded based on the coordinate system of the target contours. The default is 5e-7 decimal degrees based on the WGS84 geographic coordinate system.

Double

Производные выходные данные

ПодписьОписаниеТип данных
Updated Contours

The updated feature class.

Feature Layer

arcpy.maritime.ExpandCollapsedContours(target_contours, {expansion_distance})
ИмяОписаниеТип данных
target_contours

The feature class containing the contours to be expanded.

Feature Layer
expansion_distance
(Дополнительный)

The distance that contours will be expanded based on the coordinate system of the target contours. The default is 5e-7 decimal degrees based on the WGS84 geographic coordinate system.

Double

Производные выходные данные

ИмяОписаниеТип данных
updated_contours

The updated feature class.

Feature Layer

Пример кода

ExpandCollapsedContours example (Python window)

The following Python window script demonstrates how to use the ExpandCollapsedContours function.

# Import arcpy module  

import arcpy  

 

# Check for Nautical extension  

if arcpy.CheckExtension("nautical") == "Available": 

   arcpy.CheckOutExtension("nautical")  

   print ("License checked out successfully ....")  

   else:  

   raise ex("Maritime license is unavailable.")  

 

#Tool variables  

target_contours = r"C:\ExpandCollapsedContours\Contours.gdb\Nautical\DepthsL" 

expansion_distance = 5E-07 

 

# Run the tool  

arcpy.maritime.ExpandCollapsedContours(target_contours,expansion_distance)

Параметры среды

Этот инструмент не использует параметры среды геообработки

Информация о лицензиях

  • Basic: Нет
  • Standard: Обязательно ArcGIS Maritime
  • Advanced: Обязательно ArcGIS Maritime

Связанные разделы