POST
|
Allen, Thanks for sharing this workaround! I finally had a chance to try this today and it works pretty well! (Although I still hope Esri changes this in the future to make things easier for us.) My department list was really long, so creating a question for each department would have taken up a lot of space in my survey. Fortunately, my survey is based off an existing feature service (table is in a SQL database) and I was already using a database view to add some extra info for my dashboard. So, I added a few lines to my query to create a column for each department. Below is a shortened example of the query I used. SELECT *,
CASE WHEN BusinessUnit like '%DepartmentName%' THEN 'Yes' ELSE NULL END AS DepartmentName,
CASE WHEN BusinessUnit like '%DepartmentName2%' THEN 'Yes' ELSE NULL END AS DepartmentName2
from TableName From there, I published my database view and set up the buttons as you described. I put them in a slide over side panel since they wouldn't all fit in my header. Thanks! Ellen
... View more
08-26-2019
12:43 PM
|
0
|
2
|
3963
|
POST
|
I am trying to do the same thing. Users submit data in a Survey123 and one of the resulting fields contains one or more departments. I need to be able to filter the dashboard to show any data where the department is contained in that field, whether it's the only department or one of many. Has anyone found a way around the limitations described in previous posts?
... View more
08-15-2019
09:54 AM
|
0
|
4
|
3963
|
POST
|
Yes, I can definitely agree with that! At this point we've stopped using GeoEvent, because of all the issues. We just don't have time to continue troubleshooting them. If you're able to figure out how to fix the stream services, please let me know!
... View more
07-19-2019
07:53 AM
|
0
|
0
|
1182
|
POST
|
Yes, that's similar to what we're seeing. Also, when we go to the stream service on the REST endpoint and try to "subscribe" it says "You have unsubscribed". Just curious- what version of GeoEvent were you using when the stream services worked?
... View more
07-19-2019
07:30 AM
|
0
|
2
|
1182
|
POST
|
Cassidy, No, we were never able to get this working, even after troubleshooting with ESRI Technical Support for quite awhile. We hoped that upgrading from 10.6.1 to 10.7 would resolve the issue, but unfortunately we're still seeing the same behavior.
... View more
07-19-2019
06:57 AM
|
0
|
4
|
1182
|
POST
|
Hi Mike, No, we haven't figured it out yet. If you find a solution for your deployment, we'd love to hear how to fix this.
... View more
03-13-2019
12:06 PM
|
0
|
0
|
1723
|
POST
|
Thank you for your suggestions. I've tried several different versions of this, but with no luck. I used the field calculator expressions from this post. Is this the same general idea that you are suggesting or is there a better way to convert the strings to doubles and back to geometry? I also noticed that while my earlier list of fields didn't include geometry, it is listed elsewhere in the stream service. I just didn't copy enough info in my earlier reply. Geometry Type: esriGeometryPoint Geometry Field: geometry Spatial Reference: 4326 (4326)
... View more
03-13-2019
12:04 PM
|
0
|
0
|
1723
|
POST
|
Daniel, The feature services just has a subset of the stream service fields (see below.) After looking into this, I noticed that the GeoEvent service does have some extra fields due to nested JSON. I tried just mapping a few fields that I know exist in both the stream service and the input data, and although it shows records going "out" to the stream service (under the Monitor page), I'm still getting the original error and no points are displayed when I load the stream service I republished the stream service and recreated the GeoEvent service multiple times. Feature service: Fields: OBJECTID ( type: esriFieldTypeOID , alias: OBJECTID , editable: false , nullable: false ) RecID ( type: esriFieldTypeString , alias: RecID , editable: true , nullable: true , length: 50 ) Latitude ( type: esriFieldTypeString , alias: Latitude , editable: true , nullable: true , length: 50 ) Longitude ( type: esriFieldTypeString , alias: Longitude , editable: true , nullable: true , length: 50 ) UtcTimeTag ( type: esriFieldTypeDate , alias: UtcTimeTag , editable: true , nullable: true , length: 8 ) Stream service: Fields: RecId ( type: esriFieldTypeString , alias: RecId , nullable: true ) City ( type: esriFieldTypeString , alias: City , nullable: true ) Country ( type: esriFieldTypeString , alias: Country , nullable: true ) County ( type: esriFieldTypeString , alias: County , nullable: true ) State ( type: esriFieldTypeString , alias: State , nullable: true ) Street ( type: esriFieldTypeString , alias: Street , nullable: true ) ZipCode ( type: esriFieldTypeString , alias: ZipCode , nullable: true ) CurrentOdometer ( type: esriFieldTypeString , alias: CurrentOdometer , nullable: true ) Heading ( type: esriFieldTypeString , alias: Heading , nullable: true ) Latitude ( type: esriFieldTypeString , alias: Latitude , nullable: true ) Longitude ( type: esriFieldTypeString , alias: Longitude , nullable: true ) SpeedMph ( type: esriFieldTypeString , alias: SpeedMph , nullable: true ) SpeedLimitMph ( type: esriFieldTypeString , alias: SpeedLimitMph , nullable: true ) Status ( type: esriFieldTypeString , alias: Status , nullable: true ) StatusDuration ( type: esriFieldTypeString , alias: StatusDuration , nullable: true ) PrimaryLandmarkName ( type: esriFieldTypeString , alias: PrimaryLandmarkName , nullable: true ) CurrentHardmountEvent ( type: esriFieldTypeString , alias: CurrentHardmountEvent , nullable: true ) UtcTimeTag ( type: esriFieldTypeDate , alias: UtcTimeTag , nullable: true ) UserTimeTag ( type: esriFieldTypeDate , alias: UserTimeTag , nullable: true ) UserInfo ( type: esriFieldTypeString , alias: UserInfo , nullable: true ) GroupNames ( type: esriFieldTypeString , alias: GroupNames , nullable: true ) VIN ( type: esriFieldTypeString , alias: VIN , nullable: true ) Thanks, Ellen
... View more
11-28-2018
06:44 AM
|
0
|
6
|
1723
|
POST
|
We have been attempting to use SensorLog for iPad tracking. In SensorLog, which options did you use to access the data in GeoEvent and what corresponding GeoEvent input connector did you use?
... View more
11-01-2018
08:58 AM
|
0
|
0
|
592
|
POST
|
I am trying to pass data from the Poll an External Website for XML input to a stream service but receive the following error: "The GeoEvent received from the GeoEvent Service (GPSDef) is a different type than the schema of the destination Stream Service (stream-out)" The stream service schema was published from the definition created automatically by the input (and it is not set to learning mode). So why does it think they're different? I tried this with and without field mapping, but get the error either way. I also tried passing the same data to a feature service and it worked, so I know the input is coming in alright. We are using GeoEvent 10.6.1
... View more
10-29-2018
06:19 AM
|
1
|
14
|
3368
|
POST
|
I am trying to query a feature layer as described here: arcgis.features module — arcgis 1.4.2 documentation but I get KeyError: 'count' (see full error below). I'm using all the default parameters for the query, which includes return_count_only = False. I've tried this on multiple layers, including ones hosted in AGOL and ones available through our REST endpoint. Any ideas? My code: import arcgis.features as features
test = features.FeatureLayer("https://gis.johnsoncitytn.org/arcgis/rest/services/ReferenceData/Park_And_Recreation_Locations/MapServer")
print(test.query()) The error: ---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-5-b9976302e36a> in <module>()
1 import arcgis.features as features
2 test = features.FeatureLayer("https://gis.johnsoncitytn.org/arcgis/rest/services/ReferenceData/Park_And_Recreation_Locations/MapServer")
----> 3 print(test.query())
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\features\layer.py in query(self, where, out_fields, time_filter, geometry_filter, return_geometry, return_count_only, return_ids_only, return_distinct_values, return_extent_only, group_by_fields_for_statistics, statistic_filter, result_offset, result_record_count, object_ids, distance, units, max_allowable_offset, out_sr, geometry_precision, gdb_version, order_by_fields, out_statistics, return_z, return_m, multipatch_option, quanitization_parameters, return_centroid, return_all_records, **kwargs)
391
392 params['returnCountOnly'] = True
--> 393 record_count = self._query(url, params)
394 if 'maxRecordCount' in self.properties:
395 max_records = self.properties['maxRecordCount']
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\features\layer.py in _query(self, url, params)
824
825 if params['returnCountOnly']:
--> 826 return result['count']
827 elif params['returnIdsOnly']:
828 return result
KeyError: 'count'
... View more
07-02-2018
08:18 AM
|
0
|
2
|
2992
|
POST
|
By default, adding a gallery to your AGOL home page displays 4 maps/apps, then you have to hit the buttons on the right or left to view additional maps. I was wondering if there is a way to add either a second row to the gallery (as it is displayed on the homepage) or add a second gallery to the description. I thought I'd found a way to add the gallery to the description (Embed a Group of Maps), but it appears you can't use iframes in the description box. I've also seen article such as these which explain how to change things such as the background color or arrow buttons of your gallery. Is there a similar way to change the size so that it wraps around to a second line? Thanks in advance.
... View more
02-01-2018
08:43 AM
|
0
|
1
|
400
|
POST
|
I was finally able to publish the vector tiles. Turned out it was a memory problem. Even though I had optimal memory/RAM (16 GB), it wasn't enough. Had to publish from our server, which has 32 GB. Also, once I got the contours published, trying to actually view them in Chrome crashed the browser (IE and Firefox worked a bit better.) We were able to fix that problem by running Generalize to eliminate some of the extra vertices.
... View more
01-05-2018
12:26 PM
|
2
|
0
|
3400
|
POST
|
I wasn't able to get the full layer to publish at any level. I was able to successfully publish a much smaller section. An intermediate sized layer staged but did not publish. The publishing tools are working and should not be timing out (the process fails in less than 2 minutes.) I monitored CPU and memory on our ArcGIS web server machine and Portal machine and neither seemed high. It seems that I can keep cutting down the size of the area until it publishes, but I would like to avoid that, if possible, so users don't have to load 20 layers instead of 1. Are there any other things I can check or change to get this to publish as is?
... View more
12-28-2017
09:04 AM
|
0
|
1
|
3400
|
Title | Kudos | Posted |
---|---|---|
1 | 10-29-2018 06:19 AM | |
1 | 04-04-2017 07:41 AM | |
1 | 12-20-2017 10:57 AM | |
2 | 01-05-2018 12:26 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|