HSLdevcom / hsl-open-data

Issues regarding Open Data published by HSL
0 stars 0 forks source link

Is there guide/examples for HSL ArcGIS service interface? #3

Open lordmikefin opened 6 years ago

lordmikefin commented 6 years ago

Hi,

I hope this is good channel to ask question related to HSL ArcGIS service.

My task :)

I have need to query new HSL zones ( Uudet vyöhykkeet ) based on street address.

Useful sources:

I have looked for guides/answers to solve my task from HSL devellopers site and HSL Open data (Avoin data) site

I found out that there is way to query geolocation based on street address by using Geokoodaus-API. There is good examples how to use this API. Example ‘kamppi’

I also found HSL zones data (HSL:n maksuvyöhykkeet) from HSL oped data page It seems like I should be able to get the zone based on geolocation from the ArcGIS service.

How I tried to solve my task

I got street geolocation with Geokoodaus-API: 'kamppi' When I try to use the ArcGIS service, I get "No results found". I tried geometry as 'Point' and 'Envelope'. Here is My example query.

Is there guide or examples for ArcGIS service?

I would like if there was guide like this one

tuukka commented 6 years ago

Hi! Why do you want to query zone by address, when addresses don't have a zone, bus stops do?

lordmikefin commented 6 years ago

ah ... good to know.

We have automated travel expense creation in our application. It will create monthly travel expense for employee. Each row in expense contains office address, employee address and travel ticket. Ticket (and price/zone) will be selected based on addresses.

... hmmm ... I should set "home" bus stop for each employee and office. In that way I can programmatically decide which zone ticket should be selected.

Thanks for pointing out the relation of zones and bus stops.

How I can get the latest bus stop data?

I know I can download data from the web page.

I would like to periodically (and automatically) update the data without hasling with the file. Is this possible with ArcGIS?