On 8/4/14 12:09 PM, Felix Baumann wrote:
Hi Adrian,
*0) *It actually does contain copyright notices: Menu -> About
there's just not enough space in the map page
and as far as I know every Android app shows copyright notices on the
about page
and in any case: as you already stated, MozStumbler needs to contain
copyright notices.
Ah, hmm, that's probably *allowed* but frowned upon:
****************************************************************
http://www.openstreetmap.org/copyright
****************************************************************
....
How to credit OpenStreetMap
We require that you use the credit “© OpenStreetMap contributors”.
You must also make it clear that the data is available under the Open
Database License, and if using our map tiles, that the cartography is
licensed as CC BY-SA. You may do this by linking to this copyright page.
Alternatively, and as a requirement if you are distributing OSM in a
data form, you can name and link directly to the license(s). In media
where links are not possible (e.g. printed works), we suggest you direct
your readers to openstreetmap.org (perhaps by expanding 'OpenStreetMap'
to this full address), to opendatacommons.org, and if relevant, to
creativecommons.org.
For a browsable electronic map, the credit should appear in the corner
of the map.
....
****************************************************************
Note that last paragraph and see the page for an example; it is a
*should* so not strictly, legally required but... Also the link needs to
go to the page linked above *NOT* to www.openstreetmap.org and so
probably needs to be called (visible text) "OpenStreetMap" not www.open.....
*1) *Of course they can be reused.
Okay. So, unless I hear otherwise, I will presume that the data are (C)
OSM and the tiles are provided without any additional (c). Cool. Now to
figure out how to get some tiles...
NO. THIS IS WRONG. CORRECTED BELOW.
You can find the URL in the following file: MapActivity.java
<https://github.com/mozilla/MozStumbler/blob/master/src/org/mozilla/mozstumbler/client/mapview/MapActivity.java>
private static final String COVERAGE_REDIRECT_URL =
"https://location.services.mozilla.com/map.json";
it's just a redirect though since the tile URL might change in the future.
->you need to parse the JSON file to get the tiles url
current content of the json file:
{"tiles_url": "https://d17pt8qph6ncyq.cloudfront.net/tiles/"}
thanks, that is useful.
Oops, no, this is the low accuracy point cloud data. Interesting, but
not what I want; I'd forgotten about that layer.
https://d17pt8qph6ncyq.cloudfront.net/tiles/0/0/0.png
https://d17pt8qph6ncyq.cloudfront.net/tiles/13/2817/4944.png
The former is the whole world, the latter city center, Montevideo, Uruguay.
I don't think this is documented anywhere though
@hannosch are you planning to add a page to the API documentation about
this or is it listed elsewhere?
for the OSM map MozStumbler uses Mapbox as a provider (see about page)
****************************************************************
Proxying or redistributing maps served from Mapbox is prohibited. Maps
may be cached on consumer devices (laptops, smartphones, tablets) for
offline use, however, each device must populate its cache using direct
requests to Mapbox and content from a cache may only be consumed by a
single end-user. Further redistribution from a cache is prohibited.
Scraping or any mass download by a single user for purposes other than
offline caching is prohibited.
****************************************************************
SO UNFORTUNATELY YOUR ANSWER TO 1 DOES NOT SEEM TO BE CORRECT. WE CAN
NOT REUSE THE TILES FOR ANYTHING OTHER THAN A USER CACHE. Oh well, I'll
have to wait until I can build the downloading into the app to use any
of these tiles.
*2) *Yes, MozStumbler just uses an OSMDroid.jar file to render the map.
But I'm not too familiar with the implementation, so i cannot help you
there.
https://code.google.com/p/osmdroid/
https://github.com/osmdroid/osmdroid
or are you talking about Mapbox when you say service? -> take a look at
1) then
yep, thanks.
As far as I know you can use Mapbox for free (you need to create an
account) but I'm not familiar with the licenses.
https://www.mapbox.com/
https://www.mapbox.com/developers/
Okay, perhaps to be used at some future point. For now, I personally
need offline resources.
How does MozStumbler define its style for the street background layer?
It might be useful for stumbling apps to share a common map style for
some continuity across platforms. It may be that this does not work
design wise but it would be nice to have the style definition anyhow in
case it did.
If you need infos about the API take a look at the following page:
https://mozilla-ichnaea.readthedocs.org/en/latest/
In general you spend to much time on interpretating on facts that were
wrong :).
I am not sure which of my facts were *wrong*; I was asking several
questions about issues which were not yet facts for me. As background to
readers who don't know much about maps, or do not understand the
pedantic details of copyright law, or do not understand my proximate or
ulterior motives, I tried to give context to my questions.
Beyond that, as I scientist, I spend my entire life being wrong, at
varying, reasonably precisely defined levels of wrongness.
cheers,
~adrian
P.S. the word 'too', as in 'too much' has an extra 'o' in english, in
case that was not simply a typo.
_______________________________________________
dev-geolocation mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-geolocation