Topic: Get streets as polygons
Hello. Is there a simple way to get all streets that are currently shown on the map as some kind of geometry information like polygons?
Thanks and cheers,
Jürgen
You are not logged in. Please login or register.
Infinity Code Forum → Online Maps Help → Get streets as polygons
Hello. Is there a simple way to get all streets that are currently shown on the map as some kind of geometry information like polygons?
Thanks and cheers,
Jürgen
Hello.
There is no simple way.
You can do this using the OSM Overpass API, or using vector tiles (Online Maps can read them but cannot display them yet).
Both ways will be difficult enough.
Thanks. Could you maybe point me to the class and line in the source where the vector (street?) data is read in Online Maps? I would try to hook into that myself then. Cheers!
Send me an email (support@infinity-code.com) and I will send you a script as an example.
I don't want to post it here because it is part of an unfinished feature that I was working on a while ago.
Infinity Code Forum → Online Maps Help → Get streets as polygons
Powered by PunBB, supported by Informer Technologies, Inc.