Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
215 changes: 215 additions & 0 deletions mapcss/item_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,221 @@
'subclass_blacklist': [160705788, 321695123],
'tags': ['tag', 'railway'],
'url': 'https://www.openrailwaymap.org/validator/openrailwaymap.validator.mapcss'},
'powerQA': {'class': {None: 0,
'Incompatibility between method and source on a power generator': 5,
'Incompatibility between method and source on a power plant': 21,
'Invalid voltage value for this country (Afghanistan)': 35,
'Invalid voltage value for this country (Albania)': 36,
'Invalid voltage value for this country (Algeria)': 37,
'Invalid voltage value for this country (Andorra)': 38,
'Invalid voltage value for this country (Angola)': 39,
'Invalid voltage value for this country (Argentina)': 40,
'Invalid voltage value for this country (Armenia)': 41,
'Invalid voltage value for this country (Australia)': 42,
'Invalid voltage value for this country (Austria)': 43,
'Invalid voltage value for this country (Azerbaijan)': 44,
'Invalid voltage value for this country (Bahrain)': 45,
'Invalid voltage value for this country (Bangladesh)': 46,
'Invalid voltage value for this country (Belarus)': 47,
'Invalid voltage value for this country (Belgium)': 48,
'Invalid voltage value for this country (Belize)': 49,
'Invalid voltage value for this country (Benin)': 50,
'Invalid voltage value for this country (Bhutan)': 51,
'Invalid voltage value for this country (Bolivia)': 52,
'Invalid voltage value for this country (Bosnia and Herzegovina)': 53,
'Invalid voltage value for this country (Botswana)': 54,
'Invalid voltage value for this country (Brazil)': 55,
'Invalid voltage value for this country (Brunei)': 56,
'Invalid voltage value for this country (Bulgaria)': 57,
'Invalid voltage value for this country (Burkina Faso)': 58,
'Invalid voltage value for this country (Burundi)': 59,
'Invalid voltage value for this country (Cambodia)': 60,
'Invalid voltage value for this country (Cameroon)': 61,
'Invalid voltage value for this country (Canada)': 62,
'Invalid voltage value for this country (Cape Verde)': 63,
'Invalid voltage value for this country (Central African Republic)': 64,
'Invalid voltage value for this country (Chad)': 65,
'Invalid voltage value for this country (Chile)': 66,
'Invalid voltage value for this country (Colombia)': 67,
'Invalid voltage value for this country (Costa Rica)': 68,
'Invalid voltage value for this country (Croatia)': 69,
'Invalid voltage value for this country (Cuba)': 70,
'Invalid voltage value for this country (Cyprus)': 71,
'Invalid voltage value for this country (Czech Republic)': 72,
'Invalid voltage value for this country (Democratic Republic of the Congo)': 73,
'Invalid voltage value for this country (Djibouti)': 74,
'Invalid voltage value for this country (Dominican Republic)': 75,
'Invalid voltage value for this country (Ecuador)': 76,
'Invalid voltage value for this country (Egypt)': 77,
'Invalid voltage value for this country (El Salvador)': 78,
'Invalid voltage value for this country (Equatorial Guinea)': 79,
'Invalid voltage value for this country (Eritrea)': 80,
'Invalid voltage value for this country (Estonia)': 81,
'Invalid voltage value for this country (Eswatini)': 82,
'Invalid voltage value for this country (Ethiopia)': 83,
'Invalid voltage value for this country (Federated States of Micronesia)': 84,
'Invalid voltage value for this country (Fiji)': 85,
'Invalid voltage value for this country (Finland)': 86,
'Invalid voltage value for this country (France)': 87,
'Invalid voltage value for this country (Gabon)': 88,
'Invalid voltage value for this country (Georgia)': 89,
'Invalid voltage value for this country (Germany)': 90,
'Invalid voltage value for this country (Ghana)': 91,
'Invalid voltage value for this country (Greece)': 92,
'Invalid voltage value for this country (Guatemala)': 93,
'Invalid voltage value for this country (Guinea)': 94,
'Invalid voltage value for this country (Guinea-Bissau)': 95,
'Invalid voltage value for this country (Haiti)': 96,
'Invalid voltage value for this country (Honduras)': 97,
'Invalid voltage value for this country (Hungary)': 98,
'Invalid voltage value for this country (Iceland)': 99,
'Invalid voltage value for this country (India)': 100,
'Invalid voltage value for this country (Indonesia)': 101,
'Invalid voltage value for this country (Iran)': 102,
'Invalid voltage value for this country (Iraq)': 103,
'Invalid voltage value for this country (Ireland)': 104,
'Invalid voltage value for this country (Israel)': 105,
'Invalid voltage value for this country (Italy)': 106,
'Invalid voltage value for this country (Ivory Coast)': 107,
'Invalid voltage value for this country (Jamaica)': 108,
'Invalid voltage value for this country (Japan)': 109,
'Invalid voltage value for this country (Jordan)': 110,
'Invalid voltage value for this country (Kazakhstan)': 111,
'Invalid voltage value for this country (Kenya)': 112,
'Invalid voltage value for this country (Kingdom of Denmark)': 113,
'Invalid voltage value for this country (Kingdom of the Netherlands)': 114,
'Invalid voltage value for this country (Kuwait)': 115,
'Invalid voltage value for this country (Kyrgyzstan)': 116,
'Invalid voltage value for this country (Laos)': 117,
'Invalid voltage value for this country (Latvia)': 118,
'Invalid voltage value for this country (Lebanon)': 119,
'Invalid voltage value for this country (Lesotho)': 120,
'Invalid voltage value for this country (Liberia)': 121,
'Invalid voltage value for this country (Libya)': 122,
'Invalid voltage value for this country (Liechtenstein)': 123,
'Invalid voltage value for this country (Lithuania)': 124,
'Invalid voltage value for this country (Luxembourg)': 125,
'Invalid voltage value for this country (Madagascar)': 126,
'Invalid voltage value for this country (Malawi)': 127,
'Invalid voltage value for this country (Malaysia)': 128,
'Invalid voltage value for this country (Maldives)': 129,
'Invalid voltage value for this country (Mali)': 130,
'Invalid voltage value for this country (Malta)': 131,
'Invalid voltage value for this country (Mauritania)': 132,
'Invalid voltage value for this country (Mauritius)': 133,
'Invalid voltage value for this country (Mexico)': 134,
'Invalid voltage value for this country (Moldova)': 135,
'Invalid voltage value for this country (Mongolia)': 136,
'Invalid voltage value for this country (Montenegro)': 137,
'Invalid voltage value for this country (Morocco)': 138,
'Invalid voltage value for this country (Mozambique)': 139,
'Invalid voltage value for this country (Myanmar)': 140,
'Invalid voltage value for this country (Namibia)': 141,
'Invalid voltage value for this country (Nepal)': 142,
'Invalid voltage value for this country (New Zealand)': 143,
'Invalid voltage value for this country (Nicaragua)': 144,
'Invalid voltage value for this country (Niger)': 145,
'Invalid voltage value for this country (Nigeria)': 146,
'Invalid voltage value for this country (North Korea)': 147,
'Invalid voltage value for this country (North Macedonia)': 148,
'Invalid voltage value for this country (Norway)': 149,
'Invalid voltage value for this country (Oman)': 150,
'Invalid voltage value for this country (Pakistan)': 151,
'Invalid voltage value for this country (Panama)': 152,
'Invalid voltage value for this country (Papua New Guinea)': 153,
'Invalid voltage value for this country (Paraguay)': 154,
"Invalid voltage value for this country (People's Republic of China)": 155,
'Invalid voltage value for this country (Peru)': 156,
'Invalid voltage value for this country (Philippines)': 157,
'Invalid voltage value for this country (Poland)': 158,
'Invalid voltage value for this country (Portugal)': 159,
'Invalid voltage value for this country (Qatar)': 160,
'Invalid voltage value for this country (Republic of the Congo)': 161,
'Invalid voltage value for this country (Romania)': 162,
'Invalid voltage value for this country (Russia)': 163,
'Invalid voltage value for this country (Rwanda)': 164,
'Invalid voltage value for this country (San Marino)': 165,
'Invalid voltage value for this country (Saudi Arabia)': 166,
'Invalid voltage value for this country (Senegal)': 167,
'Invalid voltage value for this country (Serbia)': 168,
'Invalid voltage value for this country (Sierra Leone)': 169,
'Invalid voltage value for this country (Singapore)': 170,
'Invalid voltage value for this country (Slovakia)': 171,
'Invalid voltage value for this country (Slovenia)': 172,
'Invalid voltage value for this country (South Africa)': 173,
'Invalid voltage value for this country (South Korea)': 174,
'Invalid voltage value for this country (South Sudan)': 175,
'Invalid voltage value for this country (Spain)': 176,
'Invalid voltage value for this country (Sri Lanka)': 177,
'Invalid voltage value for this country (State of Palestine)': 178,
'Invalid voltage value for this country (Sudan)': 179,
'Invalid voltage value for this country (Suriname)': 180,
'Invalid voltage value for this country (Sweden)': 181,
'Invalid voltage value for this country (Switzerland)': 182,
'Invalid voltage value for this country (Syria)': 183,
'Invalid voltage value for this country (Taiwan)': 184,
'Invalid voltage value for this country (Tajikistan)': 185,
'Invalid voltage value for this country (Tanzania)': 186,
'Invalid voltage value for this country (Thailand)': 187,
'Invalid voltage value for this country (The Bahamas)': 188,
'Invalid voltage value for this country (The Gambia)': 189,
'Invalid voltage value for this country (Timor-Leste)': 190,
'Invalid voltage value for this country (Togo)': 191,
'Invalid voltage value for this country (Trinidad and Tobago)': 192,
'Invalid voltage value for this country (Tunisia)': 193,
'Invalid voltage value for this country (Turkey)': 194,
'Invalid voltage value for this country (Turkmenistan)': 195,
'Invalid voltage value for this country (Uganda)': 196,
'Invalid voltage value for this country (Ukraine)': 197,
'Invalid voltage value for this country (United Arab Emirates)': 198,
'Invalid voltage value for this country (United Kingdom)': 199,
'Invalid voltage value for this country (United States)': 200,
'Invalid voltage value for this country (Uruguay)': 201,
'Invalid voltage value for this country (Uzbekistan)': 202,
'Invalid voltage value for this country (Venezuela)': 203,
'Invalid voltage value for this country (Vietnam)': 204,
'Invalid voltage value for this country (Yemen)': 205,
'Invalid voltage value for this country (Zambia)': 206,
'Invalid voltage value for this country (Zimbabwe)': 207,
'Is it a power circuit or a power line section? Add the power=* tag accordingly.': 208,
'Unsuitable method for biofuel generator': 13,
'Unsuitable method for biofuel power plant': 29,
'Unsuitable method for biogas generator': 14,
'Unsuitable method for biogas power plant': 30,
'Unsuitable method for biomass generator': 12,
'Unsuitable method for biomass power plant': 28,
'Unsuitable method for coal generator': 10,
'Unsuitable method for coal power plant': 26,
'Unsuitable method for diesel generator': 16,
'Unsuitable method for diesel power plant': 32,
'Unsuitable method for gas generator': 11,
'Unsuitable method for gas power plant': 27,
'Unsuitable method for gasoline generator': 17,
'Unsuitable method for gasoline power plant': 33,
'Unsuitable method for hydro generator': 7,
'Unsuitable method for hydro power plant': 23,
'Unsuitable method for nuclear generator': 4,
'Unsuitable method for nuclear power plant': 20,
'Unsuitable method for oil generator': 15,
'Unsuitable method for oil power plant': 31,
'Unsuitable method for solar generator': 9,
'Unsuitable method for solar power plant': 25,
'Unsuitable method for tidal generator': 8,
'Unsuitable method for tidal power plant': 24,
'Unsuitable method for waste generator': 18,
'Unsuitable method for waste power plant': 34,
'Unsuitable method for wind generator': 6,
'Unsuitable method for wind power plant': 22,
'Unsuitable value for generator:source=* tag': 3,
'Unsuitable value for plant:source=* tag': 19,
'Unsuitable value for power=* tag': 1,
'Unsuitable value for transformer=* tag': 2,
'power=circuit relations should have a topology tag with value linear or branched': 209,
'wires tag should be on the power line and not on the circuit relation': 210},
'item': 9042,
Copy link
Contributor Author

@nlehuby nlehuby Oct 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the item number was chosen randomly

'prefix': 'Josm_',
'tags': ['tag', 'power'],
'url': 'https://github.com/open-energy-transition/validate-my-grid/blob/gh-pages/powerQA.validator.mapcss'},
'relation': {'class': {'missing tag': 9007001},
'item': 9007,
'prefix': 'Josm_',
Expand Down
Loading
Loading