opentraffic / datastore

OTv2: centralized ingest and aggregation of anonymous traffic data
GNU Lesser General Public License v3.0
28 stars 12 forks source link

How to access .spd or .nex data ? #88

Open mohdazfar opened 6 years ago

mohdazfar commented 6 years ago

This is probably not an issue but a question. My objective is to get average speed data for a particular tile is a json format. I can access the tiles data using https://s3.amazonaws.com/osmlr/ and then if I have to get data for a specific tile I can use https://s3.amazonaws.com/osmlr/v1.1/geojson/0/000/747.json In the similar way I was trying to get the average speed data for different roads and highways in the form of a tile. I found this link https://s3.amazonaws.com/speedtiles-prod/ which was working fine but in the keys for example there is <key>2017/31/0/001/071.spd.0.gz</key> so when I tried this https://s3.amazonaws.com/speedtiles-prod/2017/31/0/001/071.spd.0.gz it return the following response

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>11FD8511BA7B8A52</RequestId>
<HostId>
hxj/2l5qRwpgyE04UXesOe8f69//FhrxWZnkVboLhK0SBrnPloHKJipJhMv5XDijk3x3Maw1hpk=
</HostId>
</Error>

How can I get average speed data for a specific tile ?

OR IN OTHER WORDS The URL described in the datastore docs https://<Prefix URL>/1/037/740.spd.0.gz. What is <Prefix URL> here ?

vaduraes commented 3 years ago

Same question