POST
|
There is still no way to create a historical marker via python as of 10.3.1. However you can connect to your geodatabase at a point in time using python. If you use the Create Database Connection tool (which was new at 10.1 I believe). This tool lets you specify a point in time you wish to connect to. This will connect to your archived data at that point in time. Not quite a historical version but pretty close.
... View more
05-28-2015
09:32 AM
|
1
|
0
|
571
|
DOC
|
Demo data, scripts and PowerPoint from the session 'Accessing Your Enterprise Geodatabase Using Python'. Developer Summit 2015.
... View more
03-10-2015
11:35 AM
|
2
|
1
|
5004
|
POST
|
Diego, We do not plan to support feature services with DB2 z/OS as there is no support for auto increment columns in z/OS and this is required for the feature service.
... View more
02-04-2015
11:53 AM
|
1
|
1
|
810
|
POST
|
Hi Juho, Are you using ArcGIS Server feature services or hosted feature services from ArcGIS.com? Why is it that you want to use per replica instead of per layer sync?
... View more
11-10-2014
12:21 PM
|
0
|
2
|
726
|
POST
|
Can you post some of the code that you are trying to execute? There is an example in the help for how to work with this: import arcpy import os fc = 'Database Connections/Portland.sde/portland.jgp.schools' workspace = os.path.dirname(fc) # Start an edit session. Must provide the worksapce. edit = arcpy.da.Editor(workspace) # Edit session is started without an undo/redo stack for versioned data # (for second argument, use False for unversioned data) edit.startEditing(False, True) # Start an edit operation edit.startOperation() # Insert a row into the table. with arcpy.da.InsertCursor(fc, ('SHAPE@', 'Name')) as icur: icur.insertRow([(7642471.100, 686465.725), 'New School']) # Stop the edit operation. edit.stopOperation() # Stop the edit session and save the changes edit.stopEditing(True)
... View more
10-29-2014
02:04 PM
|
0
|
5
|
545
|
POST
|
Hi Alexander, There is no way to do this using Arcpy and I would caution doing this in the DBMS using DBMS tools as you need to know exactly what tables need privileges to be applied. The Change Privileges tool was implemented at a time when ArcMap/ArcCatalog context menus only allowed you to apply View (select) or Edit (insert, update, delete) privileges and unfortunately was not updated at 10.1 when we replaced the privileges dialog to allow you to set these individually for non-versioned data. This is the first time we have had a customer request for this specific functionality to be scripted and have therefore not put effort into developing this functionality. I would suggest entering this on ideas.arcgis.com to see if you can get other members of the community to support this. With enough demand I think this would be a good idea to move forward on. Russell
... View more
10-29-2014
01:51 PM
|
0
|
0
|
379
|
POST
|
The WITH GRANT option is only available from the database using database level tools. I would not recommend using this privilege to manage privileges for data in an enterprise geodatabase, especially when data is contained in a feature dataset. There are many cases (too many to list) where an ArcGIS dataset is not just one table but many tables in the underlying DBMS. If you use database tools to manage privileges on these datasets and happen to miss one of the underlying tables you will run into issues reading and writing this data. This can lead to data corruption and a lot of sadness. Please stick to managing privileges for datasets with Esri tools. The recommended approach to this is to load data using a 'headless' user. This user could be a database user or an OS authenticated user that isn't associated to someone specific in your organization. Loading data as this user will allow you to manage privileges using this user. Hope this helps, Russell
... View more
10-24-2014
03:39 PM
|
1
|
0
|
708
|
POST
|
The only thing I can think of is that you did not choose the relative paths option when creating the script tool that is in your model.
... View more
10-23-2014
05:56 PM
|
1
|
1
|
334
|
POST
|
I cannot directly answer your question because I am personally not familliar with all of the local government maps/apps and if they rely on editor tracking fields. I would suggest that rather than using the 'Manage > Enable editor tracking' option to enable editor tracking that you use either the GP tool or go to the properties page for the dataset. Using either of these options allows you to specify an already existing field to use for any of the four editor tracking fields. You could point to the existing LASTUPDATE and LASTEDITOR and use these instead. Hope this helps, Russell
... View more
10-22-2014
12:57 PM
|
2
|
3
|
679
|
POST
|
When your data is archive enabled the timestamps on your data are used to determine what the current representation of your data is. We do not actually delete the records, rather we 'mark' them as deleted by setting a timestamp to the current moment. I would strongly caution against running delete queries in SQL before running your report. Rather I would suggest that you use the archive view to access your data or alter your Excel report to only query data that is current (gdb_to_date field = 12/31/9999). Below are some links to some of the help documentation on accessing your data via SQL. SQL Access to enterprise geodatabase data. What is an archive view The archive process - see the paragraph "Enabling archiving on nonversioned data" Hope this helps, Russell
... View more
10-22-2014
12:51 PM
|
0
|
0
|
573
|
POST
|
Hi Matt, You can update the extent of your feature class by opening the properties of the feature class in ArcCatalog or the Catalog window in ArcMap and going to the 'feature extent' tab. On this tab you can see the extent of your feature class and there should be a button enabled that allows you to recalculate the extent. You will need to be connected as the owner of the data in order for this button to be enabled. After clicking this button you should see a new extent that is based off of the extent of your data. Russell
... View more
10-22-2014
12:27 PM
|
0
|
1
|
2934
|
POST
|
Hi Clara, I just sent you a message with my email address.
... View more
10-22-2014
09:09 AM
|
0
|
0
|
627
|
POST
|
Hi Clara, I am glad to hear that you are on your way and things are working as expected. I tried a simple test on my end to try to reproduce this issue but was unsuccessful. Were you viewing the records in Oracle or in ArcGIS? If using Oracle tools to view the data you may not have seen the edits in the table because they would be stored in the delta tables. I would like to track down the cause of this issue, are you able to send me the version of desktop and geodatabase that you are working with? Thanks, Russell
... View more
10-21-2014
01:02 PM
|
0
|
2
|
627
|
POST
|
We should support the ability to enable editor tracking on columns that already have data in them. Can you tell me more about exactly what you had in the column before you attempted to enable editor tracking. I assume you are using a string/text field, can you confirm? You mention that you used the properties page to enable editor tracking, can you please confirm this? Did you try with the enable editor tracking geoprocessing tool? Can you let me know what version of Desktop, Geodatabase, and Oracle you are using? Is your data registered as versioned? I tried to replicate the issue you are describing and in my case everything worked as you desired.
... View more
10-20-2014
05:26 PM
|
0
|
5
|
627
|
Title | Kudos | Posted |
---|---|---|
1 | 08-29-2013 08:26 AM | |
1 | 08-20-2014 11:38 AM | |
1 | 09-05-2013 09:03 AM | |
1 | 02-04-2015 11:53 AM | |
1 | 08-25-2014 09:36 AM |
Online Status |
Offline
|
Date Last Visited |
01-24-2024
01:35 AM
|