“kepadatan garis arcpy” Kode Jawaban

kepadatan garis arcpy

import arcpy
from arcpy import env
from arcpy.sa import *
env.workspace = "C:/sapyexamples/data"
outLDens = LineDensity("roads.shp", "LENGTH", 45, 1000, "SQUARE_MILES") 
outLDens.save("C:/sapyexamples/output/ldensout")
Bohemian Unicorn

kepadatan garis arcpy

LineDensity(in_polyline_features, population_field, {cell_size}, {search_radius}, {area_unit_scale_factor})
Bohemian Unicorn

kepadatan garis arcpy

# Name: LineDensity_Ex_02.py
# Description: Calculates a magnitude per unit area from polyline features
#    that fall within a radius around 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
inPolylineFeatures = "roads.shp"
populationField = "length"
cellSize = 120
searchRadius = 1500

# Execute LineDensity
outLineDensity = LineDensity(inPolylineFeatures, populationField, cellSize,
                             searchRadius, "SQUARE_MILES") 

# Save the output 
outLineDensity.save("C:/sapyexamples/output/linedensity")
Bohemian Unicorn

Jawaban yang mirip dengan “kepadatan garis arcpy”

Pertanyaan yang mirip dengan “kepadatan garis arcpy”

Lebih banyak jawaban terkait untuk “kepadatan garis arcpy” di Python

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya