Modify ↓
Opened 4 years ago
Closed 4 years ago
#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
1252 1252 } 1253 1253 String d = getDate(j); 1254 1254 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))?)?))*$"); 1256 1256 Matcher m = patternD.matcher(d); 1257 1257 if (!m.matches()) { 1258 1258 myprintln("* JOSM-Date '"+d+"' is strange: "+getDescription(j));
Attachments (0)
Change History (3)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
The pictures are taken between 2020-07-30
and 2020-09-19
, so 2020-07-30;2020-09-19
would be enough.
comment:3 by , 4 years ago
Component: | Core imagery → External imagery source |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Reduce it to the two dates. What's the sense of keeping such detailed information?