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

Jochen Topf jochen at remote.org
Fri Mar 20 21:19:38 UTC 2015


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  jochen at remote.org  http://www.jochentopf.com/  +49-173-7019282



More information about the talk mailing list