OSM - Tile usage policy

89 views
Skip to first unread message

!i!

unread,
Oct 30, 2011, 6:05:29 AM10/30/11
to Osmand
Hi folks.

first let me say, that I realy like OSMand, as it is a quite easy way
to access our material but:

During the past weeks the OSM had massive server problems, cause a lot
of Apps embedded our webmap. For that reason we had to block the most
popular applications [1] cause they simply violate our tiles usage
policy [2].
Now I did some visualisations/compare with the most current logs and
it turns out that OSMand is again under the Top 10 Apps.
http://www.openstreetmap.org/user/!i!/diary/15190

You know our project is about creating a free worldmap (so collecting
geoinformations) and not to deploy a full featured webmap directly for
everyone as Google Maps does. All our server infrastructure is
sponsored and administrated by just a few volunteers, so we have a
lack of every kind of resources to act as a big service.

So can you please use MapQuest or Cloudmade tiles instead or maybe
someone of you can setup an own map rendering stack?


[1] http://wiki.openstreetmap.org/wiki/Blocked_applications
[2] http://wiki.openstreetmap.org/wiki/Tile_usage_policy


bye
Matthias (user:!i!)

andre van atten

unread,
Oct 30, 2011, 7:23:41 AM10/30/11
to osm...@googlegroups.com

!Hi!

I understand the problem of overload of the servers, and there can thought about ideas to reduce this load, but there are some aspects to it I would like to mention.

1. You say OpenStreetmap is about collecting geoinformation and not about deploying it. So you mean it is for the creators and not for the users? However, that is conflicting with the mission of OSM. And it is also conflicting with the way OSM is profiling itself as a free map of the world to anyone. Why does OSM not have a restricted user login then, so you need an account, and this account can be tracked? Or a tile api with account which is needed to request tiles? If not doing so, everyone who uses OSM data considers it as free and for nothing.
2. Osmand does a very good job by REDUCING the load on tile servers, because it delivers vector based maps, which can be pre downloaded from the Google servers. So Osmand should be sponsored by OSM ;-), because Osmand is inventing new ways of OSM data distribution.
3. Why does OSM not deliver sqlite packages of tiles from a separate download server? Many apps can handle these, but everyone has to make its own packages. People use now batch downloading from app or from osmmapcreator, because they can't download them directly. Of course, Osmand can host these sqlite maps, but why should we solve OSM problems if OSM does not solve their own issues too?
4. OSM delivers data in a technically spoken very inefficient way. Either by using old fashioned very small tiles, which request enormous amount of server overhead in connections and caching and http overhead. The other option is xml , file based or xapi based, which takes too much space and time too, and is not for end users. There is no redistributable vector file format for end-users, others then OSM commercial partners deliver, like geofabrik (shp en protobuf) and cloudmade. I think OSM should be thinking about what their mission is, and how to renew and re-invent themselves.

In the mean time Osmand can think about some possible solutions:
1. Restrict the Osmand app in total MB or number of tiles to download. Or restrict tiles of levels 17 and higher.
2. Deliver sqlitedb packages of fixed areas of OSM data,like areas if 10 by 10 km, ready to download.
3. Additional deliver hillshade maps (tiles in sqlitedb format with labeled height contour lines and hillshading) or srtm vector maps with contourlines. Because Osmand can combine layers with opacity settings, they are very useful to reduce the load on hillshade servers Luke OSM cyclemap.

Andre

Op 30 okt. 2011 11:05 schreef "!i!" <thecore...@googlemail.com> het volgende:

Yves CAINAUD

unread,
Oct 30, 2011, 7:57:39 AM10/30/11
to osm...@googlegroups.com
While I can't disagree with Andre suggestions for Osm, it would be worth discussing them in Osm list, and help implementing solutions are certainly welcome at Osm.
All in all, Osm faces technical difficulties and ressource issues that needs to be solved, and apparently for this reason, Osm is data-oriented for a while now.
Clearly, tiles bulk download is *strongly discouraged*, and *forbidden* for zoom 17 and higher, and this for ages.

Yves


2011/10/30 andre van atten <andrev...@gmail.com>

!i!

unread,
Oct 30, 2011, 7:58:47 AM10/30/11
to Osmand
Hi Andre,

On 30 Okt., 12:23, andre van atten <andrevanat...@gmail.com> wrote:
> 1. You say OpenStreetmap is about collecting geoinformation and not about
> deploying it. So you mean it is for the creators and not for the users?
> However, that is conflicting with the mission of OSM. And it is also
> conflicting with the way OSM is profiling itself as a free map of the world
> to anyone. Why does OSM not have a restricted user login then, so you need
> an account, and this account can be tracked? Or a tile api with account
> which is needed to request tiles? If not doing so, everyone who uses OSM
> data considers it as free and for nothing.
Well this is my personal point of view, and like always in a open
project there is a bunch of spectrum of opinions on what is the
mission of OSM. The Tile usage policy says that you have to provide a
trackable usaer agent, but of course we are open and not willing to
say people, what not to do with our material ;) But naturaly there are
constrains by our infrastructure and we have to make sure that the
project itself can life (and so decouple it from the ecosystem around
it).

> 2. Osmand does a very good job by REDUCING the load on tile servers,
> because it delivers vector based maps, which can be pre downloaded from the
> Google servers. So Osmand should be sponsored by OSM ;-), because Osmand is
> inventing new ways of OSM data distribution.
I know this and so I'm a bit shoked about the dimensions of your
traffic. Are you sure, you fullfil the policy? (these aren't optinal
but enforced)

> 3. Why does OSM not deliver sqlite packages of tiles from a separate
> download server? Many apps can handle these, but everyone has to make its
> own packages. People use now batch downloading from app or from
> osmmapcreator, because they can't download them directly. Of course, Osmand
> can host these sqlite maps, but why should we solve OSM problems if OSM
> does not solve their own issues too?
As you know we provide the data dumps and techniques to keep them up
to date
http://wiki.openstreetmap.org/wiki/Planet.osm
I'm sure your idea is very welcome but there are so much different
applications (and types as rendering, routing, searching,...) that
have individual requirements and have only a few people involved in
Developing software (but so much users doing pretty cool mapping
actions :) )

> 4. OSM delivers data in a technically spoken very inefficient way. Either
> by using old fashioned very small tiles, which request enormous amount of
> server overhead in connections and caching and http overhead. The other
> option is xml , file based or xapi based, which takes too much space and
> time too, and is not for end users. There is no redistributable vector file
> format for end-users, others then OSM commercial partners deliver, like
> geofabrik (shp en protobuf) and cloudmade. I think OSM should be thinking
> about what their mission is, and how to renew and re-invent themselves.
I'm not sure if I understand your point. You know the planet files and
the toolchain around it?
Well in the german forums some people talking about a vector tile
services but I'm not sure how far they are currently...

>
> In the mean time Osmand can think about some possible solutions:
> 1. Restrict the Osmand app in total MB or number of tiles to download. Or
> restrict tiles of levels 17 and higher.
Great, just make sure you do it like requiret at the tile usage policy
> 2. Deliver sqlitedb packages of fixed areas of OSM data,like areas if 10 by
> 10 km, ready to download.
Cool, might get in contact with the germans as said.
> 3. Additional deliver hillshade maps (tiles in sqlitedb format with labeled
> height contour lines and hillshading) or srtm vector maps with
> contourlines. Because Osmand can combine layers with opacity settings, they
> are very useful to reduce the load on hillshade servers Luke OSM cyclemap.
BTW Did they agree on the use of their servers? Another idea might be
a central tile proxy, if you have servers that can do the job.
>
> Andre
> Op 30 okt. 2011 11:05 schreef "!i!" <thecoremaste...@googlemail.com> het

Jindřich Makovička

unread,
Oct 30, 2011, 8:04:18 AM10/30/11
to osm...@googlegroups.com
On Sun, Oct 30, 2011 at 12:23, andre van atten <andrev...@gmail.com> wrote:
> In the mean time Osmand can think about some possible solutions:
> 1. Restrict the Osmand app in total MB or number of tiles to download. Or
> restrict tiles of levels 17 and higher.
> 2. Deliver sqlitedb packages of fixed areas of OSM data,like areas if 10 by
> 10 km, ready to download.
> 3. Additional deliver hillshade maps (tiles in sqlitedb format with labeled
> height contour lines and hillshading) or srtm vector maps with contourlines.
> Because Osmand can combine layers with opacity settings, they are very
> useful to reduce the load on hillshade servers Luke OSM cyclemap.

How about changing the default map from OSM/Mapnik to CloudMade or MapQuest?

--
Jindrich Makovicka

Victor Shcherb

unread,
Oct 30, 2011, 8:25:28 AM10/30/11
to osm...@googlegroups.com
Hi All!

Actually it is possible to change default MapQuest or Cloudmade but I don't see it is a solution. In application you can change what default layer easily. Actually Osmand  mobile application doesn't  support obvious functionality of bunch upload (it is possible but I'm pretty sure small number of users does it) !!!

Unfortunately OsmAndMapCreator that is supposed to be bunch tile loader uses same Agent=Osmand. Better to change it soon :) Actually blocking OsmAndMapCreator will not have critical effect because user at home can easily change source provider.

What I can not understand why it is good point to block any application? If user prefer to use application "A" instead of Browser he will use it otherwise he goes to browser to see the map. I see point of bunch loader make server instable but I suggest different solution : 

I think it is rather easy to implement usage by IP and limits by IP  : 100 tiles -  1st min, 500 tiles - for 10 min, 2000 - for 60 min.



Best Regards,
Victor


2011/10/30 Jindřich Makovička <mako...@gmail.com>

andre van atten

unread,
Oct 30, 2011, 9:06:41 AM10/30/11
to osm...@googlegroups.com

Jindrich,

That has no advantage at all, because user can change his default map. Mine is always set to Osmand vector maps of course;-)
By the way, should we give Osmand a different name then?
CloudAnd or QuestAnd ;-) Maybe Cloudmade is willing to sponsor us on that, if we use their rendering scheme for Vector maps?? @Victor: why don't give it a try;-)

I think Osmand users should always be able to use OSM tiles in the normal way. The download area option in Osmand can be restricted to some megabytes, and exclude levels 17 and more. In case of OsmandMapCreator, it should get a different default user agent, that is showing good will. And maybe it is an idea to deliver standard areas if 10*10 sq km OSM tiles as sqlitedb packages. However, that means a lot of maintaining, we could make a bot for that, but then that bot should have its own user agent, and it should get 100% priority and should not work on peak hours, but night hours (what are OSM night hours anyway???)

Andre

Op 30 okt. 2011 13:04 schreef "Jindřich Makovička" <mako...@gmail.com> het volgende:

Jindřich Makovička

unread,
Oct 30, 2011, 9:32:48 AM10/30/11
to osm...@googlegroups.com
On Sun, Oct 30, 2011 at 14:06, andre van atten <andrev...@gmail.com> wrote:
> Jindrich,
>
> That has no advantage at all, because user can change his default map. Mine
> is always set to Osmand vector maps of course;-)

Sure, but a lot of users won't bother changing it, if the default is
good enough. I meant it as an addition to the above measures, not as a
complete solution.

--
Jindrich Makovicka

!i!

unread,
Oct 30, 2011, 9:57:28 AM10/30/11
to Osmand


On 30 Okt., 13:25, Victor Shcherb <victor.shch...@gmail.com> wrote:

> What I can not understand why it is good point to block any application? If
> user prefer to use application "A" instead of Browser he will use it
> otherwise he goes to browser to see the map. I see point of bunch loader
> make server instable but I suggest different solution :
>
> *I think it is rather easy to implement usage by IP and limits by IP  : 100
> tiles -  1st min, 500 tiles - for 10 min, 2000 - for 60 min.*

The problem was, that we got to much parallel connections that were
killing the network equipment of the universities that provide our
hosting (for free btw).
I'm not sure what the admins will do, I guess moderating IP filters is
a quite time consuming task, where we havent enough people that would
doing this job?

@All
Why do you think people wouldn't change over to MQ style, if you
explain the situation to them?

Jindřich Makovička

unread,
Oct 30, 2011, 10:12:25 AM10/30/11
to osm...@googlegroups.com
On Sun, Oct 30, 2011 at 14:57, !i! <thecore...@googlemail.com> wrote:
> @All
> Why do you think people wouldn't change over to MQ style, if you
> explain the situation to them?

On the first impression, in non-English speaking countries it's a
clear downgrade, because it strips down the accents/diacritics from
all names on the map.

CloudMade maps look pretty similar to OSM's Mapnik style though.

--
Jindrich Makovicka

andre van atten

unread,
Oct 30, 2011, 10:50:10 AM10/30/11
to osm...@googlegroups.com

Hi,

I think the parallel connections come from pc-based tile pre-downloaders which have options on how many connections are used for downloading. So it helps to work around all downloader apps and restrict them to use 1 connection voluntary. Dont know what Osmandmapcreator uses.
Another option is to configure the OSM  load balancer to use only one connectiion per IP address, if that is possible anyway depending on the type of load balancer, or internet server.

Andre

Op 30 okt. 2011 14:57 schreef "!i!" <thecore...@googlemail.com> het volgende:

Victor Shcherb

unread,
Oct 30, 2011, 11:53:01 AM10/30/11
to osm...@googlegroups.com
I think Load balancer would be rather good please post groups or emails with administrators we can contact. 
Actually I discussed with very initiative group of OSM mappers and probably they also can help establishing servers.

From my point of view we need to drive into instruction how to create tile server easily, with load balancer and what I see kind of torrent/P2P network. Anyway it should be solved now properly rather than blocking some applications :) I think we can reuse that solution for distributing binary .osm world map as well....

Best Regards,
Victor

2011/10/30 andre van atten <andrev...@gmail.com>

Hi,

Jindřich Makovička

unread,
Oct 30, 2011, 12:18:26 PM10/30/11
to osm...@googlegroups.com
Another option is Coral Cache, i.e. using
tile.openstreetmap.org.nyud.net instead. But it's slower and I am not
sure how much it would help the upstream servers.

--
Jindrich Makovicka

Yves

unread,
Oct 30, 2011, 1:55:23 PM10/30/11
to osm...@googlegroups.com
First thing to do is probably to change Osmandmapcreator user agent, bulk download retrieve many many more tiles than browsing the map.
I doubt that simple browsing is the real responsible for this traffic.
Yves
--
Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.


Victor Shcherb <victor....@gmail.com> a écrit :

andre van atten

unread,
Oct 30, 2011, 2:05:16 PM10/30/11
to osm...@googlegroups.com

Hi,

I agree.

Andre

Op 30 okt. 2011 19:00 schreef "Yves" <yve...@gmail.com> het volgende:

Pavol Zibrita

unread,
Oct 31, 2011, 6:17:27 AM10/31/11
to osm...@googlegroups.com
Or, OsmandMapCreator could be a tile server also. Downloading the planet file and having the Osmand's rendering engine inside :-).
Planet file can be updated using diffs. However, I don't know how big it is.....
However, this is only part of the problem, of course.

Regards
Pavol

andre van atten

unread,
Oct 31, 2011, 10:03:34 AM10/31/11
to osm...@googlegroups.com

Hi,

This idea matches with the idea of an pc application that is able to render maps in the same way Osmand does. So instead of running on Android it runs in plain java, so every machine windows, ubuntu, linux , 64bits, can run it. However, it doesn't need gps and navigation, unless one takes his whole laptop in the car (driving) or in the hand (hiking and biking) ;-)

However, I am not joking. It should render on the same obf files, so people can load the protobuf files from geofabrik to build their own obf files, or simply download them from the Google servers.

Our OSM friends would be very happy, and Osmand has the chance to become market leader in offline mapping, because the pc market will grow exponentially, and even more when OSM servers are getting more and more overloaded.

Well, all the traffic is then to the Google code servers to download the obf files, and sure they are willing to help us OSM guys !

@ Victor: make it a Contribution version and you can become rich. Can I have shares in Osmand ;-)?

Andre

Op 31 okt. 2011 11:17 schreef "Pavol Zibrita" <pavol....@gmail.com> het volgende:

Lukas Morlock

unread,
Oct 31, 2011, 8:24:10 PM10/31/11
to osm...@googlegroups.com
Hello,
our company has a running tileserver with minutely diffs covering central europe, if i could get some administrative help it would be able to be part of such a load-balancing network. please contact me if our help is needed for this superior application.
regards
lukas

Victor Shcherb

unread,
Nov 3, 2011, 5:58:45 AM11/3/11
to osmand
Hi All
Just FYI
For rendering on PC some of these programs can be used : http://wiki.openstreetmap.org/wiki/Rendering (Maperitive, ...)


Victor

2011/11/3 Lukas Morlock <mor...@frakt.de>
Andre,
yes python is ok as long as i dont have to write the script ;)
Everything thats able to run on debian5. I also made some tests regarding the connection limit, i would say we just test it (also single tiles) and limit if needed.

btw: osmand has now some VERY big fans in the philippines and their number will grow because of the nice detailled map coverage and a very poor net coverage on these islands.

Lukas

Am 11/2/2011 9:50 AM, schrieb andre van atten:

Great!

We are starting to create some cool solutions!
Concerning the script: it isn't there yet. Sqlite packages can now only be made with Osmandmapcreator. So these scripts should be made.Please read my answer to Victor in the thread "Offline hill shading" this morning.

Yves, I see you are very experienced in creating server side scripts. Could you look into it and give us some info about the feasibility of a python script? I suppose sqlite can be integrated in python with not too much effort?
Lukas, I suppose python is OK too?

Andre

Op 2 nov. 2011 02:45 schreef "Lukas Morlock" <mor...@frakt.de> het volgende:
Hi Andre

I will start to setup things at the beginnig of next week, first tiles of the entire planet will be available 2 weeks later. one thing that i need from you is a documentation or debian script that processes the single tiles to raster-packages.

Lukas



Am 11/1/2011 5:34 PM, schrieb andre van atten:

Lukas,

That looks great. I think for "the common OsmAnd user" a refreshment every 2 - 4 weeks is good enough. If the number of connections can become a problem,  I suggest you would not deliver separate tiles, because they use the most overhead on http, bandwidth, internet server and CPU.

Andre

2011/11/1 Lukas Morlock <mor...@frakt.de>
Hi Andre,

i need a little to calculate these tile-statistics, traffic would not be the problem, but maybe the number of connections would slow down other services that we need. So

besides of that, if you could be able to have bandwith for RASTER packages in sqlitedb format, we could start "caching" tiles in that "offline" format, which would be fantastic. Then some bot could create these packages from the original tiles, so they can be used directly by OSM users. We like to think about an option to download them from within OSmand app. Traffic would not be 5TB, we could start and see what it takes
lets start with this, do i understand right that you need the rendered tiles of a world map on our server and a script that generates those raster packages from them? as i mentioned its no problem to render and store the tiles, but its not possible to have the raw data updated to the minute or even week.

the server is able to download the complete planet every 2-4 weeks and import them in a fresh database, what takes these 2-4 weeks, so changes in osm-data made after that planet-download will show up 2-4 weeks later.






Reply all
Reply to author
Forward
0 new messages