Does Arcgis World Traffic Service Support History Data? - arcgis

Now, I use Esri Leaflet http://esri.github.io/esri-leaflet/examples/premium-content.html
I want to Access Arcgis World Traffic Service History data,
Because, I only got a live traffic data.
May I access one month ago traffic data or another days?
I want to play the 3 days or 7 days change, that why I need to access history data

May I access one month ago traffic data or another days?
yes. ArcGIS World Traffic is a time-enabled service, which means it supports passing any Epoch timestamp (in milliseconds) as the time request parameter.
https://traffic.arcgis.com/arcgis/rest/services/World/Traffic/MapServer/export?...time=1526022000000
in Esri Leaflet, you can either use the to and from constructor options (live demo) or setTimeRange().

Related

How to get a rout information with trafic flow information included for a past date?

I am trying to use Azure Maps API. It will be nice to have route information which should include the locations of course and a speed profile. As you can understand speed profile is not an east one. Free flow speed profile is ok. But we want to simulate real-world conditions meaning that we want to select date and time of departure to get accurate speed information as close to as possible to a real world traffic influence.
Is there any feature that Azure provide this? If not, which API can provide this
I don't have any code at this moment to show since ı don't know which API to use.
Historical traffic data is not currently available in Azure Maps but is being investigated as a potential future feature.

Is there any service of Map and GPS Logger for IoT Devices as free?(like Azure Maps in Azure IoT Central)

I want to visualization latitude and longitude data taken from IoT Devices.
But I couldn't find service is able to plot GPS log data.
For example, AT&T M2X can visualization and log data that just sensor data (like humidity, temperature, and so on) but it can't visualize map from data.
At last found Azure Maps, but it needs to register the credit card.
If needed to pay for the amount of user data, but I want to start map visualization with no pay option setting first.
I desire service keeps below three points, 1. no need pay option setting first, 2. it can post data from HTTP protocol(GET/POST), 3. any kinds of map type is ok (google map, BingMap, OpenStreetMap, and so on)
I'm sorry that my English is so bad.
I look forward to your reply.
thanks.
Might want to take a look at Data Studio (Google Cloud Platform). To get you started (no money) you should be able to create a spreadsheet with comma separated lat/long values, import it into Data Studio and get a visualization on a map of those positions.
Check it out here.
I know you said being able to post via HTTP is a requirement (makes it harder to use this, but wanted to point it out as it's cool and I just learned about it too.
There's also the Maps API which can do it (I'm actually unsure of how "free" it is, but most of our APIs have free tiers for like, # of requests). This is do-able via HTTP.
Azure Maps is a part of Azure and the credit card is for Azure all up, not just Azure Maps. That said, Azure Maps also provides free monthly usage limits. Also, in Azure you can set a spending limit on your account. After adding your credit card, simply set your limit to 0 and you don't need to worry about paying. If you exceed the free limits, your account will simply stop working until the next month when you get a new set of free limits. Here is some documentation on how to set a spending limit in Azure: https://learn.microsoft.com/en-us/azure/billing/billing-spending-limit

Create rules on TimescaleDB

How can i generate alerts about rules in TimescaleDB? I need to create a rule, and when this rule is broken i want generate a post notification. For example: i want to create a rule that verify if the average temperature in the last 5 minutes of a device D exceeds X, then I want to detect in order to be able to react. Is this possible?
Thanks!
TimescaleDB supports PostgreSQL triggers that can be configured to fire on various changes to the database. See here: http://docs.timescale.com/using-timescaledb/schema-management#triggers
and here for PostgreSQL docs:
https://www.postgresql.org/docs/current/static/sql-createtrigger.html
That should provide a good starting point, but the details of averaging the temperature over a past time window, you'll have to work out depending on how you want to proceed.
According to the official TimescaleDB documentation, best method is to use Grafana and define alert rules
Grafana is a great way to visualize and explore time-series data and
has a first-class integration with TimescaleDB. Beyond data
visualization, Grafana also provides alerting functionality to keep
you notified of anomalies.
[...]
Grafana will send a message via the chosen notification channel.
Grafana provides integration with webhooks, email and more than a
dozen external services including Slack and PagerDuty.
You may also use other alerting tools:
DataDog
Nagios
Zabbix

Reverse Geocoding with Worklight

I'm currently working on a Worklight Project that deals with location based services. I want to be able to get the ZipCode of an user's current location for the iOS platform specifically. I researched online and there are many ways to approach this. I currently have it implemented using a custom cordova plugin using native location manager features and retrieve the zip code through reverse geocoding. This approach seem like I'm doing it the long way. I noticed that google provides an api call for the reverse geocoding by just supplying the lat and long. However, there is a limit to how many calls you can make.
Users of the free API:
2,500 requests per 24 hour period.
10 requests per second.
Maps for Business customers:
100,000 requests per 24 hour period.
10 requests per second.
This app needs to have no restrictions on how many times it can get the location based on zip code.
Does Worklight have a simpler or better way of getting the zip Code for user's location(I've checked the worklight api reference calls but didn't see anything about retrieving user's zip code)?
Worklight provide a way to implement this by using adapters, but not the API itself. Although you could the adapter to work as something like a local cache of the ZIP you already know.
To save money due to the APIs that would be usually based on a number of calls, we would need to have some cache, database(more likely: CouchDB or mongoDB) to handle this cache of what you already know.
A mobile(app-side) solution + a server side solution. On putting this 2 together, worklight would help you.

How does a smart satellite navigation system work?

How does a smart navigation system work where not only does it tell you the location ( within your route) where there is a traffic jam but also how long it will take for you to pass the jam.
How long it takes:
This works by measuring the transit times ( via GPS) through each street segment, sending to a central server, either via GSM if the device has that built in, or when you connect the navigation device to your home computer, it connects with the server.
there it is categorized by day categories (weekday, saturday, sunday, local holiday, day before holiday etc.) and time (e.g evry 10 - 15 minutes).
This build up a data base of transit times. you can buy that from TomTom and from Navteq for some huge amount of dollar.
(today nearly all smarthphones sends traffic situation data to a central server, either to Apple, or to Google. In ios you have to disable that option if you dont want that)
traffic jams:
Works only with devices which have Internet connection (GSM):
very slow speed on road segements are reported to a central server, which builds up the current traffic situation.