生成模型如下:

关键组件:Make Query Table
The Make Query Table tool applies an SQL query to a database and the results are represented in a layer or table view. The query can be used to join several tables or return a subset of columns or rows from the original data in the database.
Make Query Table accepts data from an ArcSDE geodatabase, a file geodatabase, a personal geodatabase, or an OLE DB connection.
现在使用OLE DB连接,数据是oracle的.在类似catalog 的目录中双击数据库连接

如下图所选,但是需要已经添加了ODBC数据源

控制面板-管理工具-ODBC

选择oracle的驱动

配置oracle的数据源

设置catalog 中的数据库连接属性

现在已经建立下图所示的连接

选择表

完成Make Query Table工具的参数

第二个工具 Make XY Event Layer

此处的X字段和Y字段对应先前选择的经度和纬度的列名.
最后一个工具简单,不再赘述.
浙公网安备 33010602011771号