| 50 | | where |
| 51 | | ||= **Parameter** =||= **Required/Optional** =||= **Meaning** =|| |
| 52 | | || `url` || R || The Request URL, including patterns. Must be the last parameter, everything after "&url=" is interpreted as URL, even if it contains "&" characters. || |
| 53 | | || `new_layer` || O || If '''true''', downloads to a new layer || |
| | 50 | где |
| | 51 | ||= **Параметр** =||= **Обязательный / необязательный** =||= **Значение** =|| |
| | 52 | || `url` || О || URL файла, including patterns. Должен быть последним параметром, всё после "&url=" воспринимается, как URL, даже если содержит символы "&". || |
| | 53 | || `new_layer` || Н || Если '''true''', скачивает в новый слой || |
| 56 | | (since version 1.6) |
| 57 | | Instruct JOSM to load OSM data, directly encoded in the URL, instead of coming from an external file. This is only suited for smaller data (some browsers limit the maximum URL length), but it is faster (since no download is required), and in many cases where dynamically generated data is needed, it's easier to generate. |
| | 56 | (с версии 1.6) |
| | 57 | Указывает JOSM загрузить данные OSM, закодированные непосредственно в URL, а не происходящие из внешнего файла. Это подходит лишь для небольшого объёма данных (некоторые браузеры ограничивают максимальную длину URL), но быстрее (поскольку не требуется скачивание) и во многих случаях, когда нужны динамически генерируемые данные, проще для генерации. |
| 62 | | where |
| 63 | | ||= **Parameter** =||= **Required/Optional** =||= **Meaning** =|| |
| 64 | | || `data` || R || The XML data to load, this should be URL encoded in a way that also encodes the special characters &, = and ? to resp. %26, %3D and %3F. The JS [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent encodeUriComponent()] method provides this functionality out of the box. || |
| 65 | | || `new_layer` || O || Chose to load the data in a new layer || |
| 66 | | || `mime_type` || O || Mime type of the data, by default this is "application/x-osm+xml", which is currently the only supported mime type, but in the future other mime types could be supported || |
| 67 | | || `layer_name` || O || Only valid when the data is loaded in a new layer; Gives JOSM a hint on how to name the layer || |
| | 62 | где |
| | 63 | ||= **Параметр** =||= **Обязательный / необязательный** =||= **Значение** =|| |
| | 64 | || `data` || О || The XML data to load, this should be URL encoded in a way that also encodes the special characters &, = and ? to resp. %26, %3D and %3F. The JS [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent encodeUriComponent()] method provides this functionality out of the box. || |
| | 65 | || `new_layer` || Н || Chose to load the data in a new layer || |
| | 66 | || `mime_type` || Н || Mime type of the data, by default this is "application/x-osm+xml", which is currently the only supported mime type, but in the future other mime types could be supported || |
| | 67 | || `layer_name` || Н || Only valid when the data is loaded in a new layer; Gives JOSM a hint on how to name the layer || |