Modify

Opened 10 years ago

Closed 9 years ago

#10512 closed enhancement (fixed)

Provide tag usage files for Taginfo

Reported by: bastiK Owned by: team
Priority: normal Milestone: 15.05
Component: Core Version:
Keywords: taginfo Cc: skyper, jochen@…, Klumbumbus

Description

As announced by Jochen Topf on josm-dev, Taginfo aggregates tag support from various OSM related projects. The information needs to be converted to a certain format. We can provide stats for:

  • presets
  • main mappaint style
  • validator rules

Attachments (1)

taginfo.json (132.7 KB ) - added by bastiK 10 years ago.

Download all attachments as: .zip

Change History (50)

comment:1 by bastiK, 10 years ago

I'll have a go at the mappaint style part.

comment:2 by skyper, 10 years ago

Cc: skyper added

comment:3 by bastiK, 10 years ago

In 7544/josm:

see #10512 - taginfo: first version for mappaint style
only for node tags so far

by bastiK, 10 years ago

Attachment: taginfo.json added

comment:4 by Don-vip, 10 years ago

Milestone: 14.09

comment:5 by bastiK, 10 years ago

Cc: jochen@… added

comment:6 by bastiK, 10 years ago

See attachment: taginfo formatted json file for node tags in the main mappaint style.

comment:7 by bastiK, 10 years ago

In 7553/josm:

see #10512 - better taginfo support

comment:8 by bastiK, 10 years ago

In 7554/josm:

see #10512 - one more option

comment:10 by Don-vip, 10 years ago

Nice! :)

comment:11 by stoecker, 9 years ago

The JOSM cron already reads and parses all the external styles. If the groovy script could be adapted to support these files as well, we could call it from the cron job.

comment:12 by bastiK, 9 years ago

You'd need additional command line options to set the meta information at the beginning of the .json file, but otherwise it should work.

comment:13 by Don-vip, 9 years ago

Milestone: 14.0914.10

comment:14 by Klumbumbus, 9 years ago

Cc: Klumbumbus added

comment:15 by Don-vip, 9 years ago

Milestone: 14.1014.11

comment:16 by Don-vip, 9 years ago

Milestone: 14.1114.12

comment:17 by Don-vip, 9 years ago

Milestone: 14.1215.01

comment:18 by Don-vip, 9 years ago

Milestone: 15.0115.02

move tickets that have not been treated this month to next milestone

comment:19 by Don-vip, 9 years ago

Milestone: 15.0215.03

comment:20 by stoecker, 9 years ago

Milestone: 15.0315.04

Move one month.

comment:21 by simon04, 9 years ago

What is to be done for this ticket?

comment:22 by Don-vip, 9 years ago

Create new groovy scripts to report usage of tags in other files (validation rules, presets)

comment:23 by Klumbumbus, 9 years ago

and enhance it to work also for ways and areas (currently it works only for nodes afaik)

in reply to:  23 ; comment:24 by bastiK, 9 years ago

Replying to Klumbumbus:

and enhance it to work also for ways and areas (currently it works only for nodes afaik)

Nope, should also work for ways and areas.

TODO: Run this on external wiki-styles.

comment:25 by simon04, 9 years ago

In 8272/josm:

see #10512 - Use Groovy's JsonBuilder

comment:26 by simon04, 9 years ago

In 8273/josm:

see #10512 - taginfoextract: fix problem wrt layer name

Before, no object_types and icon_url have been extracted.

comment:27 by simon04, 9 years ago

In 8274/josm:

see #10512 - taginfoextract: add initial presets extration, switch all links to HTTPS

comment:28 by bastiK, 9 years ago

In 8275/josm:

see #10512 - compatibility with groovy 1.8.6

comment:29 by stoecker, 9 years ago

Milestone: 15.0415.05

in reply to:  24 ; comment:30 by Klumbumbus, 9 years ago

Replying to bastiK:

Replying to Klumbumbus:

and enhance it to work also for ways and areas (currently it works only for nodes afaik)

Nope, should also work for ways and areas.

Hm, I thought at the beginning of the projects tab on taginfo there were also the used icons displayed in the last column of the table. And some projects (not JOSM) did also display e.g. a colored line for a line feature like http://taginfo.openstreetmap.org/tags/highway=residential#projects

in reply to:  27 ; comment:31 by bastiK, 9 years ago

Replying to simon04:

In 8274/josm:

see #10512 - taginfoextract: add initial presets extration, switch all links to HTTPS

Presets included in daily cron job:
http://josm.openstreetmap.de/download/taginfo/taginfo_presets.json

in reply to:  30 ; comment:32 by bastiK, 9 years ago

Replying to Klumbumbus:

Replying to bastiK:

Replying to Klumbumbus:

and enhance it to work also for ways and areas (currently it works only for nodes afaik)

Nope, should also work for ways and areas.

Hm, I thought at the beginning of the projects tab on taginfo there were also the used icons displayed in the last column of the table. And some projects (not JOSM) did also display e.g. a colored line for a line feature like http://taginfo.openstreetmap.org/tags/highway=residential#projects

I don't see a colored line for any project in the last column.

in reply to:  32 comment:33 by Klumbumbus, 9 years ago

Replying to bastiK:

Replying to Klumbumbus:

Replying to bastiK:

Replying to Klumbumbus:

and enhance it to work also for ways and areas (currently it works only for nodes afaik)

Nope, should also work for ways and areas.

Hm, I thought at the beginning of the projects tab on taginfo there were also the used icons displayed in the last column of the table. And some projects (not JOSM) did also display e.g. a colored line for a line feature like http://taginfo.openstreetmap.org/tags/highway=residential#projects

I don't see a colored line for any project in the last column.

Me too. But I thought there were icons and colored lines one day.

in reply to:  34 ; comment:35 by bastiK, 9 years ago

in reply to:  31 comment:36 by simon04, 9 years ago

Replying to bastiK:

Presets included in daily cron job:
http://josm.openstreetmap.de/download/taginfo/taginfo_presets.json

Thank you! :)
I submitted a pull request for the inclusion: https://github.com/joto/taginfo-projects/pull/12

comment:37 by bastiK, 9 years ago

In 8280/josm:

see #10512 - fix spelling

comment:38 by bastiK, 9 years ago

In 8281/josm:

see #10512 - one more typo

in reply to:  35 comment:39 by Klumbumbus, 9 years ago

Replying to bastiK:

Replying to Klumbumbus:

Atleast node icons were displayed at the beginning. see screenshot at http://blog.jochentopf.com/2014-09-19-taginfo-integrates-more-data-sources.html. It is gone now http://taginfo.openstreetmap.org/tags/tourism=hotel#projects

And what about these icons http://josm.openstreetmap.de/download/taginfo/taginfo-img/way_highway=track.png?

I used to see icons here: http://taginfo.openstreetmap.org/projects/josm_main_mappaint_style#tags
This seems to be a taginfo problem.

It works now.

comment:40 by Don-vip, 9 years ago

Is it possible to move taginfoextact.groovy in scripts directory?

comment:41 by bastiK, 9 years ago

Yes, but then the path in the server Makefile needs to be fixed.

comment:42 by Don-vip, 9 years ago

That's why I ask :)

comment:43 by bastiK, 9 years ago

In 8306/josm:

see #10512 - move taginfoextract.groovy to scripts directory

comment:44 by bastiK, 9 years ago

Alright, alright... :)

comment:45 by Don-vip, 9 years ago

thanks :)

comment:46 by Don-vip, 9 years ago

Resolution: fixed
Status: newclosed

I think we can close this ticket now. Validator rules are not so important because of the use of regular expressions and invalid tags.

comment:47 by Klumbumbus, 9 years ago

Would it be possible to include the icon also for the JOSM main presets http://taginfo.openstreetmap.org/tags/tourism=hotel#projects in front of the preset path?

comment:48 by Don-vip, 9 years ago

Resolution: fixed
Status: closedreopened

Sure. There's a bug, I'm on it.

comment:49 by Don-vip, 9 years ago

Resolution: fixed
Status: reopenedclosed

In 8439/josm:

fix #10512 - fix handling of icons from OSM SVN

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.