Re: Coordinates of Swiss address

275 views
Skip to first unread message

Cédric MOULLET

unread,
Jan 11, 2013, 11:12:09 AM1/11/13
to geoadm...@googlegroups.com
Hello,
As indicated on this page: http://api.geo.admin.ch/main/wsgi/doc/build/services/sdiservices.html "The swiss cantons only allow websites of the federal governement to use the addresses search service." This means that your application need to be hosted on a *.admin.ch domain in order to get coordinates for addresses.
Hope this helps,
Cédric


On Fri, Jan 11, 2013 at 4:47 PM, <adrian....@fusepool.net> wrote:
Hi group,

To support fire fighters in incidents we are currently bootstrapping a new system in Switzerland which is currently already in use in Amsterdam [1]. One of the first steps we do is resolve the lat/long values of the incident to display additional information about the incident on a map.

We get incidents by the "Alarmierungszentral Kantonspolizei Bern", unfortunately there is currently no way to get geo coordinates directly from their system for technical reasons (they have it internally but there is no API to send it somewhere else). So all we get is a street address and the place (no zip code) as text. In the current prototype I use the Google geocode API to resolve it to lat/long values but judging from test incidents this seems not to be very reliable on countryside, either it "autocorrects" the location to another place or it does not find the location.

I had a look at the geocoding API at http://api.geo.admin.ch/main/wsgi/doc/build/services/sdiservices.html but judging form the examples and the things I tried via curl I couldn't get any coordinates for a full address. So I wonder if there is an official API from you where I could get reliable coordinates?

thanks

Adrian




--

adrian....@fusepool.net

unread,
Jan 12, 2013, 6:10:42 AM1/12/13
to geoadm...@googlegroups.com


On Friday, January 11, 2013 5:12:09 PM UTC+1, Cédric Moullet wrote:

Hi Cédric,

As indicated on this page: http://api.geo.admin.ch/main/wsgi/doc/build/services/sdiservices.html "The swiss cantons only allow websites of the federal governement to use the addresses search service." This means that your application need to be hosted on a *.admin.ch domain in order to get coordinates for addresses.
Hope this helps,

ok thanks for the clarification but no, it doesn't help :) No way to get this working on a admin.ch. domain, this is small fire departments pushing it, not the state.

cu

Adrian 
Reply all
Reply to author
Forward
0 new messages