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.

Maps.earth – free and open-source web maps

696 pointsby ellenhpalmost 3 years ago
Hey everyone, a while back I posted about an open-source maps project I was working on called Headway. I just wanted to share an exciting update. I made a few architectural improvements with the help of some really awesome contributors and Headway can now run full-planet instances. I&#x27;m really excited with what we&#x27;ve managed to come up with.<p>Right now the full-planet demo server is in Germany and lives at [1]. A brief explanation is at [2]. I&#x27;m hopeful that the project will continue to improve with time and eventually end up being a real contender in the web maps space. I&#x27;m talking with folks about the potential for getting some more robust hosting options too which is very exciting.<p>For the moment though, Headway has some usability issues. It&#x27;s missing ETAs, has no steps list for directions, or proper geocoding search results page, etc. I&#x27;m going to get to these issues with time, but please drop me a line if you&#x27;re interested in helping out. Especially interested in help with web frontend, design, or internationalization. Development takes place on GitHub [3] and discussions tend to happen in the matrix room [4].<p>[1] <a href="https:&#x2F;&#x2F;maps.earth&#x2F;" rel="nofollow">https:&#x2F;&#x2F;maps.earth&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;about.maps.earth&#x2F;" rel="nofollow">https:&#x2F;&#x2F;about.maps.earth&#x2F;</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;headwaymaps&#x2F;headway" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;headwaymaps&#x2F;headway</a><p>[4] <a href="https:&#x2F;&#x2F;matrix.to&#x2F;#&#x2F;#headway:matrix.org" rel="nofollow">https:&#x2F;&#x2F;matrix.to&#x2F;#&#x2F;#headway:matrix.org</a>

29 comments

tuukkahalmost 3 years ago
Link to the previous post: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31536217" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31536217</a><p>Congrats on all the progress in 3 months!
shafyyalmost 3 years ago
Hey, this looks great, thanks for working on it! I&#x27;m the creator of Mapzy[0], an open-source and self-hostable store finder. We&#x27;re trying to focus on privacy as much as possible, but currently use Mapbox since it&#x27;s better than Google Maps and we didn&#x27;t find any other alternatives.<p>Do you think Headway could be a replacement for us? We currently use the Mapbox JS library to create the pins etc. - could we use Headway with Leaflet JS for example? We also use the Mapbox geocoder, mainly for reverse geocoding of addresses. How does Headway&#x27;s geocoder compare?<p>0: <a href="https:&#x2F;&#x2F;github.com&#x2F;mapzy&#x2F;mapzy&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mapzy&#x2F;mapzy&#x2F;</a>
评论 #32556909 未加载
评论 #32559751 未加载
评论 #32558204 未加载
评论 #32559569 未加载
评论 #32560828 未加载
codethiefalmost 3 years ago
Very impressive!<p>Is it just me (Firefox on Android) or does the UI really not allow tapping landmarks (shops, restaurants, subway stations)?<p>Also, directions don&#x27;t seem to work right now (infinite loading) but I suppose this is due to the server receiving the HN hug of death right now.<p>By the way, for anyone looking for the mobile (non-web) version of this: Organic Maps is a fantastic frontend for OpenStreetMaps (and of course there&#x27;s the good old OsmAnd, though I like Organic Maps better these days).
评论 #32555832 未加载
评论 #32555904 未加载
评论 #32555173 未加载
abetuskalmost 3 years ago
I&#x27;m a little confused as to what this actually is.<p>Is this a route planning built on top of OSM? Does this bundle OSM data &quot;all in one&quot; so that you can more easily host an OSM server?
评论 #32552968 未加载
评论 #32553404 未加载
joekrillalmost 3 years ago
Wow this is pretty amazing. For those that haven&#x27;t tried, it&#x27;s <i>really</i> difficult to piece this sort of thing together. So the fact that this is all provided as a Docker Compose configuration is really awesome.
sorenjanalmost 3 years ago
How do you handle map data updates? Do you regenerate everything from scratch from the full data set, or can you update it incrementally with patches? Is it possible to put the tiles on a CDN like cloudflare?
c0nsumeralmost 3 years ago
This seems really neat. I have a question that I hope isn&#x27;t something I&#x27;m missing, but is there an easy way to change the rendering ruleset? I ask because I&#x27;ve been wanting to build some custom maps for mountain bike trails in the state where I live and have them served up similarly.<p>Whenever I&#x27;ve looked into other projects for this it&#x27;s either focused on rendering tiles from Mapbox data (where not all the OSM tags -- especially not MTBing ones -- are available) or really old info or presumes that someone else will be generating tiles.
评论 #32555430 未加载
paxysalmost 3 years ago
I tried the hosted app at <a href="https:&#x2F;&#x2F;maps.earth" rel="nofollow">https:&#x2F;&#x2F;maps.earth</a> but it isn&#x27;t really usable at present. How do you actually search for and navigate to places?
评论 #32553114 未加载
alexalx666almost 3 years ago
Is it possible to access it via less js heavy frontend? Owner of Nokia N900 here :D Would great to have Ghost in the Shell style super lightweight maps
评论 #32554020 未加载
评论 #32556916 未加载
WhyNotHugoover 2 years ago
This is very interesting (and impressive work). I&#x27;ve been thinking for quite some time that it would be very useful to have a local map server for offline use.<p>A lot of applications need to show data related to location (e.g.: a photo app might want to show a map of where a photo was taken). Having a local service to resolve these would be superb.<p>I know this product has a different goal, but I wonder if the backend side of it could actually fill in this role. Essentially exposing location&#x2F;mapping services to local applications.
vanousalmost 3 years ago
This is amazing, thank you very much! It is really tempting to spin up a small instance for hyper local maps.
评论 #32555488 未加载
karussellalmost 3 years ago
Thanks for this. I&#x27;m curious to know: why did you include two routing engines (OTP and valhalla)? Wouldn&#x27;t e.g. OTP sufficient and use much less resources compared to 2 setups?<p>And why not reuse one of the existing open source map or directions front-ends?
评论 #32566973 未加载
评论 #32561501 未加载
ygraalmost 3 years ago
A few things that I notice in the area where I&#x27;m somewhat active as an OSM contributor:<p>- You probably shouldn&#x27;t render guideposts or route markers on the map, or at least not with generic &quot;info&quot; icon.<p>- Things with access=private are likely not terribly relevant to people looking at the map. This will include things like parking spots or gardens.<p>- Lots of shots and amenities have icons, but doctors don&#x27;t. Neither do fire stations.<p>- Sports pitches are shown as nodes, but may be better shown as areas, since they often cover quite extensive swaths of ground that&#x27;s otherwise empty with just an icon in the middle. Same with playgrounds, schools, and kindergartens, gardens, and parks.<p>- For buildings and building parts, if you don&#x27;t make use of the parts in any way (such as showing roofs, height, etc.) perhaps just disregard the parts and only render the building outlines. This, combined with the fact that geometries seem to be simplified, even at the highest zoom levels, results in a bit of a mess of lines at times where some outlines are simplified differently from others that <i>should</i> actually share parts of the same edges and thus overlap perfectly. (e.g. <a href="https:&#x2F;&#x2F;maps.earth&#x2F;place&#x2F;openstreetmap%3Avenue%3Away%2F111206435" rel="nofollow">https:&#x2F;&#x2F;maps.earth&#x2F;place&#x2F;openstreetmap%3Avenue%3Away%2F11120...</a> or <a href="https:&#x2F;&#x2F;maps.earth&#x2F;place&#x2F;openstreetmap%3Avenue%3Away%2F111206435" rel="nofollow">https:&#x2F;&#x2F;maps.earth&#x2F;place&#x2F;openstreetmap%3Avenue%3Away%2F11120...</a>). Same thing with the geometry simplification also happens with adjacent geometry that should actually not have gaps (e.g. semidetached houses or garages next to houses). Lots of buildings that are actually rectangular also get quite weird angles.<p>- Tunnels are quite subtle. And while at least roads in tunnels don&#x27;t overlap buildings that are actually above them (like with Carto) it&#x27;s still hard to make out what&#x27;s above and what&#x27;s below in such cases (e.g. <a href="https:&#x2F;&#x2F;maps.earth&#x2F;place&#x2F;openstreetmap%3Astreet%3Apolyline%3A30081121" rel="nofollow">https:&#x2F;&#x2F;maps.earth&#x2F;place&#x2F;openstreetmap%3Astreet%3Apolyline%3...</a>). Culverts for waterways are handled better than roads in tunnels in this case.<p>Overall though, this seems like a quite nice map style. Closer to Google Maps in that it emphasizes roads, but some people like the less detailed look (and it works better with vector maps, I guess, to have fewer polygons to render).
评论 #32566870 未加载
murphyslabalmost 3 years ago
Works surprisingly well! One note for walking directions: It doesn&#x27;t seem to take elevation gain into account in choosing between alternate routes. Probably a not an easy thing to implement.
ragazzinaalmost 3 years ago
What language is it in?<p>In Italy, most of the cities have the Italian name, some of them have an English name (Florence, Naples), some have a German name (Triest). The behaviour is different than OSM, at least for me.
评论 #32567266 未加载
whittenalmost 3 years ago
Is there any support for non-earth maps ? Such as for a DnD campaign or a story set in Middle Earth ? Or even a war game on Earth but with different place names and countries borders names, etc ?
评论 #32559846 未加载
评论 #32558925 未加载
KoftaBobalmost 3 years ago
Awesome work!<p>What are your thoughts on the feasibility&#x2F;benefits of using a p2p system like IPFS to share OSM map&#x2F;tile data between users, rather than serving from one centralized server?
评论 #32557631 未加载
sandosalmost 3 years ago
Wow, it is fast! I could see it had my test-route drawn and ready before the scrolling animation to the start had even finished.
clementmasalmost 3 years ago
Is the data shared between vector tiles, geocoding and directions? Or is each feature pulling its data from a different index?
评论 #32560185 未加载
评论 #32565806 未加载
ajsnigrutinalmost 3 years ago
How much resources does something like this use? (full planet, few (&lt;10) users)? Disk, RAM, cpu cores?
评论 #32558029 未加载
koinedadalmost 3 years ago
Love the idea of freeing up map data
paxvincialmost 3 years ago
I have found an error in a street name. Where could I report it?
评论 #32565729 未加载
abhaysrivastavalmost 3 years ago
This looks so clean.
playingalongalmost 3 years ago
I like the fact it uses Earthly for building. Nice pun.
ElCheapoalmost 3 years ago
I just asked for directions from my home to the railway station and the navigator told me to enter a roundabout in the opposite direction :&#x2F;
评论 #32552980 未加载
antmanalmost 3 years ago
Is it a web app? A web service?
评论 #32558091 未加载
soheilalmost 3 years ago
Can you tell us what this even is before telling us how sorry you are that it’s not perfect?
评论 #32552988 未加载
DonnyValmost 3 years ago
Didn&#x27;t have my address in NJ.
评论 #32553244 未加载
throwayyy479087almost 3 years ago
A usable example would make this much more effective brochureware.
评论 #32555961 未加载