TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

OpenStreetMap's New Vector Tiles

497 pointsby marklit6 months ago

26 comments

puddingvlaai6 months ago
I&#x27;m a bit conflicted with vector tiles. I haven&#x27;t found a good combination of style and tile generator (schema) that provides the same level of detail as the original raster tiles provide.<p>The article has screenshots that very much demonstrate this difference. The first screenshot has, for example, a lot of POIs (statues, shops, theaters, viewpoints), highways that are different when they are bridges, different colors for grass vs parks, different line widths for different highways, sports fields, building and neighbourhood names, arrows denoting one-way streets, building parts, stairs, trees, and a lot more.<p>The second screenshot has none of that, aside from a single trolly station and a single street name (which is also rendered incorrectly).<p>I&#x27;ve tried a lot of vector styles (all openmaptiles styles, the base protomaps styles, all mapbox styles) and generators (protomaps, openmaptiles, mapbox). None of them come close to the amount of detail as the raster OSM tiles while still being as readable.<p>I&#x27;ve never found anyone as bothered with this as I am. Vector styles are cool as they zoom and pan very smoothly, and their style is fairly easily editable. But, for any map where you actually want to see map data instead of using it as a base map for your own data, vector maps fall short.<p>Maybe it is just because of computational limits. I can imagine that displaying the same amount of detail as the OSM raster tiles would require too many resources: both on the client side and for tile generation.<p>It would be nice if OpenStreetMap would try to mimic their raster style closer, instead of providing just another low contrast, low detail base map. I hope this release of open vector tiles will facilitate more detailed vector maps!
评论 #42189947 未加载
评论 #42187093 未加载
评论 #42191353 未加载
评论 #42187983 未加载
评论 #42188164 未加载
评论 #42194378 未加载
评论 #42190655 未加载
评论 #42186977 未加载
maliker6 months ago
It&#x27;s been fascinating to watch the open source community build out vector map tile capabilities. I was doing some web GIS work back in roughly 2018, and Google&#x2F;Apple&#x27;s streaming vector maps performed like magic and something we would have loved to use if we could afford it. Shortly thereafter the core tech was available in open source, and then there were even free hosted solutions. Now our leaflet maps have great vector layers for free. Thanks open source!
评论 #42186320 未加载
kibwen6 months ago
Does this reduce the operating costs of hosting OSM-based maps, since presumably they require less CPU spent on rendering and vectors consume less storage&#x2F;bandwidth?
评论 #42183661 未加载
评论 #42184618 未加载
评论 #42183467 未加载
评论 #42184016 未加载
zawaideh6 months ago
The other issue is that the arabic font is not rendering correctly in the vector version. It&#x27;s rendering left to right (instead of right to left) with characters broken up instead of linked.
评论 #42185056 未加载
评论 #42190246 未加载
评论 #42185301 未加载
boramalper6 months ago
Also see: OpenFreeMap — free OpenStreetMap vector tile hosting<p><a href="https:&#x2F;&#x2F;openfreemap.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;openfreemap.org&#x2F;</a>
评论 #42187420 未加载
评论 #42185865 未加载
Someone6 months ago
&gt; Imagery should appear much sharper and switching the language of the labels should become possible.<p>I expect that to work sub-optimally. Label dimensions are far from guaranteed to stay the same if you change language, and label dimensions interact with map layout, even influencing what to show.<p>If your labels grow larger, they may end up covering too much of the map or even overlapping. If they grow smaller, users may wonder why a city that was omitted before because of space constraints doesn’t show in the empty space created.
评论 #42183722 未加载
评论 #42183940 未加载
评论 #42185036 未加载
Tepix6 months ago
This is a very welcome new development! I look forward to even better looking maps.<p>I&#x27;m just a bit puzzled by the &quot;my workstation&quot; section :-). There doesn&#x27;t seem to be any relation to the rest of the article, not even high system requirements to do the things discussed after that.
ajsnigrutin6 months ago
&gt; Imagery should appear much sharper and switching the language of the labels should become possible.<p>So, every eg. city-shape-vector (well.. polygon) will cary the metadata&#x2F;text of the name of that city in every defined language?
评论 #42183499 未加载
评论 #42186520 未加载
评论 #42183376 未加载
tetris116 months ago
(Low effort comment) I wonder if this means OSMAnd and OrganicMaps will now finally team up to deliver the ultimate FOSS Map app
评论 #42184708 未加载
评论 #42187153 未加载
评论 #42184055 未加载
评论 #42183630 未加载
评论 #42183919 未加载
eMPee5846 months ago
<a href="https:&#x2F;&#x2F;marble.kde.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;marble.kde.org&#x2F;</a> has had their own implementation of a streaming vectorOSM layer for nine years and I was eagerly waiting for something akin to materialize in other OSM map applications for quite a while.. Downloading hundreds of megs of map data in big whole-country chunks always was a space issue in android OSM apps. Very glad a standard is finally being established and looking forward to it getting picked up and polished.. Great work! : )
评论 #42188956 未加载
andrepd6 months ago
What was that interlude about the computer&#x27;s specs lol, I thought it was going somewhere but it didn&#x27;t.
评论 #42187742 未加载
spacetracks6 months ago
I&#x27;m interested in applying transforms to vector tile coordinates at render time. What libraries do you recommend for that? I have zero experience with map rendering but I understand coordinate transformation well. I&#x27;d like to render a log azimuthal earth. I know I&#x27;ll need to pull tiles at different scales and stitch them together, just not sure which library to use to make that easy.
orthoxerox6 months ago
One thing I appreciate about the default raster-based maps is how snappy they are. Zooming in and out on OSM is much faster than on Google&#x2F;Apple&#x2F;Yandex&#x2F;Bing maps. Of course, vector-based maps mean I can finally use OSM for countries that use Ethiopic&#x2F;Arabic&#x2F;Hebrew&#x2F;Georgian&#x2F;Armenian&#x2F;Hanzi&#x2F;Indic writing systems.
timwis6 months ago
Does anyone know if vector tiles could carry adequate data to facilitate reverse geocoding (address lookup)? E.g. the polygon of a building containing its street address in its metadata. I’m surprised I haven’t seen that before, as reverse geocoding services can get expensive, though I wonder if it’s because I’ve misunderstood how vector tiles actually work.
评论 #42185837 未加载
评论 #42187537 未加载
评论 #42185684 未加载
emursebrian6 months ago
This will be great for custom maps.<p>I am on QGIS 3.30 and many of the street labels at 1:31860 scale show up in red and are not aligned correctly.
Foofoobar123456 months ago
Exciting update! How does the new vector tile system handle performance on low-end devices with large datasets?
评论 #42184817 未加载
jkrubin6 months ago
I saw some morecantile&#x2F;mercantile in the article, so I will plug a side project of mine “utiles” for anyone needing tile util(e)s: <a href="https:&#x2F;&#x2F;github.com&#x2F;jessekrubin&#x2F;utiles">https:&#x2F;&#x2F;github.com&#x2F;jessekrubin&#x2F;utiles</a><p>Was fun to write and I learned loads!
gregoriol6 months ago
Is there a tool to capture vector tiles to raster files? Some tools like Apple&#x27;s MapKit don&#x27;t support vector tiles yet, and it could be interesting to use one single map base and be able to just generate the raster, instead of having a specific raster server
评论 #42184629 未加载
评论 #42183659 未加载
评论 #42183704 未加载
ggm6 months ago
If this means I can get fatter&#x2F;thicker&#x2F;larger text labels on my maps, I&#x27;m all for it. As it stands, it feels like tiles have precomputed text embedded, which is never at a size I can handle.<p>Old eyes are inflexible.
wind126 months ago
`open(&#x27;7006.mvt.json&#x27;, &#x27;w&#x27;).write(...)` (from section `Analysis-Ready Data`) should either be<p>import pathlib<p>pathlib.Path(&#x27;7006.mvt.json&#x27;).write_text(...)<p>or the historical alternative<p>with open(...) as f:<p><pre><code> f.write(...)</code></pre>
eMPee5846 months ago
Sidenote: the most infuriating thing about google maps widgets has been the removal of the scale by default. All them transportation apps with their embedded map views have been of annoyingly limited use for multimodal navigation.. without a scale it just leaves me guessing whether a distance can be considered walkable .. Then I was flabbergasted when leaflet copied this crucial design decision.. yet my efforts to convince the leaflet team to reconsider reverting the default (because defaults are rarely changed downstream) utterly failed: <a href="https:&#x2F;&#x2F;github.com&#x2F;Leaflet&#x2F;Leaflet&#x2F;issues&#x2F;8902">https:&#x2F;&#x2F;github.com&#x2F;Leaflet&#x2F;Leaflet&#x2F;issues&#x2F;8902</a> .. awefully reminds me of the design trend for thin scrollbars and tiny touch targets being enforced in GUIs all over, mostly without an easy option even to configure it.. WONTFIX in KDE f.e. <a href="https:&#x2F;&#x2F;bugs.kde.org&#x2F;show_bug.cgi?id=416003" rel="nofollow">https:&#x2F;&#x2F;bugs.kde.org&#x2F;show_bug.cgi?id=416003</a> come on.. Hopefully with AI, we&#x27;ll soon enter an era of liquid software where everything can be dynamically changed at will. Oh the future, behold xD
redmajor126 months ago
Does anyone know how to download the OSM placemarks (museum, fort, bus stop, etc) for use in another GIS program like AlpineQuest or even the desktop?
评论 #42227855 未加载
HumblyTossed6 months ago
How soon before mobile apps can start using these?
Eduard6 months ago
is there already a live version of this? Because for me, there doesn&#x27;t seem to be an option for activating vector tiles on <a href="https:&#x2F;&#x2F;www.openstreetmap.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.openstreetmap.org&#x2F;</a>
评论 #42184165 未加载
评论 #42186198 未加载
DemocracyFTW26 months ago
One clear advantage of the new SVG format is, apparently, that Arabic script is now, finally!, rendered the way it was always intended—left-to-right with unconnected letters &#x2F;s
评论 #42183255 未加载
评论 #42183421 未加载
评论 #42183525 未加载
评论 #42183178 未加载
评论 #42187652 未加载
shpx6 months ago
I can&#x27;t believe they still haven&#x27;t added a 2x pixel density version of the default map style. It&#x27;s $CURRENTYEAR and we all have high pixel density phones. No one uses 1080p displays anymore. The default blurry version makes any page using OSM feel amateur.
评论 #42186298 未加载
评论 #42186273 未加载
评论 #42186331 未加载
评论 #42190304 未加载
评论 #42187637 未加载