Re: [OSM-talk] Proposal - automate rendering examples on OSM wiki

2015-04-07 Thread Martin Koppenhoefer
2015-04-04 19:08 GMT+02:00 Tobias Knerr o...@tobias-knerr.de:

 By the way, I'm in favour of allowing all OSM-based renderings to be
 featured, not just the default style. People already obsess too much
 about what is or isn't rendered by the default style imo.



+1
having a nice comparison of which rendering shows which selection of tags
also would enable users to easier find the rendering that most suits their
needs.

Cheers,
Martin
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Proposal - automate rendering examples on OSM wiki

2015-04-04 Thread Tobias Knerr
On 20.03.2015 22:19, Jochen Topf wrote:
 I think the important part is doing the rendering, deciding on zoom levels and
 all this. This is going to be some work and will need some time.

Wouldn't it make sense to leave that responsibility to the projects,
similar to the decentralized generation of files consumed by Taginfo for
the projects feature? If a project team wants the added exposure via the
wiki, they will put in the effort to do some automation.

By the way, I'm in favour of allowing all OSM-based renderings to be
featured, not just the default style. People already obsess too much
about what is or isn't rendered by the default style imo.

 As
 a first step I suggest you look at 
 https://wiki.openstreetmap.org/wiki/Taginfo/Projects
 and see whether your rendering can be brought into taginfo that way.

Taginfo already allows including an url for an icon-sized image with
each tag. What do you think about allowing another optional url for a
larger image? That wouldn't be limited to node features and could be
used in the wiki for rendering examples.

Tobias

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Proposal - automate rendering examples on OSM wiki

2015-03-25 Thread Minh Nguyen

On 2015-03-24 04:09, Mateusz Konieczny wrote:

Is there any kind of API enabled for OSM wiki allowing automated uploads
of files?


The OSM wiki can transclude images from Wikimedia Commons, which has a 
process for batch uploading images:


https://commons.wikimedia.org/wiki/Commons:Guide_to_batch_uploading

--
m...@nguyen.cincinnati.oh.us


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Proposal - automate rendering examples on OSM wiki

2015-03-25 Thread Jochen Topf
On Mi, Mär 25, 2015 at 02:06:06 -0700, Minh Nguyen wrote:
 On 2015-03-24 04:09, Mateusz Konieczny wrote:
 Is there any kind of API enabled for OSM wiki allowing automated uploads
 of files?
 
 The OSM wiki can transclude images from Wikimedia Commons, which has a
 process for batch uploading images:
 
 https://commons.wikimedia.org/wiki/Commons:Guide_to_batch_uploading

I don't think it is a good idea to upload rendering examples to Wikimedia
Commons...

Jochen
-- 
Jochen Topf  joc...@remote.org  http://www.jochentopf.com/  +49-173-7019282

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Proposal - automate rendering examples on OSM wiki

2015-03-25 Thread Jochen Topf
You misunderstand me. Wikimedia Commons is fine for nice photos that can
be used in the OSM project. It has been used for that for a long time.

But autogenerated images of rendering examples? That need to be updated every
time the rendering changes? Thats doesn't make sense to me. Wikis are good
for unstructured data, but your use case is structured data along at least
two axis (tag rendered and zoom level), probably more if you want to extend
it to different styles. I suggest you keep that data in structured form
somewhere and only link to it from the wiki, no need for automated uploads,
no need for re-uploading if something changes. As I mentioned it is taginfos
job to provide metadata around tags, so that might be a good place. But
really anything that can host files on the web is better than trying to
upload this to the wiki.

Jochen

On Mi, Mär 25, 2015 at 11:46:31 +0100, Mateusz Konieczny wrote:
 It may fit, OSM wiki qualifies as project that provide knowledge,
 instruction or information.
 
 http://commons.wikimedia.org/wiki/Commons:Project_scope/Summary#Must_be_realistically_useful_for_an_educational_purpose
 
 2015-03-25 10:54 GMT+01:00 Jochen Topf joc...@remote.org:
 
  On Mi, Mär 25, 2015 at 02:06:06 -0700, Minh Nguyen wrote:
   On 2015-03-24 04:09, Mateusz Konieczny wrote:
   Is there any kind of API enabled for OSM wiki allowing automated uploads
   of files?
  
   The OSM wiki can transclude images from Wikimedia Commons, which has a
   process for batch uploading images:
  
   https://commons.wikimedia.org/wiki/Commons:Guide_to_batch_uploading
 
  I don't think it is a good idea to upload rendering examples to Wikimedia
  Commons...

-- 
Jochen Topf  joc...@remote.org  http://www.jochentopf.com/  +49-173-7019282

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Proposal - automate rendering examples on OSM wiki

2015-03-25 Thread Mateusz Konieczny
It may fit, OSM wiki qualifies as project that provide knowledge,
instruction or information.

http://commons.wikimedia.org/wiki/Commons:Project_scope/Summary#Must_be_realistically_useful_for_an_educational_purpose

2015-03-25 10:54 GMT+01:00 Jochen Topf joc...@remote.org:

 On Mi, Mär 25, 2015 at 02:06:06 -0700, Minh Nguyen wrote:
  On 2015-03-24 04:09, Mateusz Konieczny wrote:
  Is there any kind of API enabled for OSM wiki allowing automated uploads
  of files?
 
  The OSM wiki can transclude images from Wikimedia Commons, which has a
  process for batch uploading images:
 
  https://commons.wikimedia.org/wiki/Commons:Guide_to_batch_uploading

 I don't think it is a good idea to upload rendering examples to Wikimedia
 Commons...

 Jochen
 --
 Jochen Topf  joc...@remote.org  http://www.jochentopf.com/
 +49-173-7019282

 ___
 talk mailing list
 talk@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Proposal - automate rendering examples on OSM wiki

2015-03-24 Thread Mateusz Konieczny
Is there any kind of API enabled for OSM wiki allowing automated uploads of
files?

2015-03-20 16:26 GMT+01:00 Mateusz Konieczny matkoni...@gmail.com:

 Some articles about tags have section rendering. Such entries are
 frequently incomplete or
 outdated. It simple for me to generate example of rendering for every
 single tag used in default map
 style. It is probably possible to automate upload for wiki. Is somebody
 interested in using such files
 on wiki? Probably via some clever template that would be added to
 rendering section or by manual
 updating all tag pages.

 What I may do: generate example of rendering for every single tag used in
 default map style
 (around 550 files - see list on
 https://github.com/matkoniecz/CartoCSSHelper/blob/master/style_specific/default_osm_style.rb
 )

 What is necessary to make it useful: script that would upload files to
 wiki, somebody interested in
 using such files

 Note - generation of these images requires some time, it also would be
 necessary to decide on
 zoom level of rendering and secondary tag (what should be value of
 name/ele/ref tag?)

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] Proposal - automate rendering examples on OSM wiki

2015-03-20 Thread Mateusz Konieczny
Some articles about tags have section rendering. Such entries are
frequently incomplete or
outdated. It simple for me to generate example of rendering for every
single tag used in default map
style. It is probably possible to automate upload for wiki. Is somebody
interested in using such files
on wiki? Probably via some clever template that would be added to rendering
section or by manual
updating all tag pages.

What I may do: generate example of rendering for every single tag used in
default map style
(around 550 files - see list on
https://github.com/matkoniecz/CartoCSSHelper/blob/master/style_specific/default_osm_style.rb
)

What is necessary to make it useful: script that would upload files to
wiki, somebody interested in
using such files

Note - generation of these images requires some time, it also would be
necessary to decide on
zoom level of rendering and secondary tag (what should be value of
name/ele/ref tag?)
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Proposal - automate rendering examples on OSM wiki

2015-03-20 Thread Daniel Koć

W dniu 20.03.2015 16:26, Mateusz Konieczny napisał(a):

Is
somebody interested in using such files
on wiki? Probably via some clever template that would be added to
rendering section or by manual
updating all tag pages.


I would be happy to help with it. Of course, (semi-)automated way would 
be bettr than updating every single page.


--
Piaseczno Miasto Wąskotorowe

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Proposal - automate rendering examples on OSM wiki

2015-03-20 Thread Jochen Topf
On Fr, Mär 20, 2015 at 04:26:54 +0100, Mateusz Konieczny wrote:
 Some articles about tags have section rendering. Such entries are
 frequently incomplete or
 outdated. It simple for me to generate example of rendering for every
 single tag used in default map
 style. It is probably possible to automate upload for wiki. Is somebody
 interested in using such files
 on wiki? Probably via some clever template that would be added to rendering
 section or by manual
 updating all tag pages.
 
 What I may do: generate example of rendering for every single tag used in
 default map style
 (around 550 files - see list on
 https://github.com/matkoniecz/CartoCSSHelper/blob/master/style_specific/default_osm_style.rb
 )
 
 What is necessary to make it useful: script that would upload files to
 wiki, somebody interested in
 using such files
 
 Note - generation of these images requires some time, it also would be
 necessary to decide on
 zoom level of rendering and secondary tag (what should be value of
 name/ele/ref tag?)

I think the important part is doing the rendering, deciding on zoom levels and
all this. This is going to be some work and will need some time. Once that
works we can decide what to do with the rendering. Bringing it into taginfo
would be quite easy I presume. We could even extend the already existing
taginfo feature for embedding taginfo results in the wiki to bring those
renderings into the wiki if we want to. That would be much easier to do than
to try to edit the wiki automatically with all the problems it brings. As
a first step I suggest you look at 
https://wiki.openstreetmap.org/wiki/Taginfo/Projects
and see whether your rendering can be brought into taginfo that way.

Jochen
-- 
Jochen Topf  joc...@remote.org  http://www.jochentopf.com/  +49-173-7019282

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk