News for hackers. Stuff that matters.
Re:How Mapbox Is Winning Over Developers to Challenge Google... by lukeqsee on Tuesday May 08, 2018 @12:28PM (#17022192)
There are more alternatives to Google & Mapbox that mostly use OpenStreetMap as a backing data source:

    https://openmaptiles.org (only map tiles)
    https://stadiamaps.com (map tiles, static maps & routing)
    https://www.thunderforest.com (only maps)
    https://geocoder.opencagedata.com (only geocoding)
    https://geocode.earth (only geocoding)
A laundry listing: https://switch2osm.org/providers/

Tile providers are very thankful for the excellent rendering libraries built by Mapbox, Mapzen, and the Leaflet project. Most maps either use Leaflet.js or MapBox GL JS (open source) for their rendering agent, now that Mapzen is defunct (although their rendering library, tangrams, is now open source).

(I am a co-founder of Stadia Maps.)

Re:How Mapbox Is Winning Over Developers to Challenge Google... by mwj on Tuesday May 08, 2018 @12:49PM (#17022410)
Hmmm I evaluated a lot of those (mainly OSM-based) geocoders recently. Unfortunately the quality of results is orders of magnitude worse than Google. The only ones that even came close were Mapbox, Mapquest and Here.
Re:How Mapbox Is Winning Over Developers to Challenge Google... by freyfogle on Tuesday May 08, 2018 @02:23PM (#17023332)
Hi,

co-founder of OpenCage here.

It depends heavily on what your use case is: forward or reverse, which part of the world, what level of granularity, etc. Google offers a great geocoding service, no doubt. But you also have to pay their price, and obey their terms and conditions. Their great service is overkill for many very common use cases, at least those that we see from our customers.

Anyone who wants to try us out, our demo page is here: https://geocoder.opencagedata.com/demo

Re:How Mapbox Is Winning Over Developers to Challenge Google... by andrei_says_ on Tuesday May 08, 2018 @05:59PM (#17025621)
I’m curious, how close? Would you consider mapbox instead of google maps? In what cases is it not close enough?
Re:How Mapbox Is Winning Over Developers to Challenge Google... by thecodemonkey on Wednesday May 09, 2018 @08:57AM (#17029408)
Just wanted to add another geocoding provider to the list https://geocod.io - founded about 4 years ago based on frustrations with Google’s terms and pricing.
Re:How Mapbox Is Winning Over Developers to Challenge Google... by plopz on Tuesday May 08, 2018 @02:04PM (#17023112)
Do you know of any tile service offering colored, shaded elevation reliefs? I've been trying to find something for our meteorologists to use and the best I've found is https://maps-for-free.com
Re:How Mapbox Is Winning Over Developers to Challenge Google... by EQmapbox on Tuesday May 08, 2018 @06:06PM (#17025686)
I recently wrote a guide (https://blog.mapbox.com/styling-mapbox-terrain-rgb-c75d1cd71...) about extruding the contour lines within the Mapbox Terrain vector tiles (https://www.mapbox.com/vector-tiles/mapbox-terrain/#contour) that could be helpful to you as soon as I update it to match our recently re-released Studio product.

Check out https://www.mapbox.com/help/access-elevation-data/ for more background and let us know @Mapbox if you have questions!

Note - I work at Mapbox

Re:How Mapbox Is Winning Over Developers to Challenge Google... by lukeqsee on Tuesday May 08, 2018 @02:08PM (#17023146)
> Do you know of any tile service offering colored, shaded elevation reliefs?

Does that imply variation in coloration based on elevation? (Just making sure I understand your question.) We have limited support for basic hillshading and are actively looking into contour lines. Coloration for various elevations is something we do not currently offer (nor am I aware of any other providers), but it is something we would be willing to investigate.

Depending on what precise application you need, this may be possible one the web using our normal vector maps and contour lines.

Re:How Mapbox Is Winning Over Developers to Challenge Google... by plopz on Tuesday May 08, 2018 @02:42PM (#17023530)
Yes, color for elevation and shading for slope.

Another use case that I've been searching for is a tile set not of images, but of just elevation data. So that I could implement something similar to google earth's lat/lng/elevation info wherever your mouse cursor is.

Re:How Mapbox Is Winning Over Developers to Challenge Google... by Const-me on Tuesday May 08, 2018 @02:52PM (#17023630)
You don't need a web service for that. The data is free, search for "SRTM" and download the continents you need.

https://en.wikipedia.org/wiki/Shuttle_Radar_Topography_Missi...

Re:How Mapbox Is Winning Over Developers to Challenge Google... by plopz on Tuesday May 08, 2018 @03:27PM (#17023984)
Sure but I have no expertise on how to take those files and turn them into a tiles that correspond with the same basemap image tiles. Also ideally the service would incorporate more than just SRTM, including for example the USGS high res DEM where available.
Re:How Mapbox Is Winning Over Developers to Challenge Google... by Const-me on Tuesday May 08, 2018 @04:12PM (#17024500)
> how to take those files and turn them into a tiles that correspond with the same basemap image tiles.

The format is very simple to make sense of. Each file is an array of 16 bit integer values in meters, and it maps 1x1 degrees areas. Each file contains 1201x1201 or 3601x3601 samples depending on resolution. The first/last row/columns of adjacent files overlap that’s why non-round numbers.

Both SRTM and tiles use Mercator projection, i.e. mapping them together is very simple, too. In the embedded software I’ve developed, I’ve layered SRTM-derived data on top of OSM tiles, worked quite well and wasn’t too hard to implement. Even though due to very slow target hardware (500MHz CPU, 256MB RAM, slow flash storage), I had to invent more optimized format for SRTM data (dense array of 32x32 tiles taking exactly 2kb/each, aligned by disk sector), and implement an offline converter.

> including for example the USGS high res DEM where available

I haven’t personally compared them, but before picking SRTM for that embedded GIS project I’ve read about them, and concluded SRTM is more reliable. Also the resolution is more or less the same, SRTM offers 25m horizontal resolution, that’s pretty high, IMO.

Re:How Mapbox Is Winning Over Developers to Challenge Google... by jsgo on Tuesday May 08, 2018 @03:52PM (#17024259)
Same boat, but does this help at all? https://wiki.openstreetmap.org/wiki/SRTM
Re:How Mapbox Is Winning Over Developers to Challenge Google... by traek on Tuesday May 08, 2018 @08:39PM (#17026591)
This is just what the comments you replied to were discussing
Re:How Mapbox Is Winning Over Developers to Challenge Google... by jsgo on Wednesday May 09, 2018 @11:23AM (#17030523)
You’re right, but seems to include implementations the user may be able to leverage? Specifically "In Use" and "Data in OSM format (XML)"
Re:How Mapbox Is Winning Over Developers to Challenge Google... by lukeqsee on Tuesday May 08, 2018 @03:56PM (#17024309)
We don’t have a current offering, but if you want, please email me at [email protected]. We’re actively investigating ways to integrate more datasets (such as elevation) and we would be happy to learn more about what you need.

If we can’t offer something, we’ll at least be able to point you in the right direction!

Re:How Mapbox Is Winning Over Developers to Challenge Google... by maxerickson on Tuesday May 08, 2018 @02:57PM (#17023680)
Have you evaluated SRTM (or some patched up derivative) for your latter use case?
Re:How Mapbox Is Winning Over Developers to Challenge Google... by plopz on Tuesday May 08, 2018 @03:33PM (#17024046)
Yeah, its unfortunately missing a lot of alaska. But the main problem is I have no idea how to reproject it into web-mercator and generate usable tiles from it.
Re:How Mapbox Is Winning Over Developers to Challenge Google... by andrewharvey on Tuesday May 08, 2018 @08:10PM (#17026460)
https://github.com/andrewharvey/srtm-stylesheets might help

(Full disclose I'm the author)

Re:How Mapbox Is Winning Over Developers to Challenge Google... by plopz on Wednesday May 09, 2018 @11:23AM (#17030517)
This looks awesome. Using those scripts I think I could actually do this myself.
Re:How Mapbox Is Winning Over Developers to Challenge Google... by aw3c2 on Tuesday May 08, 2018 @04:03PM (#17024385)
Give http://services.imagico.de/relief.php?lang=en a try.

Which zoom levels do you need? What coverage?

Re:How Mapbox Is Winning Over Developers to Challenge Google... by Doctor_Fegg on Wednesday May 09, 2018 @01:20AM (#17027557)
Try Thunderforest - relief is one of their specialities.
Re:How Mapbox Is Winning Over Developers to Challenge Google... by colordrops on Tuesday May 08, 2018 @11:57PM (#17027314)
Is there anyone providing free high-res satellite tiles?
Re:How Mapbox Is Winning Over Developers to Challenge Google... by klokantech on Friday May 11, 2018 @12:44PM (#17048800)
The team behind OpenMapTiles started to work on global satellite tiles too.

See https://openmaptiles.com/satellite/. Next step is merging in very detailed aerial photos for US and EU - often with 1m or 25cm/pixel resolution.

It is going to be available for both self-hosting and as part of the hosting platform https://tilehosting.com/

Re:How Mapbox Is Winning Over Developers to Challenge Google... by Piskvorrr on Wednesday May 09, 2018 @07:44AM (#17029062)
Depends on what your definition of "free" is - beer or liberty? There are some free-as-in-beer satellite providers, but none that are free-for-anything - e.g. ESRI is freely available for OpenStreetMap edits, but probably not for commercial use: https://wiki.openstreetmap.org/wiki/Esri
Re:How Mapbox Is Winning Over Developers to Challenge Google... by dejv on Wednesday May 09, 2018 @01:13AM (#17027537)
Simple answer is no. But it depends on what you consider high-res, ESA does provide live feed out of they one satelite snd you might use those for constructing your tiles, still it is nowhere close to off shelf solution.