New answers tagged

0

For the record: Enterprise geodatabase libraries were available for both 32-bit and 64-bit servers at 10.0, and have shipped exclusively 64-bit since ArcGIS 10.1. There has never been a "32-bit bottleneck" in ArcSDE client applications (as of the time of the original post, the increased 64-bit instruction size actually slowed performance, though modern ...


2

ArcGIS doesn't like fieldnames with spaces, or any other non-alphanumeric character for that matter (other than the underscore _) The Esri FAQ What characters should not be used in ArcGIS for field names and table names? says Eliminate any characters that are not alphanumeric character or an underscore. Do not start field or table names with an ...


3

Have you considered using the arcpy ChangeVersion_management() tool? From the ESRI Help page: "Each input feature layer or table view will have its workspace modified to connect to the requested version." It's pretty straightforward and doesn't require a new connection file or modify the existing connection file. You just pass the features you want ...


0

You're almost there. I think two SDE connection files with the same name should work (each pointing to the desired version.) In the mxd, make sure the data is pointing to the data using the local SDE connection file. When they want to see the other version, just switch out the SDE connection file in the OS. You won't need to edit the source if the SDE files ...


1

Esri's Attribute Assistant has a tool called Generate ID which will automatically generate a new ID whenever a new feature is created. These IDs can be created per feature class to generate different IDs for different feature classes, and can be created based on a specific template if required.


2

I have slightly modified another script I had laying around which should do what you want, using Insert Cursors and Update Cursors. It does require you to specify the name of your unique ID field (can't be ObjectID). It also has no error checking (I didn't need it for what I was doing but as you're modifying SDE feature classes it may be wise to add some!) ...


4

Esri deprecated use of the ArcSDE application server (giomgr and gsrvr processes) in favor of exclusive Direct Connect connections at 10.2 (there are no 10.3 application server binaries). ArcGIS 10.1 and 10.2 added a number of tools to replace the deprecated tools like sdemon, and 10.3 added more. The Do This, Not That! – Alternatives to using SDE command ...


1

You could upgrade to a Standard level license to achieve this. There is no need for an Advanced level license to write to ArcSDE, although it can.


1

I have used a script similar to Peter's up above and had good luck, although his is better. One thing to point out that might trip someone up is if you are using 64 bit python geoprocessing and you have ArcFM loaded on top of ESRI, it will fail on all features that have been set to use ArcFM or Designer with a ERROR 000260. This is because you have to use 32 ...


3

Kirk is right on the money, with the exception of one statement. If your mapservice url is public, and you have an ArcGIS Online account, you can create an app without coding. As long as you have access to the internet, it is possible to create webmaps and applications in ArcGIS Online that reference an instance of ArcGIS Server that is behind a ...


0

Using arcy.da.Walk it works and even faster than using the Describe object. So in case it is useful to anyone, this is how my code is now: import arcpy, os def ListFeatureDatasets(geodb): arcpy.env.workspace = geodb for dirpath, dirnames, filenames in arcpy.da.Walk(workspace,datatype="FeatureDataset"): return dirnames def ...


0

The figure below may help answer your question. I would create a new file geodatabase, with your desired schema, and would set the output from Project tools to be saved there. If you need your final database to be an SDE, then maybe you can use one of your original SDEs to store your new, projected data.


1

An alternative option to get your fc and fd paths is to use arcpy.da.walk. This code snippet will provide the path of empty fd: walk = arcpy.da.Walk(workspace, datatype="FeatureDataset") for dirpath, dirnames, filenames in walk: print dirpath


3

Instead of trying to "customize the map service", I recommend leaving the map service as-is, and writing apps that use the map service. You can write such an app by starting with the sample code in the ArcGIS API for javascript. If you don't want to write code, you can use the Web Appbuilder. If your mapservice url is public (i.e. accessible from outside ...



Top 50 recent answers are included