Re: [Wikitech-l] Announcing the launch of Maps

2015-09-18 Thread Tomasz Finc
Thanks Yongmin,

Operations will need to update the referrer in Varnish ERB. Similar to

https://gerrit.wikimedia.org/r/#/c/239279/

--tomasz

On Fri, Sep 18, 2015 at 8:00 PM, Yongmin Hong  wrote:

> Done at T113122, but why operations?
>
> --
> revi
> https://revi.me
> -- Sent from Android --
> 2015. 9. 19. 오전 9:27에 "Yuri Astrakhan" 님이 작성:
>
> > Please file a phabricator task, and add maps and operations on it
> > On Sep 19, 2015 3:21 AM, "Yongmin Hong"  wrote:
> >
> > > 2015. 9. 18. 오전 4:27에 "Tomasz Finc" 님이 작성:
> > > >
> > > > The Discovery Department has launched an experimental tile and static
> > > maps
> > > > service available at https://maps.wikimedia.org.
> > > >
> > > > Using this service you can browse and embed map tiles into your own
> > tools
> > > > using OpenStreetMap data. Currently, we handle traffic from *.wmflabs
> > > .org
> > > > and *.wikivoyage .org (referrer header must be either missing or set
> to
> > > > these values) but we would like to open it up to Wikipedia traffic if
> > we
> > > > see enough use. Our hope is that this service fits the needs of the
> > > > numerous maps developers and tool authors who have asked for a WMF
> > hosted
> > > > tile service with an initial focus on WikiVoyage.
> > >
> > > It is sad that incubator.wikimedia.org is not included. (Wikivoyages
> not
> > > ready for their own wikis resides on this domain under prefix Wy/**, so
> > > Korean one becomes [[Wy/ko]].)
> > >
> > > - snip -
> > >
> > > --
> > > revi
> > > https://revi.me
> > > -- Sent from Android --
> > > ___
> > > Wikitech-l mailing list
> > > Wikitech-l@lists.wikimedia.org
> > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Announcing the launch of Maps

2015-09-18 Thread Yongmin Hong
Done at T113122, but why operations?

--
revi
https://revi.me
-- Sent from Android --
2015. 9. 19. 오전 9:27에 "Yuri Astrakhan" 님이 작성:

> Please file a phabricator task, and add maps and operations on it
> On Sep 19, 2015 3:21 AM, "Yongmin Hong"  wrote:
>
> > 2015. 9. 18. 오전 4:27에 "Tomasz Finc" 님이 작성:
> > >
> > > The Discovery Department has launched an experimental tile and static
> > maps
> > > service available at https://maps.wikimedia.org.
> > >
> > > Using this service you can browse and embed map tiles into your own
> tools
> > > using OpenStreetMap data. Currently, we handle traffic from *.wmflabs
> > .org
> > > and *.wikivoyage .org (referrer header must be either missing or set to
> > > these values) but we would like to open it up to Wikipedia traffic if
> we
> > > see enough use. Our hope is that this service fits the needs of the
> > > numerous maps developers and tool authors who have asked for a WMF
> hosted
> > > tile service with an initial focus on WikiVoyage.
> >
> > It is sad that incubator.wikimedia.org is not included. (Wikivoyages not
> > ready for their own wikis resides on this domain under prefix Wy/**, so
> > Korean one becomes [[Wy/ko]].)
> >
> > - snip -
> >
> > --
> > revi
> > https://revi.me
> > -- Sent from Android --
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Announcing the launch of Maps

2015-09-18 Thread Yuri Astrakhan
Please file a phabricator task, and add maps and operations on it
On Sep 19, 2015 3:21 AM, "Yongmin Hong"  wrote:

> 2015. 9. 18. 오전 4:27에 "Tomasz Finc" 님이 작성:
> >
> > The Discovery Department has launched an experimental tile and static
> maps
> > service available at https://maps.wikimedia.org.
> >
> > Using this service you can browse and embed map tiles into your own tools
> > using OpenStreetMap data. Currently, we handle traffic from *.wmflabs
> .org
> > and *.wikivoyage .org (referrer header must be either missing or set to
> > these values) but we would like to open it up to Wikipedia traffic if we
> > see enough use. Our hope is that this service fits the needs of the
> > numerous maps developers and tool authors who have asked for a WMF hosted
> > tile service with an initial focus on WikiVoyage.
>
> It is sad that incubator.wikimedia.org is not included. (Wikivoyages not
> ready for their own wikis resides on this domain under prefix Wy/**, so
> Korean one becomes [[Wy/ko]].)
>
> - snip -
>
> --
> revi
> https://revi.me
> -- Sent from Android --
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Announcing the launch of Maps

2015-09-18 Thread Yongmin Hong
2015. 9. 18. 오전 4:27에 "Tomasz Finc" 님이 작성:
>
> The Discovery Department has launched an experimental tile and static maps
> service available at https://maps.wikimedia.org.
>
> Using this service you can browse and embed map tiles into your own tools
> using OpenStreetMap data. Currently, we handle traffic from *.wmflabs .org
> and *.wikivoyage .org (referrer header must be either missing or set to
> these values) but we would like to open it up to Wikipedia traffic if we
> see enough use. Our hope is that this service fits the needs of the
> numerous maps developers and tool authors who have asked for a WMF hosted
> tile service with an initial focus on WikiVoyage.

It is sad that incubator.wikimedia.org is not included. (Wikivoyages not
ready for their own wikis resides on this domain under prefix Wy/**, so
Korean one becomes [[Wy/ko]].)

- snip -

--
revi
https://revi.me
-- Sent from Android --
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Announcing the launch of Maps

2015-09-17 Thread Matthew Flaschen

On 09/17/2015 03:26 PM, Tomasz Finc wrote:

The Discovery Department has launched an experimental tile and static maps
service available at https://maps.wikimedia.org.


Congratulations to the whole team.  This is a huge deal, and will open 
up our projects to whole new kinds of media, editing, and interactivity.


Matt Flaschen


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Announcing the launch of Maps

2015-09-17 Thread Yuri Astrakhan
The bracketing was introduced to reduce the DDOS attack surface and
increase the cache hit ratio. This means that we could in theory do all the
magic of bracketing in the varnish (to keep the cache rate high), or we
could force the clients to do the logic.  The problem with Varnish approach
is that it puts business-level logic into Varnish's brittle C-style
configs.

On Thu, Sep 17, 2015 at 11:58 PM, Brion Vibber 
wrote:

> Awesome sauce! Congrats to everyone who's been working on this.
>
>
> On Thu, Sep 17, 2015 at 12:26 PM, Tomasz Finc  wrote:
>
> > == In Depth ==
> >
> > Tiles are served from https://maps.wikimedia.org, but can only be
> accessed
> > from any subdomains of *.wmflabs .org and *.wikivoyage.org.
> Kartotherian
> > can produce tiles as images (png), and as raw vector data (PBF Mapbox
> > format or json):
> >
> > .../{source}/{zoom}/{x}/{y}[@{scale}x].{format}
> >
>
> Just a note -- the scale factor is for high-density displays, which are now
> standard on most phones and increasingly common on laptops (1.5x is common
> on small Windows laptops with 1080p displays). However the available scale
> factors are hardcoded, so you can't just take an arbitrary device scale
> factor (window.devicePixelRatio in HTML5) and feed it in, as it might not
> match and you'll get HTTP errors out.
>
> I've got a provisional patch in for the example front-end which manually
> brackets to the available settings:
> https://github.com/kartotherian/kartotherian/pull/13
>
> It'd be awesome to either expose the available scaling factors as a list
> via JSON API, or move the bracketing logic into the server side so you can
> send a query with your actual scale factor and get back one that will work.
>
> (If available scaling factors depend on the layer source being viewed, this
> might be more complicated.)
>
>
> > We would like to thank WMF Ops (especially Alex Kosiaris, Brandon Black,
> > and Jaime Crespo), services team, OSM community and engineers, and the
> > Mapnik and Mapbox teams. The project would not have completed so fast
> > without you.
> >
>
> Seconded. :)
>
> -- brion
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Announcing the launch of Maps

2015-09-17 Thread Brion Vibber
Awesome sauce! Congrats to everyone who's been working on this.


On Thu, Sep 17, 2015 at 12:26 PM, Tomasz Finc  wrote:

> == In Depth ==
>
> Tiles are served from https://maps.wikimedia.org, but can only be accessed
> from any subdomains of *.wmflabs .org and *.wikivoyage.org.  Kartotherian
> can produce tiles as images (png), and as raw vector data (PBF Mapbox
> format or json):
>
> .../{source}/{zoom}/{x}/{y}[@{scale}x].{format}
>

Just a note -- the scale factor is for high-density displays, which are now
standard on most phones and increasingly common on laptops (1.5x is common
on small Windows laptops with 1080p displays). However the available scale
factors are hardcoded, so you can't just take an arbitrary device scale
factor (window.devicePixelRatio in HTML5) and feed it in, as it might not
match and you'll get HTTP errors out.

I've got a provisional patch in for the example front-end which manually
brackets to the available settings:
https://github.com/kartotherian/kartotherian/pull/13

It'd be awesome to either expose the available scaling factors as a list
via JSON API, or move the bracketing logic into the server side so you can
send a query with your actual scale factor and get back one that will work.

(If available scaling factors depend on the layer source being viewed, this
might be more complicated.)


> We would like to thank WMF Ops (especially Alex Kosiaris, Brandon Black,
> and Jaime Crespo), services team, OSM community and engineers, and the
> Mapnik and Mapbox teams. The project would not have completed so fast
> without you.
>

Seconded. :)

-- brion
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Announcing the launch of Maps

2015-09-17 Thread Yuri Astrakhan
The STYLE of the map is in https://github.com/kartotherian/osm-bright.tm2
which is a fork from https://github.com/mapbox/mapbox-studio-osm-bright.tm2
-- released by Mapbox under a 3 clause BSD license

(IANAL).

On Thu, Sep 17, 2015 at 11:21 PM, Max Semenik  wrote:

> The underlying data is ODbL which is properly attributed per OSM
> guidelines. The license for tiles themselves is a different issue, OSM
> decided to CC them, we're not claiming any additional copyright so far,
> until legal tells us in https://phabricator.wikimedia.org/T111224
>
> On Thu, Sep 17, 2015 at 12:40 PM, Ryan Kaldari 
> wrote:
>
> > What is the license for the map tiles, i.e. the cartography rather than
> the
> > data? Open Street Maps uses CC-BY-SA, although they don't really make it
> > clear who is supposed to be attributed. It looks like our tiles are
> > different though.
> >
> > On Thu, Sep 17, 2015 at 12:26 PM, Tomasz Finc 
> wrote:
> >
> > > The Discovery Department has launched an experimental tile and static
> > maps
> > > service available at https://maps.wikimedia.org.
> > >
> > > Using this service you can browse and embed map tiles into your own
> tools
> > > using OpenStreetMap data. Currently, we handle traffic from *.wmflabs
> > .org
> > > and *.wikivoyage .org (referrer header must be either missing or set to
> > > these values) but we would like to open it up to Wikipedia traffic if
> we
> > > see enough use. Our hope is that this service fits the needs of the
> > > numerous maps developers and tool authors who have asked for a WMF
> hosted
> > > tile service with an initial focus on WikiVoyage.
> > >
> > > We'd love for you to try our new service, experiment writing tools
> using
> > > our tiles, and giving us feedback <
> > > https://www.mediawiki.org/wiki/Talk:Maps> .
> > > If you've built a tool using OpenStreetMap-based imagery then using our
> > > service is a simple drop-in replacement.
> > >
> > > Getting started is as easy as
> > > https://www.mediawiki.org/wiki/Maps#Getting_Started
> > >
> > > How can you help?
> > >
> > > * Adapt your labs tool to use this service - for example, use Leaflet
> js
> > > library and point it to https://maps.wikimedia.org
> > > * File bugs in Phabricator
> > > 
> > > * Provide us feedback to help guide future features
> > > 
> > > * Improve our map style <
> https://github.com/kartotherian/osm-bright.tm2>
> > > * Improve our data extraction
> > > 
> > >
> > > Based on usage and your feedback, the Discovery team
> > >  will decide how to proceed.
> > >
> > > We could add more data sources (both vector and raster), work on
> > additional
> > > services such as static maps or geosearch, work on supporting all
> > > languages, switch to client-side WebGL rendering, etc. Please help us
> > > decide what is most important.
> > >
> > > https://www.mediawiki.org/wiki/Maps has more about the project and
> > related
> > > Maps work.
> > >
> > > == In Depth ==
> > >
> > > Tiles are served from https://maps.wikimedia.org, but can only be
> > accessed
> > > from any subdomains of *.wmflabs .org and *.wikivoyage.org.
> > Kartotherian
> > > can produce tiles as images (png), and as raw vector data (PBF Mapbox
> > > format or json):
> > >
> > > .../{source}/{zoom}/{x}/{y}[@{scale}x].{format}
> > >
> > > Additionally, Kartotherian can produce snapshot (static) images of any
> > > location, scaling, and zoom level with
> > >
> > > .../{source},{zoom},{lat},{lon},{width}x{height}[@{scale}x].{format}.
> > >
> > > For example, to get an image centered at 42,-3.14, at zoom level 4,
> size
> > > 800x600, use
> > > https://maps.wikimedia.org/img/osm-intl,4,42,-3.14,800x600.png
> > > (copy/paste the link, or else it might not work due to referrer
> > > restriction).
> > >
> > > Do note that the static feature is highly experimental right now.
> > >
> > > We would like to thank WMF Ops (especially Alex Kosiaris, Brandon
> Black,
> > > and Jaime Crespo), services team, OSM community and engineers, and the
> > > Mapnik and Mapbox teams. The project would not have completed so fast
> > > without you.
> > >
> > > Thank You
> > >
> > > --tomasz
> > > ___
> > > Wikitech-l mailing list
> > > Wikitech-l@lists.wikimedia.org
> > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> >
>
>
>
> --
> Best regards,
> Max Semenik ([[User:MaxSem]])
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>

Re: [Wikitech-l] Announcing the launch of Maps

2015-09-17 Thread Max Semenik
The underlying data is ODbL which is properly attributed per OSM
guidelines. The license for tiles themselves is a different issue, OSM
decided to CC them, we're not claiming any additional copyright so far,
until legal tells us in https://phabricator.wikimedia.org/T111224

On Thu, Sep 17, 2015 at 12:40 PM, Ryan Kaldari 
wrote:

> What is the license for the map tiles, i.e. the cartography rather than the
> data? Open Street Maps uses CC-BY-SA, although they don't really make it
> clear who is supposed to be attributed. It looks like our tiles are
> different though.
>
> On Thu, Sep 17, 2015 at 12:26 PM, Tomasz Finc  wrote:
>
> > The Discovery Department has launched an experimental tile and static
> maps
> > service available at https://maps.wikimedia.org.
> >
> > Using this service you can browse and embed map tiles into your own tools
> > using OpenStreetMap data. Currently, we handle traffic from *.wmflabs
> .org
> > and *.wikivoyage .org (referrer header must be either missing or set to
> > these values) but we would like to open it up to Wikipedia traffic if we
> > see enough use. Our hope is that this service fits the needs of the
> > numerous maps developers and tool authors who have asked for a WMF hosted
> > tile service with an initial focus on WikiVoyage.
> >
> > We'd love for you to try our new service, experiment writing tools using
> > our tiles, and giving us feedback <
> > https://www.mediawiki.org/wiki/Talk:Maps> .
> > If you've built a tool using OpenStreetMap-based imagery then using our
> > service is a simple drop-in replacement.
> >
> > Getting started is as easy as
> > https://www.mediawiki.org/wiki/Maps#Getting_Started
> >
> > How can you help?
> >
> > * Adapt your labs tool to use this service - for example, use Leaflet js
> > library and point it to https://maps.wikimedia.org
> > * File bugs in Phabricator
> > 
> > * Provide us feedback to help guide future features
> > 
> > * Improve our map style 
> > * Improve our data extraction
> > 
> >
> > Based on usage and your feedback, the Discovery team
> >  will decide how to proceed.
> >
> > We could add more data sources (both vector and raster), work on
> additional
> > services such as static maps or geosearch, work on supporting all
> > languages, switch to client-side WebGL rendering, etc. Please help us
> > decide what is most important.
> >
> > https://www.mediawiki.org/wiki/Maps has more about the project and
> related
> > Maps work.
> >
> > == In Depth ==
> >
> > Tiles are served from https://maps.wikimedia.org, but can only be
> accessed
> > from any subdomains of *.wmflabs .org and *.wikivoyage.org.
> Kartotherian
> > can produce tiles as images (png), and as raw vector data (PBF Mapbox
> > format or json):
> >
> > .../{source}/{zoom}/{x}/{y}[@{scale}x].{format}
> >
> > Additionally, Kartotherian can produce snapshot (static) images of any
> > location, scaling, and zoom level with
> >
> > .../{source},{zoom},{lat},{lon},{width}x{height}[@{scale}x].{format}.
> >
> > For example, to get an image centered at 42,-3.14, at zoom level 4, size
> > 800x600, use
> > https://maps.wikimedia.org/img/osm-intl,4,42,-3.14,800x600.png
> > (copy/paste the link, or else it might not work due to referrer
> > restriction).
> >
> > Do note that the static feature is highly experimental right now.
> >
> > We would like to thank WMF Ops (especially Alex Kosiaris, Brandon Black,
> > and Jaime Crespo), services team, OSM community and engineers, and the
> > Mapnik and Mapbox teams. The project would not have completed so fast
> > without you.
> >
> > Thank You
> >
> > --tomasz
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>



-- 
Best regards,
Max Semenik ([[User:MaxSem]])
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Announcing the launch of Maps

2015-09-17 Thread Ryan Kaldari
ODbL (which is the license for the data) doesn't require any particular
license for maps produced from ODbL data. (And in the U.S. data isn't
copyrightable anyway.) There is a copyright on the style and presentation
of the tiles which is separate from any copyright on the data. This
copyright belongs to whoever created the styles for the tiles (or their
employer). Unless whoever that is explicitly puts it under a license, the
style of the tiles is fully copyrighted (in the U.S. at least).

On Thu, Sep 17, 2015 at 1:00 PM, Tyler Romeo  wrote:

> I feel like there's an argument to be made that the images are a derived
> work from the data itself, so it may be best to just stick with OSM's
> license rather than run into any possible issues. (Also, of course, I am
> biased and prefer copyleft licenses since they support free information.)
>
>
> *-- *
> *Tyler Romeo*
> Stevens Institute of Technology, Class of 2016
> Major in Computer Science
>
> On Thu, Sep 17, 2015 at 3:49 PM, Ryan Kaldari 
> wrote:
>
> > And in case that isn't decided, I would suggest CC0 so that we don't have
> > to link to a big explanation from each tile rendering :)
> >
> > On Thu, Sep 17, 2015 at 12:40 PM, Ryan Kaldari 
> > wrote:
> >
> > > What is the license for the map tiles, i.e. the cartography rather than
> > > the data? Open Street Maps uses CC-BY-SA, although they don't really
> make
> > > it clear who is supposed to be attributed. It looks like our tiles are
> > > different though.
> > >
> > > On Thu, Sep 17, 2015 at 12:26 PM, Tomasz Finc 
> > wrote:
> > >
> > >> The Discovery Department has launched an experimental tile and static
> > maps
> > >> service available at https://maps.wikimedia.org.
> > >>
> > >> Using this service you can browse and embed map tiles into your own
> > tools
> > >> using OpenStreetMap data. Currently, we handle traffic from *.wmflabs
> > .org
> > >> and *.wikivoyage .org (referrer header must be either missing or set
> to
> > >> these values) but we would like to open it up to Wikipedia traffic if
> we
> > >> see enough use. Our hope is that this service fits the needs of the
> > >> numerous maps developers and tool authors who have asked for a WMF
> > hosted
> > >> tile service with an initial focus on WikiVoyage.
> > >>
> > >> We'd love for you to try our new service, experiment writing tools
> using
> > >> our tiles, and giving us feedback <
> > >> https://www.mediawiki.org/wiki/Talk:Maps> .
> > >> If you've built a tool using OpenStreetMap-based imagery then using
> our
> > >> service is a simple drop-in replacement.
> > >>
> > >> Getting started is as easy as
> > >> https://www.mediawiki.org/wiki/Maps#Getting_Started
> > >>
> > >> How can you help?
> > >>
> > >> * Adapt your labs tool to use this service - for example, use Leaflet
> js
> > >> library and point it to https://maps.wikimedia.org
> > >> * File bugs in Phabricator
> > >> 
> > >> * Provide us feedback to help guide future features
> > >> 
> > >> * Improve our map style <
> https://github.com/kartotherian/osm-bright.tm2
> > >
> > >> * Improve our data extraction
> > >> 
> > >>
> > >> Based on usage and your feedback, the Discovery team
> > >>  will decide how to
> proceed.
> > >>
> > >> We could add more data sources (both vector and raster), work on
> > >> additional
> > >> services such as static maps or geosearch, work on supporting all
> > >> languages, switch to client-side WebGL rendering, etc. Please help us
> > >> decide what is most important.
> > >>
> > >> https://www.mediawiki.org/wiki/Maps has more about the project and
> > >> related
> > >> Maps work.
> > >>
> > >> == In Depth ==
> > >>
> > >> Tiles are served from https://maps.wikimedia.org, but can only be
> > >> accessed
> > >> from any subdomains of *.wmflabs .org and *.wikivoyage.org.
> > Kartotherian
> > >> can produce tiles as images (png), and as raw vector data (PBF Mapbox
> > >> format or json):
> > >>
> > >> .../{source}/{zoom}/{x}/{y}[@{scale}x].{format}
> > >>
> > >> Additionally, Kartotherian can produce snapshot (static) images of any
> > >> location, scaling, and zoom level with
> > >>
> > >> .../{source},{zoom},{lat},{lon},{width}x{height}[@{scale}x].{format}.
> > >>
> > >> For example, to get an image centered at 42,-3.14, at zoom level 4,
> size
> > >> 800x600, use
> > >> https://maps.wikimedia.org/img/osm-intl,4,42,-3.14,800x600.png
> > >> (copy/paste the link, or else it might not work due to referrer
> > >> restriction).
> > >>
> > >> Do note that the static feature is highly experimental right now.
> > >>
> > >> We would like to thank WMF Ops (especially Alex Kosiaris, Brandon
> Black,
> > >> and Jaime Crespo), services team, OSM community and engineers, and the
> > >> Mapnik and Mapbox teams. The project would not have completed so fast
> > >> without y

Re: [Wikitech-l] Announcing the launch of Maps

2015-09-17 Thread Oliver Keyes
While the presentation of data can be copyrighted within the United
States, and database rights permit the pseudo-copyrighting of data
within the European Union, our core servers are hosted within the
United States - a jurisdiction where data /itself/ cannot be
copyrighted. Our license does not have to derive from OSM.

I agree with Ryan that CC-0 is the best approach here.

On 17 September 2015 at 16:00, Tyler Romeo  wrote:
> I feel like there's an argument to be made that the images are a derived
> work from the data itself, so it may be best to just stick with OSM's
> license rather than run into any possible issues. (Also, of course, I am
> biased and prefer copyleft licenses since they support free information.)
>
>
> *-- *
> *Tyler Romeo*
> Stevens Institute of Technology, Class of 2016
> Major in Computer Science
>
> On Thu, Sep 17, 2015 at 3:49 PM, Ryan Kaldari 
> wrote:
>
>> And in case that isn't decided, I would suggest CC0 so that we don't have
>> to link to a big explanation from each tile rendering :)
>>
>> On Thu, Sep 17, 2015 at 12:40 PM, Ryan Kaldari 
>> wrote:
>>
>> > What is the license for the map tiles, i.e. the cartography rather than
>> > the data? Open Street Maps uses CC-BY-SA, although they don't really make
>> > it clear who is supposed to be attributed. It looks like our tiles are
>> > different though.
>> >
>> > On Thu, Sep 17, 2015 at 12:26 PM, Tomasz Finc 
>> wrote:
>> >
>> >> The Discovery Department has launched an experimental tile and static
>> maps
>> >> service available at https://maps.wikimedia.org.
>> >>
>> >> Using this service you can browse and embed map tiles into your own
>> tools
>> >> using OpenStreetMap data. Currently, we handle traffic from *.wmflabs
>> .org
>> >> and *.wikivoyage .org (referrer header must be either missing or set to
>> >> these values) but we would like to open it up to Wikipedia traffic if we
>> >> see enough use. Our hope is that this service fits the needs of the
>> >> numerous maps developers and tool authors who have asked for a WMF
>> hosted
>> >> tile service with an initial focus on WikiVoyage.
>> >>
>> >> We'd love for you to try our new service, experiment writing tools using
>> >> our tiles, and giving us feedback <
>> >> https://www.mediawiki.org/wiki/Talk:Maps> .
>> >> If you've built a tool using OpenStreetMap-based imagery then using our
>> >> service is a simple drop-in replacement.
>> >>
>> >> Getting started is as easy as
>> >> https://www.mediawiki.org/wiki/Maps#Getting_Started
>> >>
>> >> How can you help?
>> >>
>> >> * Adapt your labs tool to use this service - for example, use Leaflet js
>> >> library and point it to https://maps.wikimedia.org
>> >> * File bugs in Phabricator
>> >> 
>> >> * Provide us feedback to help guide future features
>> >> 
>> >> * Improve our map style > >
>> >> * Improve our data extraction
>> >> 
>> >>
>> >> Based on usage and your feedback, the Discovery team
>> >>  will decide how to proceed.
>> >>
>> >> We could add more data sources (both vector and raster), work on
>> >> additional
>> >> services such as static maps or geosearch, work on supporting all
>> >> languages, switch to client-side WebGL rendering, etc. Please help us
>> >> decide what is most important.
>> >>
>> >> https://www.mediawiki.org/wiki/Maps has more about the project and
>> >> related
>> >> Maps work.
>> >>
>> >> == In Depth ==
>> >>
>> >> Tiles are served from https://maps.wikimedia.org, but can only be
>> >> accessed
>> >> from any subdomains of *.wmflabs .org and *.wikivoyage.org.
>> Kartotherian
>> >> can produce tiles as images (png), and as raw vector data (PBF Mapbox
>> >> format or json):
>> >>
>> >> .../{source}/{zoom}/{x}/{y}[@{scale}x].{format}
>> >>
>> >> Additionally, Kartotherian can produce snapshot (static) images of any
>> >> location, scaling, and zoom level with
>> >>
>> >> .../{source},{zoom},{lat},{lon},{width}x{height}[@{scale}x].{format}.
>> >>
>> >> For example, to get an image centered at 42,-3.14, at zoom level 4, size
>> >> 800x600, use
>> >> https://maps.wikimedia.org/img/osm-intl,4,42,-3.14,800x600.png
>> >> (copy/paste the link, or else it might not work due to referrer
>> >> restriction).
>> >>
>> >> Do note that the static feature is highly experimental right now.
>> >>
>> >> We would like to thank WMF Ops (especially Alex Kosiaris, Brandon Black,
>> >> and Jaime Crespo), services team, OSM community and engineers, and the
>> >> Mapnik and Mapbox teams. The project would not have completed so fast
>> >> without you.
>> >>
>> >> Thank You
>> >>
>> >> --tomasz
>> >> ___
>> >> Wikitech-l mailing list
>> >> Wikitech-l@lists.wikimedia.org
>> >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>> 

Re: [Wikitech-l] Announcing the launch of Maps

2015-09-17 Thread Tyler Romeo
I feel like there's an argument to be made that the images are a derived
work from the data itself, so it may be best to just stick with OSM's
license rather than run into any possible issues. (Also, of course, I am
biased and prefer copyleft licenses since they support free information.)


*-- *
*Tyler Romeo*
Stevens Institute of Technology, Class of 2016
Major in Computer Science

On Thu, Sep 17, 2015 at 3:49 PM, Ryan Kaldari 
wrote:

> And in case that isn't decided, I would suggest CC0 so that we don't have
> to link to a big explanation from each tile rendering :)
>
> On Thu, Sep 17, 2015 at 12:40 PM, Ryan Kaldari 
> wrote:
>
> > What is the license for the map tiles, i.e. the cartography rather than
> > the data? Open Street Maps uses CC-BY-SA, although they don't really make
> > it clear who is supposed to be attributed. It looks like our tiles are
> > different though.
> >
> > On Thu, Sep 17, 2015 at 12:26 PM, Tomasz Finc 
> wrote:
> >
> >> The Discovery Department has launched an experimental tile and static
> maps
> >> service available at https://maps.wikimedia.org.
> >>
> >> Using this service you can browse and embed map tiles into your own
> tools
> >> using OpenStreetMap data. Currently, we handle traffic from *.wmflabs
> .org
> >> and *.wikivoyage .org (referrer header must be either missing or set to
> >> these values) but we would like to open it up to Wikipedia traffic if we
> >> see enough use. Our hope is that this service fits the needs of the
> >> numerous maps developers and tool authors who have asked for a WMF
> hosted
> >> tile service with an initial focus on WikiVoyage.
> >>
> >> We'd love for you to try our new service, experiment writing tools using
> >> our tiles, and giving us feedback <
> >> https://www.mediawiki.org/wiki/Talk:Maps> .
> >> If you've built a tool using OpenStreetMap-based imagery then using our
> >> service is a simple drop-in replacement.
> >>
> >> Getting started is as easy as
> >> https://www.mediawiki.org/wiki/Maps#Getting_Started
> >>
> >> How can you help?
> >>
> >> * Adapt your labs tool to use this service - for example, use Leaflet js
> >> library and point it to https://maps.wikimedia.org
> >> * File bugs in Phabricator
> >> 
> >> * Provide us feedback to help guide future features
> >> 
> >> * Improve our map style  >
> >> * Improve our data extraction
> >> 
> >>
> >> Based on usage and your feedback, the Discovery team
> >>  will decide how to proceed.
> >>
> >> We could add more data sources (both vector and raster), work on
> >> additional
> >> services such as static maps or geosearch, work on supporting all
> >> languages, switch to client-side WebGL rendering, etc. Please help us
> >> decide what is most important.
> >>
> >> https://www.mediawiki.org/wiki/Maps has more about the project and
> >> related
> >> Maps work.
> >>
> >> == In Depth ==
> >>
> >> Tiles are served from https://maps.wikimedia.org, but can only be
> >> accessed
> >> from any subdomains of *.wmflabs .org and *.wikivoyage.org.
> Kartotherian
> >> can produce tiles as images (png), and as raw vector data (PBF Mapbox
> >> format or json):
> >>
> >> .../{source}/{zoom}/{x}/{y}[@{scale}x].{format}
> >>
> >> Additionally, Kartotherian can produce snapshot (static) images of any
> >> location, scaling, and zoom level with
> >>
> >> .../{source},{zoom},{lat},{lon},{width}x{height}[@{scale}x].{format}.
> >>
> >> For example, to get an image centered at 42,-3.14, at zoom level 4, size
> >> 800x600, use
> >> https://maps.wikimedia.org/img/osm-intl,4,42,-3.14,800x600.png
> >> (copy/paste the link, or else it might not work due to referrer
> >> restriction).
> >>
> >> Do note that the static feature is highly experimental right now.
> >>
> >> We would like to thank WMF Ops (especially Alex Kosiaris, Brandon Black,
> >> and Jaime Crespo), services team, OSM community and engineers, and the
> >> Mapnik and Mapbox teams. The project would not have completed so fast
> >> without you.
> >>
> >> Thank You
> >>
> >> --tomasz
> >> ___
> >> Wikitech-l mailing list
> >> Wikitech-l@lists.wikimedia.org
> >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> >
> >
> >
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Announcing the launch of Maps

2015-09-17 Thread Ryan Kaldari
And in case that isn't decided, I would suggest CC0 so that we don't have
to link to a big explanation from each tile rendering :)

On Thu, Sep 17, 2015 at 12:40 PM, Ryan Kaldari 
wrote:

> What is the license for the map tiles, i.e. the cartography rather than
> the data? Open Street Maps uses CC-BY-SA, although they don't really make
> it clear who is supposed to be attributed. It looks like our tiles are
> different though.
>
> On Thu, Sep 17, 2015 at 12:26 PM, Tomasz Finc  wrote:
>
>> The Discovery Department has launched an experimental tile and static maps
>> service available at https://maps.wikimedia.org.
>>
>> Using this service you can browse and embed map tiles into your own tools
>> using OpenStreetMap data. Currently, we handle traffic from *.wmflabs .org
>> and *.wikivoyage .org (referrer header must be either missing or set to
>> these values) but we would like to open it up to Wikipedia traffic if we
>> see enough use. Our hope is that this service fits the needs of the
>> numerous maps developers and tool authors who have asked for a WMF hosted
>> tile service with an initial focus on WikiVoyage.
>>
>> We'd love for you to try our new service, experiment writing tools using
>> our tiles, and giving us feedback <
>> https://www.mediawiki.org/wiki/Talk:Maps> .
>> If you've built a tool using OpenStreetMap-based imagery then using our
>> service is a simple drop-in replacement.
>>
>> Getting started is as easy as
>> https://www.mediawiki.org/wiki/Maps#Getting_Started
>>
>> How can you help?
>>
>> * Adapt your labs tool to use this service - for example, use Leaflet js
>> library and point it to https://maps.wikimedia.org
>> * File bugs in Phabricator
>> 
>> * Provide us feedback to help guide future features
>> 
>> * Improve our map style 
>> * Improve our data extraction
>> 
>>
>> Based on usage and your feedback, the Discovery team
>>  will decide how to proceed.
>>
>> We could add more data sources (both vector and raster), work on
>> additional
>> services such as static maps or geosearch, work on supporting all
>> languages, switch to client-side WebGL rendering, etc. Please help us
>> decide what is most important.
>>
>> https://www.mediawiki.org/wiki/Maps has more about the project and
>> related
>> Maps work.
>>
>> == In Depth ==
>>
>> Tiles are served from https://maps.wikimedia.org, but can only be
>> accessed
>> from any subdomains of *.wmflabs .org and *.wikivoyage.org.  Kartotherian
>> can produce tiles as images (png), and as raw vector data (PBF Mapbox
>> format or json):
>>
>> .../{source}/{zoom}/{x}/{y}[@{scale}x].{format}
>>
>> Additionally, Kartotherian can produce snapshot (static) images of any
>> location, scaling, and zoom level with
>>
>> .../{source},{zoom},{lat},{lon},{width}x{height}[@{scale}x].{format}.
>>
>> For example, to get an image centered at 42,-3.14, at zoom level 4, size
>> 800x600, use
>> https://maps.wikimedia.org/img/osm-intl,4,42,-3.14,800x600.png
>> (copy/paste the link, or else it might not work due to referrer
>> restriction).
>>
>> Do note that the static feature is highly experimental right now.
>>
>> We would like to thank WMF Ops (especially Alex Kosiaris, Brandon Black,
>> and Jaime Crespo), services team, OSM community and engineers, and the
>> Mapnik and Mapbox teams. The project would not have completed so fast
>> without you.
>>
>> Thank You
>>
>> --tomasz
>> ___
>> Wikitech-l mailing list
>> Wikitech-l@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
>
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Announcing the launch of Maps

2015-09-17 Thread Ryan Kaldari
What is the license for the map tiles, i.e. the cartography rather than the
data? Open Street Maps uses CC-BY-SA, although they don't really make it
clear who is supposed to be attributed. It looks like our tiles are
different though.

On Thu, Sep 17, 2015 at 12:26 PM, Tomasz Finc  wrote:

> The Discovery Department has launched an experimental tile and static maps
> service available at https://maps.wikimedia.org.
>
> Using this service you can browse and embed map tiles into your own tools
> using OpenStreetMap data. Currently, we handle traffic from *.wmflabs .org
> and *.wikivoyage .org (referrer header must be either missing or set to
> these values) but we would like to open it up to Wikipedia traffic if we
> see enough use. Our hope is that this service fits the needs of the
> numerous maps developers and tool authors who have asked for a WMF hosted
> tile service with an initial focus on WikiVoyage.
>
> We'd love for you to try our new service, experiment writing tools using
> our tiles, and giving us feedback <
> https://www.mediawiki.org/wiki/Talk:Maps> .
> If you've built a tool using OpenStreetMap-based imagery then using our
> service is a simple drop-in replacement.
>
> Getting started is as easy as
> https://www.mediawiki.org/wiki/Maps#Getting_Started
>
> How can you help?
>
> * Adapt your labs tool to use this service - for example, use Leaflet js
> library and point it to https://maps.wikimedia.org
> * File bugs in Phabricator
> 
> * Provide us feedback to help guide future features
> 
> * Improve our map style 
> * Improve our data extraction
> 
>
> Based on usage and your feedback, the Discovery team
>  will decide how to proceed.
>
> We could add more data sources (both vector and raster), work on additional
> services such as static maps or geosearch, work on supporting all
> languages, switch to client-side WebGL rendering, etc. Please help us
> decide what is most important.
>
> https://www.mediawiki.org/wiki/Maps has more about the project and related
> Maps work.
>
> == In Depth ==
>
> Tiles are served from https://maps.wikimedia.org, but can only be accessed
> from any subdomains of *.wmflabs .org and *.wikivoyage.org.  Kartotherian
> can produce tiles as images (png), and as raw vector data (PBF Mapbox
> format or json):
>
> .../{source}/{zoom}/{x}/{y}[@{scale}x].{format}
>
> Additionally, Kartotherian can produce snapshot (static) images of any
> location, scaling, and zoom level with
>
> .../{source},{zoom},{lat},{lon},{width}x{height}[@{scale}x].{format}.
>
> For example, to get an image centered at 42,-3.14, at zoom level 4, size
> 800x600, use
> https://maps.wikimedia.org/img/osm-intl,4,42,-3.14,800x600.png
> (copy/paste the link, or else it might not work due to referrer
> restriction).
>
> Do note that the static feature is highly experimental right now.
>
> We would like to thank WMF Ops (especially Alex Kosiaris, Brandon Black,
> and Jaime Crespo), services team, OSM community and engineers, and the
> Mapnik and Mapbox teams. The project would not have completed so fast
> without you.
>
> Thank You
>
> --tomasz
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Announcing the launch of Maps

2015-09-17 Thread Tomasz Finc
The Discovery Department has launched an experimental tile and static maps
service available at https://maps.wikimedia.org.

Using this service you can browse and embed map tiles into your own tools
using OpenStreetMap data. Currently, we handle traffic from *.wmflabs .org
and *.wikivoyage .org (referrer header must be either missing or set to
these values) but we would like to open it up to Wikipedia traffic if we
see enough use. Our hope is that this service fits the needs of the
numerous maps developers and tool authors who have asked for a WMF hosted
tile service with an initial focus on WikiVoyage.

We'd love for you to try our new service, experiment writing tools using
our tiles, and giving us feedback  .
If you've built a tool using OpenStreetMap-based imagery then using our
service is a simple drop-in replacement.

Getting started is as easy as
https://www.mediawiki.org/wiki/Maps#Getting_Started

How can you help?

* Adapt your labs tool to use this service - for example, use Leaflet js
library and point it to https://maps.wikimedia.org
* File bugs in Phabricator

* Provide us feedback to help guide future features

* Improve our map style 
* Improve our data extraction


Based on usage and your feedback, the Discovery team
 will decide how to proceed.

We could add more data sources (both vector and raster), work on additional
services such as static maps or geosearch, work on supporting all
languages, switch to client-side WebGL rendering, etc. Please help us
decide what is most important.

https://www.mediawiki.org/wiki/Maps has more about the project and related
Maps work.

== In Depth ==

Tiles are served from https://maps.wikimedia.org, but can only be accessed
from any subdomains of *.wmflabs .org and *.wikivoyage.org.  Kartotherian
can produce tiles as images (png), and as raw vector data (PBF Mapbox
format or json):

.../{source}/{zoom}/{x}/{y}[@{scale}x].{format}

Additionally, Kartotherian can produce snapshot (static) images of any
location, scaling, and zoom level with

.../{source},{zoom},{lat},{lon},{width}x{height}[@{scale}x].{format}.

For example, to get an image centered at 42,-3.14, at zoom level 4, size
800x600, use https://maps.wikimedia.org/img/osm-intl,4,42,-3.14,800x600.png
(copy/paste the link, or else it might not work due to referrer
restriction).

Do note that the static feature is highly experimental right now.

We would like to thank WMF Ops (especially Alex Kosiaris, Brandon Black,
and Jaime Crespo), services team, OSM community and engineers, and the
Mapnik and Mapbox teams. The project would not have completed so fast
without you.

Thank You

--tomasz
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l