|
POST
|
Are you sure ArcMap isn't just changing the display of the date? Changing the way ArcMap displays short format dates in Windows 7—Help | ArcGIS for Desktop EDIT: Sorry, I just noticed this was for Web AppBuilder not ArcMap.
... View more
09-26-2016
02:57 PM
|
0
|
1
|
3796
|
|
POST
|
Figured it out! When adding a basemap, you can also add a basemap layer to the basemap. The order the layers draw depends on the order in which they are added. The last basemap layer added shows up on top and continues goes in order up the list (the first layer added is on the bottom). I got the Esri basemap URLs from http://services.arcgisonline.com/arcgis/rest/services
... View more
09-22-2016
02:45 PM
|
1
|
1
|
1033
|
|
POST
|
I'd like to use the basemap gallery widget to allow an easy way to switch basemaps. I have various years of aerials as well as a custom "vector" basemap covering our particular area of interest. I want to be able to switch between the various basemaps with the widget but always show an Esri basemap behind it to cover everything outside our area of interest. Is this possible?
... View more
09-22-2016
01:51 PM
|
0
|
2
|
1223
|
|
POST
|
I was trying to do this and discovered that the popup will only display related data in a 1:1 relationship. If it's a 1:M relate then it will just open the attribute table with the related records or simply show summary statistics in the popup. Configure pop-ups—ArcGIS Online Help | ArcGIS With a one-to-one relationship, the pop-up displays the related attributes within the pop-up window. With a one-to-many relationship, choose to display the related data within the pop-up window or in a table. When displaying attributes within the pop-up, string fields show the count. For numeric fields, you can choose to display the sum, min, max, average, or count. I ended up making a database view that would condense the 1:M relationship down to 1:1 and say "Multiple" in the popup if there were more than one related record.
... View more
09-22-2016
01:36 PM
|
0
|
0
|
931
|
|
POST
|
The COGO stuff Jake Skinner posted is worth looking into. If you just want something quick and custom, could expand on logic like this? if in_field_val >= 0 and in_field_val < 90:
out_dir = "N"
elif in_field_val >= 90 and in_field_val < 180:
out_dir = "E"
elif in_field_val >= 180 and in_field_val < 270:
out_dir = "S"
elif in_field_val >= 270 and in_field_val < 360:
out_dir = "W"
else:
out_dir = None
... View more
09-22-2016
11:06 AM
|
0
|
2
|
6475
|
|
POST
|
Since we're on 10.2.2, looks like that would be the issue. Thanks again for your quick, helpful replies!
... View more
09-20-2016
09:26 AM
|
0
|
0
|
868
|
|
POST
|
The help document for the search widget says When you enter a place-name or a keyword in the search box, you see suggestions as you type. I see that it works with the default world geocoder but I can't seam to get this functionality to work with my own feature layer or geocoder. Are there any special configurations/settings that are needed to get this to work? I want it to show a list of possible matching search strings as you type (before hitting enter).
... View more
09-20-2016
08:49 AM
|
0
|
2
|
1171
|
|
POST
|
As a last resort, you can try resetting your ArcGIS application profile.
... View more
09-20-2016
08:31 AM
|
1
|
1
|
988
|
|
DOC
|
Thanks, Robert. I didn't notice that check box before because the text was cut off. It worked once I checked all the fields I didn't want to show in the results (which I had gotten backwards the first couple tries). As a follow-up question, is there a way to have it show a list of suggested search terms as you type (like what Google does)? This would be for this custom widget or the default search widget. I also tried using a geocode service and still can't get it to predict even though the Esri documentation hints that it should.
... View more
09-19-2016
04:52 PM
|
0
|
0
|
15625
|
|
DOC
|
Is there a way to only display one or two fields in the search results but have all the fields display in the popup? I'm using this with the custom popup panel widget that displays many fields; too many to have all turned on in the enhanced search widget's search results. If I only add one field to the Included Fields list, the popup that shows is missing all of the other field values. The stock search widget only lists one field in the results but displays the whole popup when you click a result.
... View more
09-19-2016
02:35 PM
|
0
|
0
|
14783
|
|
DOC
|
Most commonly, I actually use it to handle the result of arcpy.ArcSDESQLExecute(). import arcpy
from collections import namedtuple
sde_sdeconn = r"C:\GISConnections\[email protected]"
sql = '''
SELECT LIBRARYPOLYID, NAME, MEET_ROOM_SEAT_CAP
FROM CS.LIBRARY_POLY
'''
row_tpl = namedtuple('row_tpl', 'lid, name, capacity')
cnxn = arcpy.ArcSDESQLExecute(sde_sdeconn)
sqlresult = map(row_tpl._make, cnxn.execute(sql))
for row in sqlresult:
print("{} (ID {}) can seat {}".format(row.name, row.lid, row.capacity))
del cnxn You could use it with an arcpy cursor like this: import arcpy
from collections import namedtuple
import os
sde_sdeconn = r"C:\GISConnections\[email protected]"
fc = os.path.join(sde_sdeconn, "CS.LIBRARY_POLY")
row_tpl = namedtuple('row_tpl', 'lid, name, capacity')
fields = ["LIBRARYPOLYID", "NAME", "MEET_ROOM_SEAT_CAP"]
cursor_result = map(row_tpl._make, [row for row in arcpy.da.SearchCursor(fc, fields)])
for row in cursor_result:
print("{} (ID {}) can seat {}".format(row.name, row.lid, row.capacity))
... View more
09-19-2016
08:10 AM
|
0
|
0
|
18866
|
|
DOC
|
Cool trick. I have also used namedtuple with good success in being able to refer to a field name rather than an index.
... View more
09-16-2016
09:52 AM
|
0
|
0
|
18866
|
|
DOC
|
The enhanced basemap gallery widget says the thumbnail size is 400x400 but it doesn't display at that size so the aspect ratio of the image gets altered and it appears slightly distorted. For comparison, the default basemap gallery widget takes 84x67 (5:4) and ArcGIS Online uses 200x133 (3:2) for web map thumbnails. Is there something I should be doing differently with thumbnails?
... View more
09-14-2016
02:24 PM
|
0
|
0
|
15851
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 1 | 10-23-2025 03:53 PM | |
| 1 | 04-28-2026 07:25 AM | |
| 1 | 03-19-2026 08:59 AM | |
| 1 | 02-12-2026 01:37 PM |