English 中文(简体)
Script or automate feature class creation in ESRI/ArcSDE
原标题:

I m looking for info on how to write SQL scripts to automate the creation of a versioned feature class in ArcSDE I want to be able to automate the process itself as well as put the scripts under version control. Can anyone point me to a resource that explains how to do this?

Is this even possible? It seems like there are lots of interrelationships between tables and data when a feature class is added.

P.S. It doesn t have to be pure SQL, but it should be some kind of scripting so we can save to version control and run outside of ESRI desktop tools.

问题回答

It would be exceedingly difficult to do this in SQL without breaking your database. As you indicated, there are a lot of relationships between the tables, and if you don t get it right, then your database is messed up.

If you re looking at a scripted solution, you might want to look at creating a Python script to create the versioned feature class. There are a few ways to do it, from creating a raw Python script in Notepad, to creating a geoprocessing model in ArcCatalog and exporting the model to a Python script.

Here s a link to the ESRI help on geoprocessing scripts: http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=An_overview_of_writing_geoprocessing_scripts





相关问题
Script or automate feature class creation in ESRI/ArcSDE

I m looking for info on how to write SQL scripts to automate the creation of a versioned feature class in ArcSDE I want to be able to automate the process itself as well as put the scripts under ...

Esri mapobects in Delphi 2010

Has anyone installed ESRI mapobjects activeX controls in Delphi 2010? I get a conflict on tTable as a component name.

Alter map layer symbology dynamically (ArcGIS Server)

What is the preferred method of altering a layer s symbology dynamically? My web app consumes a map service via the REST API, but I don t mind using the SOAP API or ArcObjects (.NET).

热门标签