Changes between Version 3 and Version 4 of Rules/Pictures


Ignore:
Timestamp:
2023-11-11T21:10:51+01:00 (18 months ago)
Author:
david.z.osipov@…
Comment:

Currently Mapillary ImageID consists of 15 characters ciphers string.

Legend:

Unmodified
Added
Removed
Modified
  • Rules/Pictures

    v3 v4  
    1313}
    1414
    15 *[mapillary][mapillary!~/^[a-zA-Z0-9_-]{22}$/][mapillary=~/pKey=[a-zA-Z0-9_-]{22}/] {
    16     throwError: tr("mapillary tag should only contain image ID instead of full URL");
    17     fixAdd: concat("mapillary=", get(regexp_match(".*pKey=([a-zA-Z0-9_-]{22}).*", tag("mapillary")),1));
     15*[mapillary][mapillary!~/^[0-9]{15}$/][mapillary=~/pKey=[0-9]{15}/] {
     16    throwError: tr("mapillary tag should only contain image key instead of full URL");
     17    fixAdd: concat("mapillary=", get(regexp_match(".*pKey=([0-9]{15}).*", tag("mapillary")),1));
    1818}
    1919
    20 *[mapillary][mapillary!~/^[a-zA-Z0-9_-]{22}$/][mapillary!~/pKey=[a-zA-Z0-9_-]{22}/] {
    21     throwError: tr("mapillary tag should only contain image ID (22 characters string)");
     20*[mapillary][mapillary!~/^[0-9]{15}$/][mapillary!~/pKey=[0-9]{15}/] {
     21    throwError: tr("mapillary tag should only contain image key (15 characters ciphers string)");
    2222}
    2323