|
POST
|
There are several scripts that create a geodatabase, modify the schema and insert data on the database. This scripts are designed as part of a solution. In a Nigthly process this scripts are called, several times, in order to have several databases (Development/Testing process). The scripts include the creation of SDE files for the connection based on User/Password. When progress logs are checked,time to time, the scripts have failed: cannot open 'DataOwner.PROJECT_STATUS' but is not always the same table. Running the set of scripts again in the morning they work fine. Trying to find a possible cause, in the SQL server logs I found some entries that match the time when the scripts fail: Date 8/11/2020 5:18:45 AM Log SQL Server (Current - 8/11/2020 6:00:00 AM) Source spid71 Message The connection has been dropped because the principal that opened it subsequently assumed a new security context, and then tried to reset the connection under its impersonated security context. This scenario is not supported. See "Impersonation Overview" in Books Online. Currently in the scripts, there is no impersonation. What could be the possible causes for this behavior?
... View more
08-11-2020
12:09 AM
|
0
|
0
|
661
|
|
POST
|
Hello Mark, currently the UPDM XML document does not include any data, therefore, i do not care about it.
... View more
06-15-2020
12:55 AM
|
0
|
0
|
1546
|
|
POST
|
An XML document with the schema definition (No data) of a geodatabase (ESRI Format) is available to be restored in another server (UPDM definition 2018). That definition was created with the spatial reference 102968 (NAD_1983_2011_Michigan_GeoRef_Meters). It is required to apply this schema to a brand new geodatabase but using the spatial reference WGS84. The tool Import XML workspace does not have the option to change the spatial reference. This document is a one-line xml whit a huge amount of data. It is quite cumbersome to change the spatial reference, moreover if you do not have the knowledge of the xml schema. Is there a way to automatically change the spatial reference either in the XML or in the import process?
... View more
06-14-2020
11:31 PM
|
0
|
2
|
1596
|
|
POST
|
The use of the proposed tool does not solve the main question: How can I create the ags file using python in ArcGIS Pro? neither answer the second one: Is it possible to make all this process publishing to an ArcGIS server having a user with proper rights and its password (no ags file)?
... View more
03-10-2020
05:36 AM
|
0
|
0
|
2134
|
|
POST
|
In the process to publish a python tool, I came to the part of automate the deployment process. i start using python for it. reading the documentation i found CreateGPSDDraft—ArcPy Functions | Documentation as well as Upload Service Definition—Help | Documentation The first function use a parameter connection_file_path ( A string that represents the path and file name to the ArcGIS Server connection file (.ags).) The second function in the example 2 shows how to use the ags file for the connecttion. How can I create the ags file using python in ArcGIS Pro? Is it possible to make all this process publishing to an ArcGIS server having a user with proper rights and its password (no ags file)?
... View more
03-10-2020
03:25 AM
|
0
|
4
|
2235
|
|
DOC
|
Thanks Michael, but my client is requiring 2018 version.
... View more
03-09-2020
07:31 AM
|
0
|
0
|
5673
|
|
DOC
|
I decided to create an instance of UPDM 2018 using the python scripts provided in the zip file. My first attempt was to use the script C:\temp\UPDM_2018\PythonScripts\01CreateUPDMBaseAdd-On_2018.py I keep receiving an error that states: ERROR 000732: Input Table: Dataset U:\Documents\ArcGIS\Projects\UPDM2018\lin0228_UPDM2018_SQLAdmin.sde\UPDM2018.DataOwner.PipeSystem\UPDM2018.DataOwner.PipelineAssembly does not exist or is not supported Failed to execute (AddField). I check the line that generate the error: arcpy.management.AddField(UPDMAssembly, "PIPELINEOPERATOR", "TEXT", None, None, 50, "Pipeline Operator", "NULLABLE", "NON_REQUIRED", None) this line is trying to add a field in a non existing table. More over, In my ignorance i was thinking that this script will create the tables of UPDM. i was quite shocked when i discovered there is no a single call to: arcpy.management.CreateTable Some questions came to my mind: 1. How is the process to create an empty UPDM instance? 2. Is possible to create the empty UPDM just with python? the readme.txt file states: IMPORTING THE DATAMODEL: ESRI ArcGIS technology provides several means for importing a data model. To make the importation of this model as easy as possible, the model is provided in multiple formats (10.x File Geodatabase, 10.x XML Workspace export, Python scripts, Esri Asset Package) . I assumed that I can choose one of the several means to import the data model. am I wrong?
... View more
03-09-2020
06:59 AM
|
0
|
0
|
5673
|
|
POST
|
I have a python geoprocessing tool, it is split in several python files, When I use ArcGIS pro to publish it as a service into the ArcGIS server, all the dependencies are packed and deployed to the service. Now the tool is internationalized and localized using gettext and have the following structure: ./Alignment.py
./locale/Spanish/LC_MESSAGES/Alignment.mo
./locale/Spanish/LC_MESSAGES/Alignment.po
./locale/German/LC_MESSAGES/Alignment.mo
./locale/German/LC_MESSAGES/Alignment.po The python files are deployed but neither *.mo nor *.po files are deployed. How can I make that those files are included in the set of files deployed to the ArcGIS server?
... View more
03-02-2020
02:22 AM
|
0
|
0
|
674
|
|
POST
|
There are two geodatabases DEV and PROD, DEV has schema changes (new fields, new tables), those changes should be replicated on PROD. An XML schema was generated from DEV, and using the Import XML Workspace tool is intended to update PROD, but the result is that the new tables modified in DEV now appear in PROD with _1 sufix: DEV PROD
MyTable MyTable_1
NewField NewField
OldField MyTable
OldField How could achieve this update?
... View more
12-03-2019
05:15 AM
|
0
|
0
|
623
|
|
POST
|
Luke thanks for your answer. It gives me the version of the product installed and linked to the instance of python. but I want to know the version of the ESRI libraries called underneath by python.
... View more
08-25-2019
10:08 PM
|
0
|
1
|
2744
|
|
POST
|
Yes, I was using the same user. I try unsing the DataOwner user, but the result was the same
... View more
08-20-2019
11:21 PM
|
0
|
0
|
1010
|
|
POST
|
Hello fellows, I created a Pipeline Referencing Feature dataset, and inside it is created a Point Feature class, I did that using ArcGIS Pro. when I try to access the information from ArcMap, I am able to load the information, its attributes everything, but I am not able to perform edits: I am using the same credentials to connect to the geodatabase. According to ArcCatalog, this are the permissions: What I am missing here? Thanks. [EDIT]: this feature dataset was configured with LRS using ArcGIS Pro: Get started with Pipeline Referencing—ArcGIS Pipeline Referencing for ArcGIS Pro User Help | ArcGIS Desktop [UPDATE]: Neither ArcGIS Pro, nor ArcMap has Location Referencing Extension enable.
... View more
08-20-2019
10:51 PM
|
0
|
3
|
1076
|
|
POST
|
Ok, i undestood that, if we take out that package part.....the question remains.
... View more
08-20-2019
07:00 AM
|
0
|
0
|
2744
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 12-01-2023 02:45 AM | |
| 1 | 07-19-2021 11:25 PM | |
| 1 | 07-21-2023 04:44 AM | |
| 1 | 07-07-2023 05:15 AM | |
| 1 | 01-19-2023 03:19 AM |
| Online Status |
Offline
|
| Date Last Visited |
08-02-2024
12:42 AM
|