Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Rules/MissingStreetnumberOrConscriptionnumber
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
meta { title: "Missing streetnumber or conscriptionnumber"; version: "1.00_2018-02-12"; description: "Copy value of housenumber tag to either streetnumber or conscriptionnumber"; author: "Jose Riha"; link: "http://josm.openstreetmap.de/wiki/Rules/CzechRepublicAddressSystem"; watch-modified: true; min-josm-version: "11424"; /* due to territory selectors */ } /* see implementation of Czech Republic Address System for JOSM validator as per http://wiki.openstreetmap.org/wiki/Cs:WikiProject_Czech_Republic/Address_system Only makes sense to edits within borders of Czech and Slovak republic. The sole purpose of rule is to use it for populating addr:streetnumber/addr:conscriptionnumber tags when missing. Pozri http://wiki.openstreetmap.org/wiki/Cs:WikiProject_Czech_Republic/Address_system Sada tychto jednoduchych pravidiel sluzi na vyplnenie tagov addr:streetnumber/addr:conscriptionnumber. Pouzitie: - nacitate problemovu oblast (elementy s addr:housenumber, ale chybajucimi streetnumber a conscriptionnumber) - ctrl-f, zadate: - pre vyhladanie buducich streetnumbers: "addr:housenumber" -"addr:housenumber":/ -"addr:streetnumber" -"addr:conscriptionnumber" "addr:housenumber" < 300 - pre vyhladanie buducich conscriptionnumbers: "addr:housenumber" -"addr:housenumber":/ -"addr:streetnumber" -"addr:conscriptionnumber" - validator - overit - vo vysledkoch validacie si vyberiete ci budete vyplnat supisne alebo orientacne cisla - oznacite, kliknite na opravit please send fixes and suggestions to: jose1711 gmail com */ *[addr:housenumber][!addr:streetnumber][!addr:conscriptionnumber][inside("CZ,SK")]{ throwWarning: tr("Missing streetnumber while housenumber exists"); fixAdd: concat("addr:streetnumber=",tag("addr:housenumber")); } *[addr:housenumber][!addr:streetnumber][!addr:conscriptionnumber][inside("CZ,SK")]{ throwWarning: tr("Missing conscriptionnumber while housenumber exists"); fixAdd: concat("addr:conscriptionnumber=",tag("addr:housenumber")); }
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.