POST
|
Hi everybody. I have the following question: What is the fate of currently published apps (shared to everyone) after the expiration of the ArcGIS Online For Organization license ? Will they stay visible but not editable by the original owner ? Will they be actually removed at some point ? Let me know Thanks Alberto
... View more
06-19-2024
06:09 AM
|
0
|
1
|
568
|
POST
|
Hi everybody, It's my understanding that if I use BING maps in ArcGIS Enterprise (Portal for ArcGIS) they are visible in 'shared to everyone' items only if anonymous user access to the portal is allowed in the security settings. When disabling the access bing maps do not show up even if the web map/app is public (shared to everyone). This is in line with the ArcGIS Enterprise documentation and test I made. Is there any (legal) workaround for this ? I mean, denying access to the anonymous user to the portal interface and having visibility of BING maps in publicly shared items ? Thanks Alberto
... View more
08-25-2023
02:36 AM
|
0
|
0
|
856
|
POST
|
Hi guys. Forgive my silly question but I'm rushing testing something and I do not know how to play with parameters in order to swith one a layer when using export map. For example: https://myserver/arcgis/rest/services/temp/eglTest1/MapServer/export?bbox=-1.1478618178852392E7,861498.2197961165,1.1463077297737615E7,1.6155961870856121E7&f=image Which param to append to switch on a layer which is off in the service ? Thanks a lot Alberto
... View more
10-14-2021
02:36 AM
|
0
|
0
|
629
|
POST
|
Hi everybody, whenever making a spatial view through the years (sql server) I always add an inner voice reminding me to pick the objectid, for subsequent registration, coming from the same feature class providing the shape attribute. I also rechecked the online help seeing that this thing seems to be still enforced Views in an enterprise geodatabase—Manage geodatabases in SQL Server | Documentation The problem is that I'd like to create a spatial view between feature class and table with one to many relationship and of course the feature class ObjectID would be duplicated in a such a case. I tested the other way (ObjectID from table class) which obviously provides unique values in the final view and seems to be working fine. Is this acceptable despite the documentation does not seem to support it ? The spatial view would be read only non versioned. I need it to workaround some mysterious ArcGIS Pro limitations when dealing with temporal data joined in a map as discussed here Temporal data in separated tables ? Bug ? Thanks for your help. Alberto
... View more
06-09-2020
09:01 AM
|
0
|
0
|
897
|
POST
|
Hi everybody. I noticed a different behavior of ArcGIS Pro versus ArcMap when dealing with temporal data in separated tables with one to many relationship (Temporal data in separate tables—ArcGIS Pro | Documentation ). Using a file geodatabase feature class of 17828 points joined with a time series table class with 142624 (17828 X 8 years) in ArcGIS Pro: After the join the layer behaves much like a 'real inner/outer join' outputting 142624 features according to the cardinality of the table class . However, when opening the attribute table it complains through a warning of the duplicated ObjectIDs. When enabling time, the table does not honor it. It shows back 17828 distinct spatial objects for the initial time step (despite time filtering enabled). Playing with time filter does not change attribute table content (always first year shown) The map honors the time. As I play with the time slider only features relevant for the active time step are displayed The identify tool does not honor the time because clicking on a point displays all the duplications due to the temporal join. Using the same feature and table class as described above in ArcMap: After the join the layer does not behave like a 'real inner/outer join' outputting 17828 features linked to just a temporal step (the first year) . As a result no duplication of spatial objects occurs. When enabling time the table honors it displaying recs relevant for the selected time step in the time slider The map honors the time. As I play with the time slider only features relevant for the active time step are displayed The identify tool honors the time because clicking on a point displays the point for the relevant time step only ArcGIS Pro behaves differently and in a way that prevents a correct management of temporal data. Is this a bug ? Obviously: Making a feature class with a geometry per time step fixes the issue but the point is that a better geodb design should go for the separated time series table When using an enterprise geodb is at least possible to do something at db level with a view fixing things in an elegant way Thanks. Let me know what you think Alberto
... View more
06-09-2020
08:41 AM
|
0
|
0
|
631
|
POST
|
Hi everybody. I have the following problem. A user made some items in an ArcGIS Online for Organization that has been recently retired and deactivated. The items are still publicly visible but the user cannot login to change them. It happens that the user has a new login in a newly created ArcGIS Online for Organization. Question as follows: Would it be possible to transfer ownership from the old account (in the context of the old Aol) to the new one inside the new Aol or, alternatively, insert the old account as part of the new Aol? I tried to create a user in the new Aol with the same old alias but it did not work as the old user is just deactivated and not deleted. Thanks Alberto
... View more
06-05-2020
06:03 AM
|
0
|
1
|
822
|
POST
|
Because if you write... target_geodatabase = arcpy.CreateFileGDB_management(workspace, "CombinedData.gdb") you are assigning to the variable target_geodatabase what arcpy.CreateFileGDB_management is returning: an object of type workspace that cannot be concatenated with a string. You have to concatenate the full path to your geodb with the table name Alberto
... View more
08-24-2019
08:28 AM
|
0
|
5
|
2174
|
POST
|
target_geodatabase + "\\Daily_Valve" or target_geodatabase + r"\Daily_Valve" or os.path.join(target_geodatabase, "Daily_Valve") Alberto
... View more
08-22-2019
03:20 AM
|
0
|
7
|
2174
|
POST
|
Samuel, after a quick look without trying it out: The second parameter of Append_management must be a dataset (one of your target tables and not a geodatabase workspace) Instead of using the xml you may create a table inside your geodatabase with CreateTable_management. You have the option to pass a table template to match the desired schema or you can create it empty and then you start adding fields with AddField_management Alberto
... View more
08-21-2019
06:17 AM
|
0
|
0
|
2174
|
POST
|
Hi guys, the script below for me works fine. I'm updating the dictionary keys coming out of connectionProperties and running updateConnectionProperties method. I'm changing database user and password doing for all sql server sde layers in a chosen map. If you need to change something else just update the relevant dictionary value # Input parameters are the chosen map within the current project, new user name and password
mapName = arcpy.GetParameterAsText(0)
newUser = arcpy.GetParameterAsText(1)
newUserPass = arcpy.GetParameter(2)
#===================================
#The default project is the current one....
aprx = arcpy.mp.ArcGISProject('CURRENT')
currentMap = aprx.listMaps(mapName)[0]
#Loop layers excluding group layers and basemap
for lyr in currentMap.listLayers():
if not(lyr.isGroupLayer or lyr.isBasemapLayer): #I have to exclude group layers and basemaps of course.....
try:
if lyr.dataSource.split(',')[2].split('=')[1] == 'SQL Server': # basically if the layer has a sql server data source
new_conn_prop = lyr.connectionProperties
new_conn_prop['connection_info']['user'] = newUser
new_conn_prop['connection_info']['password'] = newUserPass
# Now i can update the connection properties dictionary of the layer
lyr.updateConnectionProperties(lyr.connectionProperties,new_conn_prop)
arcpy.AddMessage(lyr.name + ' has been updated !')
except NameError:
arcpy.AddMessage(lyr.name + ' does not have a sql server data source')
Alberto
... View more
08-21-2019
05:51 AM
|
1
|
6
|
12511
|
POST
|
Hi everybody. I run into this post and I realized that I may have something simple but useful. The script below just goes layer by layer in a chosen map within the 'CURRENT' project and update user and password on sqlserver sde layers. It is meant to be used within a script tool (pass the password as 'hidden string' data type). The logic excludes group and basemap layers and checks the data source in the connectionProperties looking for data source hints in the dictionary (I just look for SQL Server). The try/except block catches NameError exception for other layers import arcpy
# Input parameters are the chosen map within the current project, new user name and password
mapName = arcpy.GetParameterAsText(0)
newUser = arcpy.GetParameterAsText(1)
newUserPass = arcpy.GetParameter(2)
#===================================
#The default project is the current one....
aprx = arcpy.mp.ArcGISProject('CURRENT')
currentMap = aprx.listMaps(mapName)[0]
#Loop layers excluding group layers and basemap
for lyr in currentMap.listLayers():
if not(lyr.isGroupLayer or lyr.isBasemapLayer): #I have to exclude group layers and basemaps of course.....
try:
if lyr.dataSource.split(',')[2].split('=')[1] == 'SQL Server': # basically if the layer has a sql server data source
new_conn_prop = lyr.connectionProperties
new_conn_prop['connection_info']['user'] = newUser
new_conn_prop['connection_info']['password'] = newUserPass
# Now i can update the connection properties dictionary of the layer
lyr.updateConnectionProperties(lyr.connectionProperties,new_conn_prop)
arcpy.AddMessage(lyr.name + ' has been updated !')
except NameError:
arcpy.AddMessage(lyr.name + ' does not have a sql server data source')
I hope this helps Alberto
... View more
08-21-2019
03:48 AM
|
0
|
11
|
4923
|
POST
|
Hi everybody. I'm preparing a simple backup strategy and before playing a bit with a stage machine I was wondering about the following: In order to restore an incremental backup do I have to: Restore first the full backup with the webgisdr utility (setting BACKUP_LOCATION in the properties file in order to point to it) Rerun webgisdr on top of the previous one in order to restore the incremental one (setting BACKUP_LOCATION in the properties file in order to point to it) ? Did I get it right ? Thanks
... View more
04-09-2019
06:49 AM
|
0
|
2
|
1676
|
POST
|
but....if I make it a bit smaller...(maxx= 5000000, maxy=4750000) it works !! Alberto
... View more
05-18-2018
05:44 AM
|
0
|
1
|
1171
|
POST
|
Not for me... Very strange. Two computers with 10.6 are behaving this way the others with 10.5.1 are ok. It must depend on some local settings. I'll try to investigate the message. Thanks Dan Alberto
... View more
05-18-2018
05:31 AM
|
0
|
0
|
1171
|
Title | Kudos | Posted |
---|---|---|
1 | 08-21-2019 05:51 AM | |
4 | 09-06-2017 01:15 AM | |
1 | 09-12-2017 01:47 AM | |
1 | 05-03-2018 07:33 AM | |
3 | 07-14-2017 07:20 AM |
Online Status |
Offline
|
Date Last Visited |
07-24-2025
04:49 AM
|