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.

A new way to make maps with OpenStreetMap

508 pointsby hampelmabout 4 years ago

21 comments

tppiotrowskiabout 4 years ago
Super excited for your project. I have been using map tiles from Mapbox, MapTiler, OSM Buildings for my project and am coming to the point that I need to merge elevation data with building height data in order to cast realistic shadows across the earth. Unfortunately elevation data and building data come from two different tile sets from two different tile providers and it&#x27;s a lot of download&#x2F;processing overhead to merge the two data sources. I need to make my own tiles!<p>I spent part of today on the OSM wiki trying to wrap my head around Mapnik, how tiles are generated, how I am going to host this cheaply because my project is non-commercial, and then the HN gods smiled on me. Thank you for taking this on and I&#x27;m coming along for this journey!
评论 #26919501 未加载
评论 #26920518 未加载
评论 #26919646 未加载
评论 #26922132 未加载
mournerabout 4 years ago
This is very nice! Happy to see a few of my libraries in the dependencies :)<p>Also check out <a href="https:&#x2F;&#x2F;github.com&#x2F;kothic&#x2F;kothic-js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kothic&#x2F;kothic-js</a>, an older but similar attempt at making a full-fledged map renderer using 2D Canvas. It has a pretty good label rendering in particular which you might find useful.
评论 #26919066 未加载
评论 #26921137 未加载
c0nsumerabout 4 years ago
This is really interesting to me. I do a lot of mapping of natural surface single track trails (for hiking and mountain biking) along the way be sure to properly name things, add intersection markers, and create relations (routes and superroutes) to document the systems.<p>The biggest downside thus far is a good way of displaying the data. mtb.waymarkedtrails.org gets close, but I&#x27;d really like something that displays relations in the specified color, has sane intersection markers, etc.<p>I feel like there should be something out there which effectively lets me design a style sheet and then apply it to a map which I embed somewhere (maybe even in an app).<p>This... feels like it? Or if not this, can any of you recommend another system?<p>Ideally I&#x27;d love something I can self-host. I tried getting a copy of waymarkedtrails going and then modifying that, but it&#x27;s a bit too specialized and I kept running into quirks getting the toolchain set up.<p>EDIT: Looks like this might not include the highway=path data that I need, much relations. Alas.
评论 #26918841 未加载
评论 #26920645 未加载
评论 #26921658 未加载
jamesrr39about 4 years ago
Really interesting project&#x2F;product! It&#x27;s really nice to see new ways of rendering OSM data, and alternative map services.<p>I am developing another way to run your own map server (without mapnik!) from a low-end computer (<a href="https:&#x2F;&#x2F;github.com&#x2F;jamesrr39&#x2F;ownmap-app" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jamesrr39&#x2F;ownmap-app</a> in case you&#x27;re interested), but a little bit different to you in that I&#x27;m currently focusing on rendering raster tiles. I&#x27;m really happy I saw this thread, however, I hadn&#x27;t heard of the OSM Express, MBTiles or PMTiles formats before and was&#x2F;am rolling my own format, so it&#x27;s really interesting looking at some ideas from these.<p>Thanks again for sharing your project!
hardwaresoftonabout 4 years ago
Does anyone have a really good (maybe illustrated?) guide&#x2F;short reference to the world of GIS? Every time I see GIS stuff mentioned the problem space itself, solution jargon, and various movements in the ecosystem (projects being unsupported, stewards&#x2F;companies changing etc) always throws me for a loop.<p>It&#x27;s certainly the case that I just haven&#x27;t built enough mapping-related software to be comfortable but if there&#x27;s a resource out there that&#x27;s like &quot;baby&#x27;s first GIS application&quot; I&#x27;d love to read through it and try to ram the concepts into my gray matter again for the day when I do work on one.
评论 #26921129 未加载
评论 #26921332 未加载
评论 #26921532 未加载
评论 #26922439 未加载
pharmakomabout 4 years ago
Question that maybe HN can answer:<p>If I want to build a free open-source web application with a map view that can be annotated, works on mobile etc and uses Open Street Map data, what are the best options right now?
评论 #26923107 未加载
评论 #26923079 未加载
distalxabout 4 years ago
Also, there is this comprehensive resource available on OSM.<p><a href="https:&#x2F;&#x2F;switch2osm.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;switch2osm.org&#x2F;</a>
iandanforthabout 4 years ago
Very interesting, I&#x27;m currently using Google My Maps as a dead-simple custom mapping tool. I&#x27;m using it to collect layers of information as I conduct a nationwide housing search. It would be great if there were a solution that was as simple to get started with as My Maps but also had the flexibility to easily add custom data layers programmatically.
评论 #26919002 未加载
评论 #26918831 未加载
评论 #26919343 未加载
Tomteabout 4 years ago
&gt; Existing formats like MBTiles are based on SQLite. This limits the ability to self-host maps to those confident running a server in production.<p>Is that comical, or is there a deeper meaning I don&#x27;t understand?
评论 #26918974 未加载
评论 #26918329 未加载
评论 #26918695 未加载
评论 #26919448 未加载
评论 #26920250 未加载
评论 #26920228 未加载
评论 #26918317 未加载
hutch120about 4 years ago
@bdon Awesome! The geospatial industry is in need of simpler tooling for specific jobs such as generating tilesets.<p>Currently complex tools such as QGIS and GDAL do everything, but the learning curve is very steep.<p>An addon you might consider a feature to drop an image (and adjust it to fit) over the OSM data to generate a XYZ tilesets directly on the customer AWS S3 (or equivalent storage).<p>This might be a good way to monetise your offering... I know my customers would buy it.
motiejusabout 4 years ago
Is the author around?<p>Curiously, the editor does not render (well, it renders a black screen) in Firefox 78.9.0. I see this error in devtools:<p><pre><code> Uncaught SyntaxError: expected expression, got &#x27;=&#x27; protomaps.min.js:1:52669 On props update af913d4d.0fa8ea22.js:1:7975 ReferenceError: protomaps is not defined </code></pre> (Chromium is fine)
评论 #26923269 未加载
orraabout 4 years ago
On the off chance the author is still hanging around here:<p>Do you mean it when you say on the blog that OSMX is faster than a relational database? e.g. faster than PostGIS.<p>And I presume you mean because of the up front cost of conversion?
评论 #26925948 未加载
ed25519FUUUabout 4 years ago
What’s the easiest way to self-host OSM data to use like a offline google maps?
dvdkonabout 4 years ago
In the past I made a map of train lines in and around Prague, which required quite a complex stack, since the information I wanted was in relations. How does Protomaps deal with relations?
评论 #26926011 未加载
canada_dryabout 4 years ago
Got the demo up and running.<p>I&#x27;ve been using leaflet for my map tiling and it <i>just works</i>. The advantage of promomaps being offline is great.<p>So, now... how does one add their own POI&#x27;s, routes, polygons??
评论 #26921896 未加载
ambientlightabout 4 years ago
Congrats for getting to the front page, would be cool to read the story how you are building protomaps as an indie dev on indie hackers or somewhere.
评论 #26923540 未加载
Lammyabout 4 years ago
This looks like exactly what I was looking for as the base for a geolocation visualization of photo galleries on my Jekyll site. Thanks!
alwayshumansabout 4 years ago
You can already host vector tiles within S3 that work with Mapbox and other libraries.<p>Not really sure what problem this is trying to solve.
评论 #26920055 未加载
评论 #26920728 未加载
评论 #26919283 未加载
brunoqcabout 4 years ago
&gt; Pricing<p>&gt; coming soon...
评论 #26918734 未加载
hijklmnoabout 4 years ago
Rooting for this!
airswimmerabout 4 years ago
As it was said<p>&gt; &quot;In about five minutes, you can select any area in the world and get a self-contained map that runs locally, offline or serverlessly on S3 - check out the Getting Started guide.&quot;<p>5 mins? It took me a night to build the map system using openstreetmap in the original way