kikita & Maps

GIS,spatial and artificial intellegence learning and share

在导入 ArcPy 之后,可以运行随 ArcGIS 安装的标准工具箱中的所有地理处理工具。

import arcpy


1.导入整个模块

模块通常是一个包含函数和类的 Python 文件。

ArcPy 包括数据访问模块 (arcpy.da)、制图模块 (arcpy.mapping)、ArcGIS Spatial Analyst 扩展模块模块 (arcpy.sa) 和 ArcGIS Network Analyst 扩展模块模块 (arcpy.na)。

1
import arcpy.mapping

Python 的核心 os 和 sys 模块,也可使用此命令。例如:

1
2
import os
import sys

Read more »

通过 “Data Driven Page” 可以基于单个地图文档,快速创建一系列布局页面。按照图层中的各个索引要素,将地图分割为多个部分,分别生成相应的地图。

可见,索引要素是决定地图出图的重要部分,常见的索引方式,例如:网格索引,带状索引等等。

Data Driven Page 工具条上的设置,主要也是来配置索引图层,那索引图层如何制作?

 

ArcGIS 提供了一系列制作和准备 Data Driven Page 的 GP工具。

Read more »

许多用户在 ArcGIS 9.2 时代习惯于使用 Sketchup 插件,但是,9.2版本已经结束了他的使命,进入了退休列表,已往的交互方法不再推荐。

在 ArcGIS 10 之后不再使用这个插件,而且给了其他的思路。

如下是官方说明中的原文:


What is the recommended workflow between SketchUp and ArcGIS?

The ArcGIS SketchUp plug-in is no longer supported at ArcGIS 10. The recommended workflow is now as follows:

  1. Digitize in your polygon.
  2. Extrude it by an attribute in 3D.
  3. Convert it to a multipatch using Layer 3D to Feature Class.
  4. Export it to COLLADA using MPatch to COLLADA.
  5. Import/Edit in SketchUp (e.g., textures, pitched roof, etc.).
  6. Then use the edit environment to replace the mpatch feature with the new SKP model.

链接:http://www.esri.com/software/arcgis/extensions/3danalyst/technical-information/common-questions



Read more »

1.查看端口占用情况

使用命令 netstat -ano ,检查所有在使用的端口。

如果查询指定端口,使用:**netstat -aon|findstr "Port No."**,如下:

例如,查看49506端口号对应的进程,进程号976:

2. 查看PID 对应的程序

查看具体哪个程序在占用某个端口,使用命令:

netstat -aon|findstr "Port No."

接着上面的例子,976对应的程序。

Read more »

ArcGIS 的补丁都是可以覆盖安装的,并且可以直接打最新补丁,最新补丁中修复了同版本前面所有补丁修复的问题。


ArcGIS 10.1

最新补丁: SP1

中文
http://downloads.esri.com/support/downloads/other_/Install101_SP1_Chinese_OSC.htm

英文
http://support.esri.com/en/downloads/patches-servicepacks/view/productid/189/metaid/1913


ArcGIS 10.0

最新补丁: SP5

英文

Read more »
0%