[OSRM-talk] OSRM - MVT Files By Lat & Long

Daniel Patterson daniel at mapbox.com
Wed Aug 25 01:58:55 UTC 2021


Your request isn't clear - multiple MVT tiles cover any given coordinate,
which tile you need depends on what zoom level you are interested in.

OSRM has no api to answer the question "given a lon/lat, what tiles cover
it" - all you need for that is a simple formula for "Web Mercator Tiles"
which is described here:
https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames

daniel

On Tue, Aug 24, 2021 at 6:24 PM Elemen Opyunome <elemenopyunome at gmail.com>
wrote:

> hey guys, any idea how to know what specific mvt files i should be getting
> based on lat and long coords? i have a server here that is accepting
> routing instructions and all is well with that. now i want to give lat and
> long coords and be given back the appropriate mvt file which holds those
> lat and long.
>
> thanks!
>
> -E
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20210824/8842e01e/attachment.htm>


More information about the OSRM-talk mailing list