POST
|
Really liking the initial release of Smart Forms! Am I missing a setting or something for the form settings to apply to the Read Only view as well, I seem to have to configure once for edit view in smart forms editor then separately use the standard Pop Up configuration for the read only view. Specifically it is the grouping and conditional visibility, you can go through a lot of effort to have the form look really good with all the grouping and field visibility logic, but as soon as you save you just get the standard long list of all attributes. It is quite a jarring UX for the user. Is it that grouping and conditional visibility might come to pop up configuration in the future?
... View more
02-12-2021
09:46 AM
|
2
|
2
|
1266
|
POST
|
Apologies if missing something, I cannot seem to find the following (that are available in classic collector) 1) Ability to adjust offline map extent as well as level of detail, it now seems to be a fixed box with only level of detail changeable? 2) Ability to NOT download base maps when taking a project offline and instead choose from those already downloaded 3) Ability to switch between downloaded basemaps (non sideloaded that already exist on device from other offline areas) 4) When removing an offline map, ability to remove features only and retain basemaps on the device Has the above (extremely useful) functionality been deprecated, or coming ‘back’ to the new collector soon? Thanks.
... View more
12-11-2018
03:05 PM
|
1
|
1
|
352
|
POST
|
Like a lot of things, there are many ways to achieve what you want. layers = arcpy.mapping.ListLayers(mxd,'states',df) will return a list of all layers named states, so you could loop through it to change the name for lyr in layers: lyr.name = "stany" However if there is only one layer likely to be called states in the mxd, a shorthand way of achieving this is lyr = arcpy.mapping.ListLayers(mxd,'states',df)[0] lyr.name = "stany" Doing an if == is useful if you are wanting to loop through many layers of differing names. eg layers = arcpy.mapping.ListLayers(mxd,'',df) for lyr in layers: if lyr.name == "states": lyr.name = "stany" elif lyr.name == "Lakes": lyr.name = "Lakey" or to do more complex 'stuff' with name matches than the ListLayers wildcard parameter allows, such as ignoring case. if lyr.name.lower() == "states": Finally, if you are doing this with the mxd open, add in the following to see the changes on screen arcpy.RefreshTOC() And save the mxd if required mxd.save()
... View more
03-31-2016
03:12 AM
|
2
|
2
|
346
|
POST
|
As Joshua says, your df name is wrong. I would use something like df = arcpy.mapping.ListDataFrames(mxd, "")[0] or df = arcpy.mapping.ListDataFrames(mxd, "Mexico")[0] and then no need for if df,name == , just use layers = arcpy.mapping.ListLayers(mxd,'states',df)
... View more
03-30-2016
07:13 AM
|
0
|
4
|
346
|
POST
|
Hi Does anyone have any clever ideas (or something obvious I am missing) to properly copy across gdb attachments in a python script. So I have a featureclass in an Enterprise GDB with gdb attachments enabled, and I want to export a subset of these features into an fgdb, and bring along all the gdb attachments with it. If I use a simple copy/paste eg arcpy.Copy_management(), this brings across all 000,000's of the features and the GB's of attachments. I cannot find a way to have arcpy.Copy work on a subset selection? Using arcpy.CopyFeatures works great for the export of the featureclass, my makeFeatureLayer call is giving me just the subset I need. However arcpy.CopyFeatures does not bring in the gdb attachments. So what I tried is enabling attachments on the copyFeatures new layer, then arcpy.append from the old gdb attach table to the new. sourceFC = "someegdb.sde\\someSourceFeatureclass"
targetFC = "somefgdb.gdb\\someFeatureClassSubset"
layerName = "selectionLayer"
expression = "foo=999"
arcpy.MakeFeatureLayer_management(sourceFC, layerName, expression)
arcpy.CopyFeatures_management(layerName,targetFC)
arcpy.EnableAttachments(targetFC)
attachTempTable = "attachmentSubSelection"
attachTargetTable = targetFC+"__attach"
where = 'where REL_GLOBALID in (SELECT "GLOBAL_ID" FROM %s %s)' % (sourceFC ,expression)
arcpy.MakeTableView_management(sourceFC+"__ATTACH", attachTempTable, where)
arcpy.Append_management(attachTempTable, attachTargetTable, "NO_TEST") The biggest problem I am finding with this approach is the way gdb attachments uses the GLOBAL_ID / REL_GLOBALID. arcpy.CopyFeatures() just recreates all globalId's in the new layer, but arcpy.Append has brought in the old REL_GLOBALID's. A rather clunky workaround I am using is to use the feature centroid to update the REL_GLOBALID, so I go through the sourceFeatureclass, record the old globalId and old centroid centroidDict = {}
with arcpy.da.SearchCursor(sourceFC,["GLOBAL_ID","SHAPE@XY"],expression) as cursor:
for row in cursor:
centroidDict[str(row[1])] = row[0]
del row, cursor Then get the new global id based on centroid newCentroidDict = {}
with arcpy.da.SearchCursor(targetFC,["GLOBAL_ID","SHAPE@XY"]) as cursor:
for row in cursor:
newCentroidDict[centroidDict[str(row[1])]] = row[0]
del row,cursor And finally update the REL_GLOBALID with arcpy.da.UpdateCursor(attachTargetTable,["REL_GLOBALID"]) as cur:
for row in cur:
row[0] = newCentroidDict[row[0]]
cur.updateRow(row)
del row,cur Whilst this 'works' there is a clear falecy in the approach, where the features share the same centroid. So, does anyone have any other ideas, ones that mean I am not having to work against/copy entire/alter the enterprise gdb full layer? Thanks
... View more
01-15-2015
07:53 AM
|
0
|
0
|
3124
|
POST
|
Sorry, I see this question was asked previously (but because of the differing way people phrase things, didn't find it when I searched before posting) http://forums.arcgis.com/threads/97300-Restrict-editing-to-authorized-users-while-leaving-the-map-viewable-to-the-public Seems a fairly common use case that is not catered for, or is AGOL really only a platform to be used within organisations now?
... View more
12-10-2013
12:13 PM
|
0
|
0
|
233
|
POST
|
Hi Anthony Unfortunately this is using AGOL hosted services, and there is an as yet unconfirmed timescale when we might see hosted map services for the equivalent feature service 😞
... View more
12-10-2013
11:47 AM
|
0
|
0
|
233
|
POST
|
Hi I have a scenario that I am trying with our AGOL Org account, but I appear to be either missing something obvious, or it is not possible. The scenario is that I want to have a hosted feature service (lets call it 'Highway Closures') publicly viewable but only editable by people within the organisation. So the public can see if there are highway closures, but only people in the 'Roads Department' group can edit. I set up the feature service, add it to a web map and set this up in the group who have edit rights. All good so far. I now setup another web map for public consumption, make it available to Everyone (public), and here is where the issue comes in. By doing this, I have now made the feature service publicly editable, because it needs to be public to be viewable, meaning the edit web map and group can be circumvented. I understand there is a new browser type role upcoming for AGOL, but this will not help us here I don't think. So am I missing something obvious, or is it as appears, that if you want to share data with the public, and also be able to update that data, you also have to allow the public to edit it as well?
... View more
12-10-2013
11:10 AM
|
0
|
3
|
714
|
POST
|
Nothing to do with licensing, see here for likely cause of checksum issue http://blogs.esri.com/esri/arcgis/2010/10/15/checksum-revisited/
... View more
03-07-2012
10:05 AM
|
0
|
0
|
93
|
POST
|
Hi, not too sure if we can discuss pre-release or not yet. If so, a few questions. If not, oops 😞 : 1) How do we disable the new identity stuff, we do not need it, it gets in the way of users to be forced to put in an identity, and also uses up valuable screen real estate to show the identity strip on top of all pages? 2) How can we disable the alert page that lists missing caches on startup? At present we have a one .amp file that references 20 or so basemap caches that reside on the device SD card. This means we can maintain just one .amp file, but swap out SD cards with the required basemap caches as required. 3) We went through a lot of discussion and set a number of business rules for GPS capture settings for the various layers (i.e. LayerX: one vertex per 10m, LayerY: one vertex every 5 seconds). However it has now changed to a global setting applicable for all layers. Is there any way to change the behaviour back, having one setting seems a bit of a backwards step? Overall 3.0 is a good step forward, particularly with improvements to editing workflow, but the above three seem a little bizarre to be forced at a global/application level. Many thanks
... View more
03-07-2012
05:40 AM
|
0
|
0
|
307
|
POST
|
Not currently available in 10.0 arcpy.mapping, coming in future release I believe
... View more
03-05-2012
11:51 AM
|
0
|
0
|
195
|
POST
|
Many thanks, that worked. Additional note however, if you only install the GP Tools, they will not work (the tools get validation errors when you open them), you need to install at least MPC as well.
... View more
12-19-2011
12:19 AM
|
0
|
0
|
186
|
POST
|
Hi All I am getting errors trying to silently install the mobile GP tools for mobile build 10.0 2525, what am I doing wrong? The following give inernal error 2711 msiexec /i setup.msi ADDLOCAL="GP Tools" /qb
or
msiexec /i setup.msi ADDLOCAL=GPTools /qb The following raises an msiexec dialog (doesn't like the space in between GP and Tools) msiexec /i setup.msi ADDLOCAL=GP Tools /qb The setup.msi does not appear to be corrupt, as running via installer UI works. Thanks, Tony
... View more
12-16-2011
03:34 AM
|
0
|
3
|
646
|
POST
|
Hi All Background: We have generated a raster tilecache using ArcGIS Server for the Great Britain. The total size of this cache is too large to export and place onto mobile devices, so we have exported descrete areas of this cache into 100km squares. The intention was if the field crews are working in a particular area, they copy the required 100km tile caches onto their pda sd card. If they are in an area that is near the bounds of the square, they would take 2, 3 ,4 squares etc depending on their needs and location. Problem: Although these exported tile caches work fine in ArcMap, Project Centre, Windows Mobile (tablet version), they all join seemlessley and display fine, in ArcGIS Mobile (pda version) there is a problem. It seems that in pda mobile, the no data/surrounding area of the 100km tile is displayed as white rather than transparent. This means that only one tile cache will 'display' at any one time, because it white surround masks the neighbouring tile caches. Turn off the top most tile, and the next one displays, and so on. When you pan or zoom, initially you see all the rasters drawing from the bottom up, but get covered as the next one up renders. Also, the full extent of these 100km tiles is not the visible raster data/extent that was exported, it seems to be the extent of the original server based cache. Does anyone have a solution to this, is there a way to get pda mobile to display this no data surround as transparent or alter the extent of the tile cache exports? Thanks in advance, tony
... View more
12-15-2011
01:38 AM
|
0
|
0
|
1040
|
POST
|
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002w0000005s000000 in_memory is in memory Ah, so it is, I stand corrected.
... View more
10-27-2011
08:27 AM
|
0
|
0
|
441
|
Title | Kudos | Posted |
---|---|---|
2 | 02-12-2021 09:46 AM | |
1 | 05-25-2011 01:00 PM | |
1 | 12-11-2018 03:05 PM | |
2 | 05-12-2011 11:55 AM | |
2 | 03-31-2016 03:12 AM |
Online Status |
Offline
|
Date Last Visited |
02-22-2021
10:37 AM
|