Changes between Version 2 and Version 3 of Ru:Help/RemoteControlCommands


Ignore:
Timestamp:
2017-11-17T12:31:31+01:00 (8 years ago)
Author:
ak099
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ru:Help/RemoteControlCommands

    v2 v3  
    1313}}}
    1414где
    15 ||= **Параметр** =||= **Обязательный /необязательный** =||= **Значение** =||
     15||= **Параметр** =||= **Обязательный / необязательный** =||= **Значение** =||
    1616|| `bottom` || О || Минимальная широта ||
    1717|| `top` || О || Максимальная широта ||
     
    4444
    4545=== {{{import}}} ===
    46 Instructs JOSM to download the specified OSM file and add it to the current data set.
     46Указывает JOSM загрузить файл .OSM и добавить его содержимое к текущему набору данных.
    4747{{{
    4848GET /import?url=...
    4949}}}
    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''', скачивает в новый слой ||
    5454
    5555=== {{{load_data}}} ===
    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), но быстрее (поскольку не требуется скачивание) и во многих случаях, когда нужны динамически генерируемые данные, проще для генерации.
    5858
    5959{{{
    6060GET /load_data?new_layer=(true/false)&layer_name=...&mime_type=...&data=...
    6161}}}
    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 ||
    6868
    6969=== {{{open_file }}} ===