New OpenStreetMap tiles from Stamen: water color, black and white, terrain
maps.stamen.com
maps.stamen.com
The one thing I don't understand is who pays for hosting it. Once everyone uses OSM, won't it be prohibitively expensive for a non-profit to serve it? Maybe I'm wrong and it's not that much of an issue. Does anyone have an idea how much it costs Google to serve the Google Maps API? Wikipedia is in the same situation, and they solve it with their donation pleas. Maybe it would make sense if a fraction of our ISP bill automatically goes to the most visited non-profit websites. They offer kind of a public good to everyone, after all.
Yes. The problem is that Google has started charging now as well- at least, once you hit a certain threshold. They might have a deal available for non-profits, I'm not sure. It's certainly something I'd hope MapBox are working on, because non-profit mapping seems like a large (and worthwhile area).
No doubt, the bandwidth costs are expensive, though. I made my own custom map tiles (you can see a demo of them in use at http://www.taxono.my) and put them behind an Amazon CloudFront server, which makes it about as cheap as possible. But still, if my traffic gets huge, it could be an issue.
Have you tried Cloudflare?
Wikipedia says no, but that may be an outlier. IMO they should start internalizing costs (especially for embedded maps) now before they get out of control, perhaps by throttling access so that high-volume users are encouraged to mirror and serve the data themselves. Coral CDN has a similar strategy: you can use it for free, but only a certain amount.
There are plenty of big users of OSM based tiles that would easily take down the OSM servers, so they have to either host their own or use some third-party to do so (MapQuest is surprisingly popular here, since they have capacity to spare and they'll serve OSM tiles up to some limit before starting to charge).
"OpenStreetMap data is free for everyone to use. Our tile servers are not."
It's great for anyone that don't want to combine it with data they can't release, but for anyone that needs to mash it up with proprietary data, it's a non-starter by design. I think a lot of people don't realize this, as I've seen more than one company use OSM data in ways that either puts them in conflict with the license or will force them to open data they've previously been very protective of...
But as others have noted, most people will need to host themselves or pay someone to host it for them once they reach certain thresholds.
(disclosure: I've got an interest in a company in the GIS space that can't use OSM data exactly because of the license, so I do have a vested interest in it)
On the other hand, if you produce new data by processing OSM data or mixing it with your own, then you are constrained by the bounds of Openstreetmap's license.
.. such as the moment you provide a function to generate PDF versions of the maps, or any number of other features that end up mixing the data. So in effect you either accept severely limiting your features, or you use other sources of map data.
If that's correct then that's fantastic.
Given that it's contradictory to what used to be claimed, it still makes me concerned about touching it without having a lawyer going over the license in great detail, though...
Quote: "OSM does NOT pre-render every tile. Pre-rendering all tiles would use around 54000GB of storage. As the following table shows, the majority of tiles are never viewed. In fact just 1.79% are viewed."
Those figures are about a year old, though it does give a newer figure for space used which is about 1200TB or 2.7% of the total size estimated.
Two parts: OpenStreetMap, the website, aims mainly to be a database and a great editing interface. So the end result is mostly the data, which you can download in full ( http://planet.openstreetmap.org/ ). They have a few sponsors to handle the bandwidth required ( http://wiki.openstreetmap.org/wiki/Partners ), and a few meaty servers ( http://munin.openstreetmap.org/ ). There could always be more, and the base of partners could easily increase.
Part two is that _tiles_ and design are a different matter - OSM.org itself has low limits on the number of tiles you can use from their server before they start pushing you to use your own server or another service. MapBox is one of those services, and basically we handle a massive amount of work & bandwidth, and price out the service based on how much these things cost.
And a plea to HN folks: I am working on a project, and it will be great if someone can point me to a way to dynamically apply such a filter to vector derived solid color images.
I am thinking of running a GIMP server, but I find the plugins available limiting. I have very limited image processing experience, and this was not a major part of the product, so had put it on the backburner. I will have access to the edges/ vector images, so there is no need for accurate edge detection- but such organic edges would add a lot if there is a way to do it.
1. Smooth the vector shapes (I'm not sure exactly how they're doing this. A blur and cutoff perhaps?)
2. Use the smoothed shapes as a mask over repeating colored watercolor textures.
3. Composite the various layers
They also seem to be applying a shadow underneath land masses.
The other thing is the edges of the shape- they are darker and blend in the lighter body of the fill. I guess that works by inverting the shapes, blurring, and using that as a mask for a different more intense blend.
And in both cases, I see there is some cool randomness going on. I see how I may be able to handle it for the latter- through a texture etc., but not sure how to handle the randomness in shape creation.
Also, it would be great if someone can suggest a good library to implement this. I am currently using Processing to render the image, but it may not be the best way for these set of procedures. The other image processing libraries I found were not high level enough.
PS: I have a hunch that their textures are not monochromatic. They seem multicolored and they are probably varying the hues of a colored texture to manage different shades.
They use a texture for sea, another for land, and so on. If you look at the see you will see how the sea and land repeats itself. You will need to make a seamless texture that you can repeat ad infinitum. Those are made with filters on photoshop or GIMP, or you could crreate them using fractals(very difficult for it to feel like a realistic watercolor, that is the reason they did not used them).
I don't like GIMP for that, plugins had a very confusing syntax, I prefer ImageMagick or better I use my own programs. Using Photoshop you can do it "with your hand"(selecting a vector shape, grow it with border transition, apply texture, and repeat), record and then use the macro for all your vectors.
I would use an OpenCL or CUDA program, faster and way more control.
stamen's work is based on this with some approximations, eg skipping navier-stokes.
Also, your installation was a big relief from gradschool stress. And I enjoyed guessing the algorithms that went into different visuals, though I am sure I was mostly wrong, as I was here.
it's all one algorithm actually, just with different parameters: http://draves.org/npar06/
As someone in the digital mapping industry, I really wish we'd open our data up a bit more.
http://mike.teczno.com/notes/osm-us-terrain-layer.html
http://mike.teczno.com/notes/osm-us-terrain-layer/foreground...
Though those are US only, similar tech is available for worldwide maps.
Compare:
http://www.library.ethz.ch/exhibit/imhof/images/d1.1.jpg
http://hikebikemap.de/?zoom=9&lat=46.58402&lon=7.946...
http://hikebikemap.de/?zoom=9&lat=46.58402&lon=7.946...
The primary differences are choice of colorscheme and the fact that the OSM examples are targetted at screen DPI and the paper map was probably intended to be wall mounted.
That's not a limitation of OSM, you can target different resolutions and print to large paper too, it's just not as common. Here's an example:
http://wiki.openstreetmap.org/wiki/File:3274048625_815c60625...
The texture of the 'watercolour' option is very impressive, but (to be critical) I wonder about the usefulness of it without labels and with the fuzziness of roads (some stop then start again, some meld into others which actually don't meet).
I love the toner option though :) Fantastic!
And the terrain map is great too. Certaintly easier to get a grip on than the OSM cyclemap (contour lines).
Having the source styles for that style would be awesome. But maybe seeing the source for these I could get some ideas.
http://maps.stamen.com/toner/#17/49.19512/16.60929
(I guess I could just fork it and try to fix it, but I'm not sure how. I wish there was a tileset that wouldn't give so much prominence to the roads, but rather to the aspects that matter in the city. Important buildings and landmarks, foot-only pathways, public transit lines. Freeway is just an obstacle.)