MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "query": {
        "pages": [
            {
                "ns": 0,
                "title": "API",
                "missing": ""
            },
            {
                "pageid": 1,
                "ns": 0,
                "title": "Main Page",
                "revisions": [
                    {
                        "user": "Msemm",
                        "timestamp": "2015-01-27T18:17:49Z",
                        "comment": "",
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "[[File:OSM-icons_banner.png]]\n{|align=right  \n|__TOC__ \n|}\n\n{| width=998px\n|\n==Purpose of osm-icons.org==\n\n<div style=\"font-size: 130%;\">\n'''The main purpose of osm-icons.org is providing a <u>[[Icons|set of icons]]</u> including key-value pairs suitable to be used in OSM editors.'''\n\n'''In addition, the icons can be used for any kind of OSM maps for displaying POIs.'''\n</div>\n\n==Aiming to compile a complete set of OSM POI icons==\nDuring the planning of a new Android software I discovered that on the various maps as well as in various OSM editors like JOSM, Vespucci etc. the number of map features supported by pre-sets including the available icons is limited.\n\nAs a side effect I also discovered, that the selection of pre-sets in editors like JOSM seems to have a serious influence on the number of occurrences of a certain map feature in the planet file.\nBut this is another topic to do some more research...\n\nI then did some research regarding the availability of icons for OSM map features and found, that currently no collection of icons with a homogeneous style exists that covers at least all map features which are present in the OSM planet file at minimum 1,000 times.\n\nWhile researching the currently available icon sets I found, that the icons originally designed by [http://www.sjjb.co.uk/mapicons/ SJJB] would be the best starting point for creating a complete set of icons.\n\nI then researched with the help of the wonderful [http://taginfo.openstreetmap.org/ TAGINFO service] which icons with at least 1,000 occurrences in the OSM planet file were missing in the SJJB collection and finally added to the originally 302 SJJB SVG icons more than 700 newly designed or optimized SVG icons, sometimes based on existing ideas, sometimes with completely new motives. License information for each icon can be found in the <u>[[Icons|grid with all icons]]</u>.\n\nTo each icon I assigned a randomly selected unique 5-digit icon number which can be found on the left side of the icon file name.\n\n==Recommended keys and presets for each map feature==\nAfter creating a set of more than 1,000 icons in total I added to each map feature, represented by an icon, recommended key-value pairs and presets for some values. These key-value pairs were stored in the file name of the icon for as easy as possible handling.<br>\nThe information regarding the key-value pairs was mainly retrieved from OSM wiki information, JOSM presets, TAGINFO findings and some other OSM related sources.\n\nWhile compiling the relevant keys and values for each icon I found, that some information is needed repeatedly for multiple icons.<br>\nIn this case I created txt files containing commonly used key-value pairs with file names in square brackets. These files can be found <u>[[Media:OSM-icons.zip|here]]</u> in folder _common.<br>\nThese txt files were then referenced in the icon file names suitable for usage of these common key-value pairs.\n\n==Feature groups==\nIt might be pretty time consuming to find the correct icon out of > 1,000 icons while mapping a certain map feature.<br>\nTherefore I introduced so called <u>[[Feature_groups|\"feature groups\"]]</u>. Feature groups are collections of icons / map features with a similar topic.\n\nExample: woman\u2019s fav places<br>\nThis feature group combines all icons / map features that might represent a POI which is particularly interesting for women: a shop with handbags, a baby hatch, a cafe etc.\n\nI created a set of feature groups and assigned icons to them. The feature groups assigned to each icon are mentioned in the respective file name.\n\n==Request for cross check by the OSM community==\nSome days ago I completed the task of compiling key-value pairs and feature groups for each map feature after some initial very valuable feedback from the Italian OSM community, so it is now the right time to ask interested OSM community members to cross check the work done for an optimal icon set / tag assignment as follows:\n\n# check if important icons are missing\n# check if some icons should have different graphics\n# check if the selected key-value pairs are optimal \n# check if the feature group assignment is optimal\n# other comments \n\nThe benefit of the OSM community of this work will be, that it becomes much easier for developers of OSM editors providing support for all map features widely used by the OSM community. This means, that these developers can then focus on implementing their software instead of hazzling around with icons.\n\nIn case you have suggestions for improving the icons, assigned key-value pairs, presets of values or feature groups, please send an email to <u>[https://wiki.openstreetmap.org/wiki/User:Markus59 Markus]</u>.<br>\nPlease don\u00b4t forget to mention the icon number which is the only unique reference available for each icon.\n\nThe .zip file with all 1,000 icons as well as the .txt files with the commonly used key-value pairs can be found <u>[[Media:OSM-icons.zip|here]]</u>.<br>\nPlease unzip the zip file in the root directory of your hard drive. Otherwise unzipping might fail because of the length of some of the file names.\n |}"
                    }
                ]
            }
        ]
    }
}