POST
|
What I would like is for GeoEvent to handle variable number of points in the routes we pull, pagination, and token renewal out of the box. Right now, ESRI created a custom process to change the token once it expires. It was done in 10.6 but it worked on 10.7.1 and it works in 10.8 now
... View more
04-22-2020
02:05 PM
|
0
|
1
|
804
|
POST
|
I know it has been a while since your post, but I will be more than happy to share the scripts. What we do is, we have schedule them to run daily and weekly. The daily script will run at midnight and includes trips for the 36 hours prior to the date. What we found out is that, even though MDS is somewhat real time, trips keep coming after 12 hours (all vendors assure trips are updated no more than 5 minutes after they occur). We also noticed, when running the script as a test for previous weeks, we get trips we did not get the first time, hence, the weekly run. We run the previous 36 hours (there is overlapping), and also once a week, we run it for the previous 7 days (we do get new trips during this time). Let me know if you want me to send you anything. They are python scripts that use the URL feeds, and tokens. It also has token renewal for those that need it.
... View more
04-22-2020
02:03 PM
|
2
|
2
|
2223
|
POST
|
Based on the picture you showed, when you create the feature, as long as the attribute assistant is on, it will populate the X&Y. If you want it to update every time you move the feature, you must set the change geometry to true (1) as well. If you want to recalculate selected features, as Michael Miller said, you click the 'On_Manual' icon tool from the AA toolbar and it will execute all commands from the dynamic table set to true on On_Manual. Make sure you have set the On_Manual to true on the commands you want to run and off on the ones you do not want. Every time you run the ON_Manual for X&Y, everything else set to True (1) on On _Manual will be running as well.
... View more
02-20-2020
10:13 AM
|
1
|
0
|
3848
|
POST
|
Scooters feeds using Mobility Data Specification (MDS) have a page element in the results. I imagine this is done so the entire payload is not sent back at once, but in pages. The idea is to request the payload with the original URL and token, then get the nextPage element to get the next page URL. When we started with GeoEvent 10.6.1, this was not possible, nor was the renewal of a token when it expired. ESRI helped us with the creation of a new transport to renew a token once it expired, but we were not able to handle pages. As a result, we moved to Python, looping through the URLs and downloading the data into a feature class as we moved through the different pages provided in the payload. Can GeoEvent handle anything like that? Can GeoEvent read anything that comes in the payload and use it as the new URL?
... View more
02-10-2020
10:15 AM
|
0
|
0
|
240
|
POST
|
What are you trying to capture? It looks to me you are trying to capture the Status Change (MDS). We do not use status change because only shows what is available, not what is being used. What we capture with geoEvent is the free_Bike_status from the GBFS API. The MDS (either trips or status_changes) cannot be captured because they come in pages and GeoEvent cannot paginate, the free_bike_status will give us what is available (same as status_change). We no longer use the status change method because it does not show "in use" scooters, and, like I mentioned, for available scooters, we have the Free_bike_status. free_bike_status method (GBFS): the definition that was automatically created had Lat/Lon. After the definition was created, we added the geometry field to it and marked Create GeoEvent Definition as "No". Note that we used the JSON element Named "Bikes". Our GeoEvent services looks like this: The birdMapper has the Definition we created, and the feature service definition. This is where the geometry is calculated. In the GeoEvent services, we indicate the geometry field so it can be calculated. This is separate from the X and Y, long/lat because we want a feature class created automatically, otherwise it would be a table with X Y that has to be converted. I am not sure if that answers your questions, but for the MDS, we use python scripts that execute the URL and get the next page from the payload they retrieve. It is in a loop until it reaches the last page, at which time, we do the same for the next vendor and so on. Some vendors have expiring tokens (two vendors actually). For these, we read the token from a text file, we check for error codes in the script (look for token expired) and generate a new token when this happens (we call the token URL provided by the vendor), and save it into the file. The token can expire while running the script but we save it into a file to reuse it if it is still valid next time we run the script. The trips script runs every night for the previous two days (from current day - 2 days to previous day). Vendors say they update everything within 12 hours, but we have found after two days, we still get older trips. We runt he trips scripts every night for the previous 48 to 12 hours and we also run it every morning for the previous 5 days. That way if there are changes or older trips that did not make it, will be included. We also have one vendor who has an expiring token with the GBFS. This is the only vendor that has a token. The vendor reached out to ESRI and ESRI created a customized inbound Transport that has HTTP OAuth2 to generate a new token on the fly for that specific vendor. Let me know if this helps. I can also share the python scripts if you need them.
... View more
02-10-2020
08:34 AM
|
0
|
4
|
2223
|
POST
|
You probably need to customize the connection. We use a token that expires ever so often, but there is code embedded within the connector.
... View more
02-10-2020
06:25 AM
|
0
|
0
|
324
|
POST
|
Unfortunately, that is not the case. the TOC has spaces in it, the actual FC do not. They are MasterStreetName and SiteAddressPoint. Thank you
... View more
05-21-2019
09:45 AM
|
0
|
1
|
518
|
POST
|
Any ideas as to where to get help when something fails? I configured the dynamic table to get some values from a master street table into the SiteAddressPoint table using the Validate attribute lookup method. It did not work. I set the AA to debug and found that a couple of fields were not found. I have no idea where these fields are searched because both, the SiteAddressPoint and Master tables have the fields. This is the configuration on the dynamic table: TABLENAME: SiteAddressPoint FIELDNAME: FULLNAME,PREDIR,STNAME,STTYPE,STTYPE1, STTYPE2, ALTUNITTYPE VALUEMETHOD: VALIDATE_ATTRIBUTE_LOOKUP VALUEINFO: MasterStreetName|FULLNAME, ROADPREDIR, ROADNAME, ROADTYPE, ROADTYPE1, ROADTYPE2, RAMP Both sets of fields exist, FIELDNAME fields are from siteAddressPoint, and Fields from VALUEINFO exist in Master Street name. The logfile states the rule was not processed: ------------------------------------------------ Row Info Row Number 8 TableName: SiteAddressPoint FieldName: FULLNAME,PREDIR,STNAME,STTYPE,STTYPE1, STTYPE2, ALTUNITTYPE ValueInfo: MasterStreetName|FULLNAME, ROADPREDIR, ROADNAME, ROADTYPE, ROADTYPE1, ROADTYPE2, RAMP ValueMethod: VALIDATE_ATTRIBUTE_LOOKUP On Create: 1 On Change: 1 Checking for Subtype Restriction <------ I do not know where this is Field Name: Street Name was found at index: 12 <---- I am not sure where "Street Name is" Field Name: QUADRANT was found at index: 43 <---- or quadrant Field Name: STNAME was found at index: 44 Field Name: STTYPE was found at index: 45 Field Name: STTYPE1 was found at index: 54 STTYPE2 Field not found <------ These two fields exist in SiteAddressPoint ALTUNITTYPE Field not found Rule not processed ------------------------------------------------ Any help would be appreciated.
... View more
05-16-2019
01:12 PM
|
0
|
3
|
622
|
POST
|
We use it for address point maintenance. Rules include: No duplicate address (text) - display a message -, only one main address per parcel - display a message-, take the underlying parcel folio when creating an address, compose the full address and its parts from the address number and street, if a retired address exists, show a warning - user should use the retired address and reactivate it -. Use templates for the different type of addresses (main address, alternate address, condo address, temporary address). Take the underlying address as the same address and allow for the addition of the unit (for condos). When selecting a street, and because we want the address parts (quadrant, street name, type, etc.) there is a drop down to pick the correct street, even though it was already selected when creating the point. What I would like is for the drop down to be more user friendly. It currently shows a street with parts separated by pipes and a message that has the field names concatenated with the pipes. Like this: Select the correct Dir|STNAME|TYPE: NW| 2ND|ST SW|2ND|ST ... and so on. Too confusing. Thanks
... View more
04-24-2019
03:15 PM
|
0
|
1
|
1805
|
POST
|
I tried using geoJson but it does not bring any events. With the Json input, at least I can get the events into a json file, but I get nothing with a geoJson.
... View more
04-11-2019
01:09 PM
|
0
|
0
|
3408
|
POST
|
Do you know how to use the /trips end point? I would like to get the trips as features to make reports of those who exit a geoFence and for how long, but I have not figured out how to field map or save the group of coordinates for the routes. One route may have many points in a json array. Thanks
... View more
03-28-2019
07:04 AM
|
0
|
2
|
3408
|
POST
|
In GeoEvent, when you create your input, indicate the X and Y fields as the image. In the services, flatten the input with a mapper including the fields you want. Map I have not figured out how to work with the trips endpoint though.
... View more
03-28-2019
06:11 AM
|
1
|
4
|
3408
|
POST
|
I got it working. I needed to include the Acceptable MIME types (Client Mode): application/vnd.mds.provider+json; In the end, the URL was correct, but the header did not include double quotes or anything. Something like this: Authorization:Bearer MY_TOKENsdafasdfasdfasdfsadf
... View more
03-26-2019
05:11 PM
|
2
|
3
|
2223
|
POST
|
How do I set up a GeoEvent input with headers that include a token? Authorization: Bird ...TOKEN.... ================== No quotes on either side.
... View more
01-28-2019
04:10 PM
|
0
|
13
|
3731
|
POST
|
Something similar is happening to us. We created a webMap in ArcGIS and a Web Application (using application builder.) as well. When we look at the map or the application, the layers show up find. When looking at the map through the [ArcGIS] Explorer App from Android, the points do not show up. In this case, the grouped symbols seem to be showing up in the map, but the non-grouped ones are ignored. Furthermore, the legend does not show correctly as it shows only symbols for non-group items.
... View more
05-31-2017
12:16 PM
|
0
|
0
|
544
|
Title | Kudos | Posted |
---|---|---|
1 | 03-28-2019 06:11 AM | |
2 | 04-22-2020 02:03 PM | |
1 | 02-20-2020 10:13 AM | |
2 | 03-26-2019 05:11 PM | |
2 | 12-22-2014 05:19 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|