On Fri, Feb 13, 2009 at 2:47 PM, Ciprian Talaba <cipriantal...@gmail.com> wrote:
> We have received data from a company that employs a service similar to
> Google Street View, and they are asking some questions on how to use our
> data as a base layer. They want to do something like this: they have some
> coordinates for their panoramas, and want to snap these images to the
> nearest vector in OSM. The reason is pretty simple, they want to have nice
> output, and to give the impressions that the map and images are matching.
>
> Do you know how they can achieve something like this (using free or
> commercial product)?

Load the osm data in postgis using osm2pgsql, and then the maths for
working out which linestring  (osm vector) is the nearest one and what
that point is is all available through spatial SQL queries.

Cheers,
Andy

_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to