|
POST
|
No worries about the delay. You are normally so quick to respond that i was starting to worry about you. I'm glad it was just a business trip. I have created a new idea as per your suggestion: https://community.esri.com/ideas/15668 Thanks. Tom
... View more
10-17-2018
09:51 AM
|
3
|
0
|
3179
|
|
IDEA
|
I'd like the ability to manually include multiple categories into a single slice in a pie chart. Currently categories can only be grouped together based on a minimum percentage threshold (for example, all categories with less than 5% of total can be grouped). One specific use case for this request is based on data generated from Survey123. In our survey we have a multiple choice question. when multiple options are selected, Survey123 stores the selections as a comma separated list. According to esri tech support there is a known bug in Survey123 such that the options are not always listed in the same order. For example, if options A, B and C are selected, Survey123 could store the data as "A,B,C" or "B,A,C", or "C,B,A" and so on. Each of those values are really the same thing, but if you create a pie chart with that data, you will get 3 separate slices. I want to group those three values/categories into a single slice to correctly represent the data. Another example that comes to mind - a survey of middle school students and the extra-curricular act ivies might include answers like: track, basketball, drama club, art club, book club, jazz band, marching band, chess club, cooking club, none, etc. I'd like to be able to group those many options into broad categories like Sports, Art, etc. The pie chart with a few broad level categories, as opposed to many individual slices would be much nicer (i think).
... View more
10-17-2018
09:46 AM
|
50
|
6
|
7493
|
|
POST
|
I don't recall doing a separate pip install. but i do have duplicates of many libraries.......
... View more
10-10-2018
04:27 PM
|
0
|
0
|
3188
|
|
POST
|
Hi Dan. Thanks for your reply..... Mine is a base install. There are no spaces in the PATH (except for the typical ones in 'Program Files')..... ...;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts;C:\Program Files\ArcGIS\Pro\bin\Python\Scripts;C:\Program Files\ArcGIS\Pro\bin\Python;... Can you add some detail about your statement, "I did upgrade python through conda."? Did you do this after, i.e. in addition to, the Pro upgrade? what were the steps that you followed?
... View more
10-10-2018
04:20 PM
|
0
|
0
|
3188
|
|
POST
|
Hello. Yesterday I upgraded to ArcGIS Pro 2.2.3 from 2.2.0. After doing the upgrade, i can no longer import the pandas library - neither within the Pro python interface nor other command line interpreters. Prior to the upgrade i could import pandas just fine. In Pro's Python Package Manager, pandas (version 0.23.3) is listed as an installed package - its listed twice. I am unable to Uninstall pandas and no packages at all are listed in the 'Update Packages' dialog. In my popwershell window (running with admin rights), i can enter propy and see the usual notification that i am running python 3.6.5. at the prompt, i can import arcpy, import numpy, etc. But if i try to import pandas, i get the following error message: >>> import pandas Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pandas\__init__.py", line 42, in <module from pandas.core.api import * File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pandas\core\api.py", line 10, in <module from pandas.core.groupby import Grouper File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pandas\core\groupby\__init__.py", line 2 in <module> from pandas.core.groupby.groupby import ( File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pandas\core\groupby\groupby.py", line 48 in <module> from pandas.core.arrays import ExtensionArray, Categorical File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pandas\core\arrays\__init__.py", line 1, in <module> from .base import ExtensionArray # noqa File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pandas\core\arrays\base.py", line 10, in <module> from pandas.errors import AbstractMethodError ImportError: cannot import name 'AbstractMethodError' Any thoughts on what i need to do to be able to import pandas after the upgrade?
... View more
10-10-2018
01:38 PM
|
0
|
5
|
5122
|
|
POST
|
Hey Derek Law. I checked with Esri tech support and they were not able to answer the question as to whether multiple categories can be combined into a single 'slice' in a pie chart. Do you know if such a thing is possible, and if so how to do it (other than by grouping based on percentage)?
... View more
10-09-2018
11:40 AM
|
0
|
4
|
3179
|
|
POST
|
In Ops Dashboard, I am creating a pie chart from some Survey123 data. The data comes from a 'multiple choice' question so the data is a comma separated list of values. For example, two values are 'invasive_weed,other' and 'other,invasive_weed'. Those are ultimately the same value, but on the Survey the choices were selected in different order. Is there a way that i can combine those two values into a single pie slice? Thanks
... View more
10-05-2018
03:02 PM
|
0
|
5
|
3703
|
|
POST
|
I want to add a custom chart to my Hub site. The documentation (Design the layout of your Hub site—ArcGIS Hub | ArcGIS ) says that Cedar is the charting software and that I can use Vega/D3 to create the custom chart. But Cedar is being updated to use AmCharts instead of Vega/D3 (at least thats what i think based on this @esri/cedar - npm ) What version of Cedar is being used by Hub today? If Hub is using the older version of Cedar, will it switch to using the newer version? If there is a change, will that break my custom charts? thank you.
... View more
09-25-2018
09:29 AM
|
0
|
0
|
776
|
|
POST
|
I'll open up a tech support case and get back to you with the number. Unfortunately the view is based on a hosted feature service that contains three related tables. I am not certain of how to create the view in a way that does not automatically contain the related tables. If such a thing is possible, please let me know. Thank you.
... View more
08-29-2018
10:19 AM
|
1
|
0
|
2614
|
|
POST
|
Hi khaled hassan. I tried the 'DeleteFromDefinition' approach as suggested by you, i.e. dropping the three related tables from the service definition. Indeed the three related tables were dropped from the View. However, there have been some very 'interesting' side effects from doing that. 1) When on the service's Item Details > Visualization tab of the View, i am unable to configure the pop-up because there are no fields listed in any of the inputs of the Configure Pop-up dialog: 2) When executing a query from the WAB Query widget, no results are returned - and there is some additional odd behavior - and by that i mean that the query is executed against the layer ids of the related tables that were dropped. I know that probably doesn't make sense the way i typed it. Here's a screen shot from the Chrome browser tools showing what i mean. The app sends off requests against FeatureServer layers 1, 2, and 3 --- none of those layers exist. The response for the queries is not unsurprising: {"error":{"code":400,"message":"","details":["The requested layer (layerId: 1) was not found."]}} I have verified that if i create the View they way you had me do it before - drop the relationship from the layer then drop the layer from service - that i can configure the popup and i can execute a query against the View as expected. If it's time to move this to a new thread or submit an Tech Support request, please let me know. Thank you.
... View more
08-27-2018
04:07 PM
|
0
|
0
|
2614
|
|
POST
|
Hey Shana. Alas, I have not yet found a way to create a 'performance' index on an attribute field in AGOL (doesn't mean there isnt one though ). Let me know if you do find a way. I was feeling lucky just to get a unique index. I wonder if an index you created on the local feature layer (before posting to AGOL) would be respected when you published to AGOL or not. I suspect not.... Good luck, Tom
... View more
08-14-2018
02:07 PM
|
0
|
2
|
2033
|
|
POST
|
Hi Shana. You can add a unique constraint on an attribute field. Here's the right link: Add a unique constraint to a field—ArcGIS Online Help | ArcGIS
... View more
08-14-2018
12:50 PM
|
0
|
4
|
4957
|
|
POST
|
Hi Philip. thank you for following up. The issue is no longer relevant to our workflow, so i won't be able to test on our production survey. but when the chance comes up for any new surveys, i'll give it a go and let you know how it works out.
... View more
08-02-2018
11:14 AM
|
1
|
0
|
2357
|
|
POST
|
Hi Kelly Gerrow After your earlier clues, i tracked down the 'queryAttachments' REST endpoint. That shows some promise but i am running into some unexpected behavior. If i execute a query with the following parameter value: Definition Expression: 1=1 I get the expect results - info about the attachments for all features with attachments. An abbreviated version of the response looks like this: { "parentObjectId" : 15, "parentGlobalId" : "7432c245-6fd8-413a-b2d2-1d43a3dd15cf", "attachmentInfos" : [ { "id" : 1025, "globalId" : "ee2e72a7-11b0-4310-af6b-212cd9a4efcd", "name" : "Photo2.jpg", "contentType" : "image/jpeg", "size" : 660136, "keywords" : "" }, If i change the parameters to include 'Attachments Definition Expression' like below: Definition Expression: 1=1 Attachments Definition Expression: name='Photo2.jpg' I get an empty attachmentGroups element where i am expecting at least one record to be returned based on the previous response that shows 1 record with a name = Photo2.jpg. Instead, the response looks like this: { "fields" : [ { "name" : "OBJECTID", "type" : "esriFieldTypeOID", "alias" : "OBJECTID", "sqlType" : "sqlTypeOther", "domain" : null, "defaultValue" : null }, { "name" : "GlobalID", "type" : "esriFieldTypeGlobalID", "alias" : "GlobalID", "sqlType" : "sqlTypeOther", "length" : 38, "domain" : null, "defaultValue" : null } ], "attachmentGroups" : [] } In messing around with some of the other parameters like Size and Attachment Types, i see the expected behavior - only attachments that match the parameters are returned. Is the parameter 'Attachments Definition Expression' valid on the back end? If so, is there some special syntax i need to use? ** EDIT ** I played around a bit more and discovered that if i set the parameter Attachments Definition Expression: 1=1 i get the expected results, i.e. all attachments, and if i set the parameter like so Attachments Definition Expression: 1=2 i also get the expected results, i.e. no attachments returned. So it seems like the parameter is valid, but i am not setting it correctly? ** END EDIT ** One more side question -- i see that there is an Attachment Info field 'keywords'; is there some place in AGOL where i can set\edit that value for each attachment? thanks again for your help.
... View more
07-05-2018
05:18 PM
|
1
|
0
|
2908
|
|
POST
|
Hi Kelly. I wasn't aware of the 'Attachment Info' endpoint. Thanks for pointing that out to me. I played around with the endpoint for a bit, but as best as i can tell i don't get information about creation date or edit date (those fields were part of the Attach table of the file geodatabase that i published to agol). Additionally, the Attachments endpoint works on a per feature basis. I am trying to discover features (if any) had a new attachment added since some previous date, e.g. in the last 7 days. Is there a way to do something like that......As an example, the SQL query would look something like SELECT features FROM featureclass INNER JOIN featureclass__ATTACH ON featureclass.GlobalId = featureclass__ATTACH.parentGlobalId WHERE featureclass__ATTACH.CreationDate > DATEADD(day,-7, GETDATE()) Thank you, Tom
... View more
07-05-2018
03:20 PM
|
1
|
0
|
2908
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 9 | 04-14-2026 03:22 PM | |
| 1 | 02-24-2021 12:15 PM | |
| 2 | 01-05-2026 10:04 AM | |
| 1 | 09-30-2025 01:30 PM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|