Tagged Questions
2
votes
1answer
29 views
Arcpad checkout to an area
I would like to check out data from an SDE database but for performance sake, i prefer to delete all features outside of my survey area.
i've tried to copy features in area from sde to a file GDB ...
0
votes
0answers
33 views
how to access a feature class in SDE using arcpy [duplicate]
I am new to Python and Arcpy. I am trying to access the SDE server to extract some information from feature classes that reside in the server database. I know the name of the feature class and I also ...
3
votes
1answer
71 views
How can I validate a table name on SDE with Oracle backend?
Second title: "Is arcpy.ValidateTableName broken on Oracle?"
I have an Oracle SDE database 9.3.1 (service connection). My arcGIS client tools are version 10.0 SP5). I have some names of feature ...
1
vote
1answer
71 views
Database Connections folder is empty when viewed with ArcGIS tool
I'm trying to create an ArcGIS tool which accepts an SDE connection file as an input. I made a new interface with an input parameter and set the type to Database Connections. When I open the tool and ...
1
vote
1answer
39 views
Filter ArcSDE layers of the TOC into a combobox
I've a list of layers of the current workspace in a combobox, but I want to list only the layers of the ArcSDE Connection, not the others I've in the TOC.
How can I filter the name of this layers?
3
votes
1answer
136 views
Arcpy does not execute “CopyFeatures_Management” to write a featureclass to an ArcSDE database
I have some problems with my Python script. The script gets an JSON with different information about images. The information includes general information about images and also the gps position of ...
4
votes
1answer
113 views
Access Metadata from ArcSDE-tables using python
Is it possible to access the metadata of a feature class in a ArcSDE-data, using arcpy / python (on Arcgis 10.0).
I suppose I could export the metadata to xml and parse the xml, but is there a more ...
5
votes
1answer
98 views
Why Can't ArcPy Search the Newly Created Feature
I'm running the following tool in ArcGIS 10. I have an ArcPy Script like this:
import arcpy
from arcpy import env
env.workspace=r"C:/sde/lcimrl.sde"
fc="SDE.ATTACHMENTS\SDE.attachment_points"
fcRows ...
3
votes
0answers
66 views
How to enable SDE Archiving with python and the SDE api ArcGIS 10.0
I have a script that does some register as versioned and updating privileges. How would I call into the c api for ArcSDE to enable archiving with python?
...
1
vote
1answer
197 views
Why does arcpy append from file geodatabase to SDE fail?
I'm trying to append a feature class from a file geodatabase to an Arcsde featureclass using this line of code:
arcpy.Append_management("parcel_copy", sde_path+"parcel" ,"NO_TEST")
This line works ...
6
votes
3answers
1k views
How to delete feature class features faster (ArcPy)
I have written this script that recurses through all feature classes in a given set of feature datasets and deletes all their features. It appears to do the job but it runs pretty slowly. Is there ...
3
votes
1answer
413 views
How can I create an empty feature class in a file geodatabase based on the schema of an SDE feature class?
I have 150+ feature classes in SDE for which I need to create an empty feature class in a file geodatabase. For these feature classes I need to import the attributes and the name of the feature class ...
1
vote
1answer
637 views
Delete SDE feature class features with ArcPy
I'm working on a script that will empty my SDE database of all data. How would I go about deleting features from feature classes using ArcPy?
I have an SDE connection created with a user that should ...
3
votes
1answer
571 views
Can ArcPy test for availability of SDE Connection before trying to use it?
In a Python script that I use to publish ArcGIS 10.0 Geoprocessing Services I have some code:
arcpy.AddMessage("If process hangs here, check for ArcSDE connections issue by trying to open " + mapFile ...
0
votes
1answer
145 views
How do I assign a variable to a SQL Server ArcSDE database's feature class?
I'm using ArcGIS Desktop 10 and have no experience using Python with a SQL Server ArcSDE database. When using a shp file or file gdb it is very simple to reference a given feature class by simply ...
2
votes
2answers
785 views
ArcPy Changing Spatial Database Connection
hi we have conveyed our some servers which has ArcGIS application and SDE on it to another server and its ip has changed. now when i want to open my .mxd file it tries to connect remote SDE with old ...
6
votes
1answer
564 views
ArcGIS 10 Linux experience
We have ArcGIS 10 installed on a nice clean Linux box. We have developed scripts to run on the Windows desktop development machines, and modified them to run on Linux.
Now, if we run the scripts on ...
1
vote
2answers
1k views
How can I insert new records to an ArcSDE feature class from a view in ArcSDE
I am wondering how I can both insert new records from a view to a feature class and update data that may be newer in the view than in the feature class. I have been fumbling around in modelbuilder and ...
5
votes
2answers
3k views
How does one access a featurelayer in SDE via Python?
I am trying to use Arcpy to run the CopyFeatures_management script so that I can copy a featurelayer in SDE.
What do I use for the input (and output, for that matter, since I'll be copying the layer ...