Live data from Hacker News

Show HN: MapHub – A Google My Maps Alternative, Based on OpenStreetMap Data

maphub.net

51–60 of 83 posts

Re: Show HN: MapHub – A Google My Maps Alternative, Based on OpenStreetMap Data

#51

Is there a way to query OSM tags directly to build maps? For example, I do a bunch of mountain bike trail mapping, and due to judicious tagging I can pretty easily select all the assets I'd like in a map with a series of queries. Can I select ways using a query and have them become something I wish to call out?

It's not all shiny and integrated, but you can export a gpx or kml from Overpass Turbo:

http://overpass-turbo.eu/s/fly

(click 'Run' and then 'Export')

(I think there is a fair chance you are aware of it, posting for other readers too)

uMap mentioned elsewhere on this page has support for some formats output directly by Overpass API, which powers Overpass Turbo. Overpass Turbo has javascript for converting those formats to KML and GPX. So in uMap, you can generate a layer by pasting in the query, no need to push it through kml or gpx.

Re: Show HN: MapHub – A Google My Maps Alternative, Based on OpenStreetMap Data

#52

Is there a way to query OSM tags directly to build maps? For example, I do a bunch of mountain bike trail mapping, and due to judicious tagging I can pretty easily select all the assets I'd like in a map with a series of queries. Can I select ways using a query and have them become something I wish to call out?

Do you know overpass turbo [1]? You can use it to make a query over an area and export it to a GeoJSON file, which you can directly import to MapHub.

[1] https://overpass-turbo.eu/

Re: Show HN: MapHub – A Google My Maps Alternative, Based on OpenStreetMap Data

#53

Is there a way to query OSM tags directly to build maps? For example, I do a bunch of mountain bike trail mapping, and due to judicious tagging I can pretty easily select all the assets I'd like in a map with a series of queries. Can I select ways using a query and have them become something I wish to call out?

Do you know overpass turbo [1]? You can use it to make a query over an area and export it to a GeoJSON file, which you can directly import to MapHub. [1] https://overpass-turbo.eu/

I didn't until a few minutes ago... Sounds like this'll do what's needed. One thing I'm not clear on is if it updates as the OSM data changes?

Re: Show HN: MapHub – A Google My Maps Alternative, Based on OpenStreetMap Data

#54

Earlier quoted context omitted.

Do you know overpass turbo [1]? You can use it to make a query over an area and export it to a GeoJSON file, which you can directly import to MapHub. [1] https://overpass-turbo.eu/

I didn't until a few minutes ago... Sounds like this'll do what's needed. One thing I'm not clear on is if it updates as the OSM data changes?

No, it won't, unless you manually update it. I am working on making an API for developers, where you can create/update map data programmatically, so you will be able to do it in a cron job for example.

Re: Show HN: MapHub – A Google My Maps Alternative, Based on OpenStreetMap Data

#55

Earlier quoted context omitted.

Do you know overpass turbo [1]? You can use it to make a query over an area and export it to a GeoJSON file, which you can directly import to MapHub. [1] https://overpass-turbo.eu/

I didn't until a few minutes ago... Sounds like this'll do what's needed. One thing I'm not clear on is if it updates as the OSM data changes?

There are several instances of Overpass API that keep up to date with the main OSM database (usually seconds or a couple minutes behind).

Of course exported data will be from the time of export.

Re: Show HN: MapHub – A Google My Maps Alternative, Based on OpenStreetMap Data

#56

Earlier quoted context omitted.

I didn't until a few minutes ago... Sounds like this'll do what's needed. One thing I'm not clear on is if it updates as the OSM data changes?

No, it won't, unless you manually update it. I am working on making an API for developers, where you can create/update map data programmatically, so you will be able to do it in a cron job for example.

Thank you; that'd be cool if it would, but it'd definitely need to be optional... Don't want some rogue edits making your map suddenly look like crap.

Re: Show HN: MapHub – A Google My Maps Alternative, Based on OpenStreetMap Data

#57
post #47
post #13

Very interesting and good looking! Only a small comment: using images under Creative Commons licensing is not as simple as grabbing the image and using it as you please. Both your top [1] and bottom [2] images are licensed with the BY clause, meaning you must give appropriate credit. [1] https://www.planet.com/gallery/orange-river/ [2] https://www.flickr.com/photos/nasa2explore/21604970430

How did you figure that out?

I recognized the JAXA ship of the bottom image and it amused me for a bit that they chose a pic of a cargo ship instead of an imaging satellite.

Then it was a matter of reverse image search, usually public space images are CC-BY so I figured I should mention that so they don't get into trouble for something easily fixable.

Re: Show HN: MapHub – A Google My Maps Alternative, Based on OpenStreetMap Data

#59

just some feedback: I got stuck in the tutorial at "Give a title to your map." - it just sits there and won't go away (no next button). yes, I gave it a title.

I'm sorry that you are experiencing this bug. There should be a done button appearing once you enter any character. What browser / device are you using? Are you in the tutorial?

Re: Show HN: MapHub – A Google My Maps Alternative, Based on OpenStreetMap Data

#60
post #21

Earlier quoted context omitted.

Seems like a slap in the face to all of the OSM developers to use an entirely Free stack with a proprietary veneer on it. Particularly since the author does not appear to be meeting their burden under the OpenStreetMap license. "You are free to copy, distribute, transmit and adapt our data, as long as you credit OpenStreetMap and its contributors."[0] "We require that you use the credit “© OpenStreetMap contributors”…

Sorry, the "contributors" word was missing, I've updated the footers. On all the 3rd party maps I've used whatever was required in their guidelines.

You may want to check if you need `contributors` to the OSM part of the Thunderforest ones as well. Not sure if the requirements are different there or not.
Post reply on HN