| 60 | | There is also a very under-used and under-documented feature that lets you enter a web URL (`file://`, `http://`, `https://`, `ftp://`) |
| 61 | | in the search field. JOSM will then attempt to load that URL, and select any objects that it finds referenced in that file. JOSM will |
| 62 | | look for XML tags "way", "node", and "relation" in the document, and use their id attribute. This means you can |
| 63 | | access another OSM file on your hard disk this way and have JOSM select all objects that are present in the file (provided they are present in JOSM's dataset too). |
| | 60 | == Regular expressions == |
| | 61 | |
| | 62 | JOSM supports [http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html Java regex syntax]. |
| | 63 | |
| | 64 | == MapCSS syntax == |
| | 65 | |
| | 66 | See [wiki:Help/Styles/MapCSSImplementation]. |
| | 67 | |
| | 68 | == Fetch external file and replace selection == |
| | 69 | |
| | 70 | A very under-used feature that lets you enter a web URL (`file://`, `http://`, `https://`, `ftp://`) in the search field. |
| | 71 | |
| | 72 | JOSM will then attempt to load that URL, and select any objects that it finds referenced in that file. |
| | 73 | JOSM will look for XML tags "way", "node", and "relation" in the document (clarify? examples?), and use their id attribute . |
| | 74 | You can access another OSM file on your hard disk this way and have JOSM select all objects that are present in the file (provided they are present in JOSM's dataset too). |
| | 75 | |
| | 76 | Similar thing is possible [wiki:Help/CommandLineOptions via command line parameter during JOSM start-up]. |
| | 77 | Similar thing is possible via Remote control command. |