Modify

#21166 closed defect (fixed)

More than two dates in imagery date

Reported by: Klumbumbus Owned by: team
Priority: normal Milestone:
Component: External imagery source Version:
Keywords: Cc: stoecker, Don-vip

Description

Since some days we have this in ImageryCompare:

* JOSM-Date '2020-07-30;2020-07-31;2020-08-06;2020-08-05;2020-08-07;2020-09-13;2020-09-14;2020-09-15;2020-09-19' is strange: [LU] geoportail.lu ortho latest [lu.geoportail.opendata.ortholatest]

While this is not according our specification, I think this is fine and by reducing it to start an end date we would loose information. I assume this should fix it?

  • SyncEditorLayerIndex.java

     
    12521252            }
    12531253            String d = getDate(j);
    12541254            if (isNotBlank(d)) {
    1255                 Pattern patternD = Pattern.compile("^(-|(\\d\\d\\d\\d)(-(\\d\\d)(-(\\d\\d))?)?)(;(-|(\\d\\d\\d\\d)(-(\\d\\d)(-(\\d\\d))?)?))?$");
     1255                Pattern patternD = Pattern.compile("^(-|(\\d\\d\\d\\d)(-(\\d\\d)(-(\\d\\d))?)?)(;(-|(\\d\\d\\d\\d)(-(\\d\\d)(-(\\d\\d))?)?))*$");
    12561256                Matcher m = patternD.matcher(d);
    12571257                if (!m.matches()) {
    12581258                    myprintln("* JOSM-Date '"+d+"' is strange: "+getDescription(j));

Attachments (0)

Change History (3)

comment:1 Changed 11 months ago by stoecker

Reduce it to the two dates. What's the sense of keeping such detailed information?

comment:2 Changed 11 months ago by mdk

The pictures are taken between 2020-07-30 and 2020-09-19, so 2020-07-30;2020-09-19 would be enough.

comment:3 Changed 11 months ago by Klumbumbus

Component: Core imageryExternal imagery source
Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.