[OSM-dev] OSM clickable POIs - implementation?

Dodi dodi at moonbase.sk
Sun Jan 6 14:44:01 GMT 2008


----- Original Message ----- 
From: "Martijn van Oosterhout" <kleptog at gmail.com>
To: "Nick Whitelegg" <nick at hogweed.org>
Cc: <dev at openstreetmap.org>
Sent: Sunday, January 06, 2008 3:17 PM
Subject: Re: [OSM-dev] OSM clickable POIs - implementation?


> On Jan 6, 2008 2:19 PM, Nick Whitelegg <nick at hogweed.org> wrote:
>> I would like to try and add clickable POIs to OSM (as already exists on
>> Freemap) so that when you click a village, for example, some info and its
>> Wikipedia link comes up.
>>
>> The best way to do this would seem to be to implement code which takes a
>> lat/lon (or Mercator coord pair) and returns the nearest POI node to it. 
>> This
>> could be turned into an API call, as could a similar method to find the
>> nearest way to a mouse click. Do people think this is a good idea?
>
> Any mapnik installation already has all the POIs in a a geospatially
> indexed DB so as a datasource I think that would be best. You could
> always query the api for the full data if you really wanted that.
>
> You could also just display the POIs as icons on the map so users can
> click on them, as in:
> http://dev.openstreetmap.org/~kleptog/pois/pois.html
>

or you/we can do it as described on 
http://wiki.openstreetmap.org/index.php/OpenLayers_Dynamic_POI

Dodi

> Have a nice day,
> -- 
> Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
> 





More information about the dev mailing list