Modify

Opened 5 months ago

Last modified 4 months ago

#23902 new defect

JOSM Imagery layers outdated / sync with osmlab/editor-layer-index

Reported by: rhythmicbalancer Owned by: team
Priority: normal Milestone:
Component: External imagery source Version:
Keywords: Cc: stoecker

Description

Hi, I recently noticed that the IndianaMap Orthoimagery layers are broken. It seems the server has gone offline or is otherwise inaccessible. However, this has already been fixed upstream by the osmlab project. Perhaps other problems have been fixed and new sources added since the last time this data was synchronized. Documentation states that ImageryCompare is used to detect and "manually sync" the sources. It would seem this needs to be done again :)

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2024-08-28 22:00:04 +0200 (Wed, 28 Aug 2024)
Revision:19207
Build-Date:2024-08-29 01:30:31
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19207 en) Linux Freedesktop SDK 23.08 (Flatpak runtime)
Memory Usage: 2048 MB / 8192 MB (1799 MB allocated, but free)
Java version: 21.0.4+2, Flathub, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1600x900x[Multi depth]@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1600×900
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: GNOME
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]

Plugins:
+ Mapillary (1770.1)
+ RoadSigns (36316)
+ apache-commons (36282)
+ ejml (36176)
+ geotools (36273)
+ jackson (36273)
+ jaxb (36118)
+ jts (36004)
+ opendata (36327)
+ utilsplugin2 (36298)

Tagging presets:
+ https://raw.github<user.name>content.com/yopaseopor/traffic_signs_preset_JOSM/master/US.zip

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1
+ https://raw.github<user.name>content.com/yopaseopor/traffic_signs_style_JOSM/master/US.zip

Last errors/warnings:
- 05713.306 W: Can't use layer Thermal Anomalies and Fires (All, Best Available, MODIS, Aqua+Terra) because no supported formats were found. Layer is available in formats: application/vnd.mapbox-vector-tile
- 05713.307 W: Can't use layer Thermal Anomalies and Fires (All, Best Available, MODIS, Terra) because no supported formats were found. Layer is available in formats: application/vnd.mapbox-vector-tile
- 05713.307 W: Can't use layer Thermal Anomalies and Fires (Day, Best Available, MODIS, Aqua) because no supported formats were found. Layer is available in formats: application/vnd.mapbox-vector-tile
- 05713.307 W: Can't use layer Thermal Anomalies and Fires (Day, Best Available, MODIS, Aqua+Terra) because no supported formats were found. Layer is available in formats: application/vnd.mapbox-vector-tile
- 05713.308 W: Can't use layer Thermal Anomalies and Fires (Day, Best Available, MODIS, Terra) because no supported formats were found. Layer is available in formats: application/vnd.mapbox-vector-tile
- 05713.308 W: Can't use layer Thermal Anomalies and Fires (Night, Best Available, MODIS, Aqua) because no supported formats were found. Layer is available in formats: application/vnd.mapbox-vector-tile
- 05713.308 W: Can't use layer Thermal Anomalies and Fires (Night, Best Available, MODIS, Aqua+Terra) because no supported formats were found. Layer is available in formats: application/vnd.mapbox-vector-tile
- 05713.309 W: Can't use layer Thermal Anomalies and Fires (Night, Best Available, MODIS, Terra) because no supported formats were found. Layer is available in formats: application/vnd.mapbox-vector-tile

Attachments (0)

Change History (9)

comment:1 by taylor.smock, 5 months ago

Cc: stoecker added

It is a wiki. You can edit it.

We do have a job that checks for stuff like that and updates a wiki page with the output (see wiki:ImageryCompare). It looks like it is broken -- @stoecker: do we have a stack trace I can look at?

In any case, the problem is "manually sync" -- we have to take time from other work to do that. If you have the interest, I would recommend doing it yourself. The wiki page that needs to be edited is at Maps/USA States#IndianaMapOrthoimagery2016.


Anyway, here are the steps I would take to update the URLs:

  1. Looking at IndianaMap_Latest.geojson, the root URL for the services directory is https://di-ingov.img.arcgis.com/arcgis/rest/services/DynamicWebMercator
  2. We currently have 2016, 2017, and 2018 as sources for Indiana. Updating the URLs for these is "easy", and all of them should have historicphoto for category. Here is a diff (yes, I did the work but didn't apply it, but I'm trying to get someone (specifically you) with interest in the specific endpoints involved).
    • Version

       
      37323732        <name>IndianaMap Orthoimagery 2016</name>
      37333733        <id>IndianaMap2016</id>
      3734         <category>photo</category>
       3734        <category>historicphoto</category>
      37353735        <date>2016</date>
      37363736        <country-code>US</country-code>
      37373737        <type>wms</type>
      3738         <url><![CDATA[https://maps.indiana.edu/arcgis/services/Imagery/Orthos_2016/MapServer/WmsServer?FORMAT=image/jpeg&TRANSPARENT=FALSE&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=0&STYLES=&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}]]></url>
       3738        <url><![CDATA[https://di-ingov.img.arcgis.com/arcgis/services/DynamicWebMercator/Indiana_2016_Imagery/ImageServer/WMSServer?FORMAT=image/jpeg&TRANSPARENT=FALSE&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=0&STYLES=&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}]]></url>
      37393739        <min-zoom>4</min-zoom>
      37403740        <max-zoom>20</max-zoom>
       
      37603760        <name>IndianaMap Orthoimagery 2017</name>
      37613761        <id>IndianaMap2017</id>
      3762         <category>photo</category>
       3762        <category>historicphoto</category>
      37633763        <date>2017</date>
      37643764        <country-code>US</country-code>
      37653765        <type>wms</type>
      3766         <url><![CDATA[https://maps.indiana.edu/arcgis/services/Imagery/Orthos_2017/MapServer/WmsServer?FORMAT=image/jpeg&TRANSPARENT=FALSE&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=0&STYLES=&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}]]></url>
       3766        <url><![CDATA[https://di-ingov.img.arcgis.com/arcgis/services/DynamicWebMercator/Indiana_2017_Imagery/ImageServer/WMSServer?FORMAT=image/jpeg&TRANSPARENT=FALSE&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=0&STYLES=&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}]]></url>
      37673767        <min-zoom>4</min-zoom>
      37683768        <max-zoom>20</max-zoom>
       
      37883788        <name>IndianaMap Orthoimagery 2018</name>
      37893789        <id>IndianaMap2018</id>
      3790         <category>photo</category>
       3790        <category>historicphoto</category>
      37913791        <date>2018</date>
      37923792        <country-code>US</country-code>
      37933793        <type>wms</type>
      3794         <url><![CDATA[https://maps.indiana.edu/arcgis/services/Imagery/Orthos_2018/MapServer/WmsServer?FORMAT=image/jpeg&TRANSPARENT=FALSE&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=0&STYLES=&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}]]></url>
       3794        <url><![CDATA[https://di-ingov.img.arcgis.com/arcgis/services/DynamicWebMercator/Indiana_2018_Imagery/ImageServer/WMSServer?FORMAT=image/jpeg&TRANSPARENT=FALSE&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=0&STYLES=&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}]]></url>
      37953795        <min-zoom>4</min-zoom>
      37963796        <max-zoom>20</max-zoom>
  3. There is also 2019, 2021, 2022, 2023, and "current" imagery. I would recommend adding (minimally) the "current" imagery endpoint as well. The procedure for that is as follows:
    1. Install the imagery-xml-bounds plugin
    2. Manually load the WMS server from Indiana_Current_Imagery into JOSM. You will want to copy the generated URL in field 6 of the dialog.
    3. Trace the outline of the imagery layer. Note: since someone has already done the work in ELI and we are license compatible with it, you can load the geojson from IndianaMap_Latest.geojson into JOSM and use that (note: you must use the "raw" link).
    4. Select the outline
    5. Right-click on the outline in the Selection pane and left-click on XML Imagery Bounds
    6. Copy the text from that window (<entry> to </entry>) and paste it into wiki:"Maps/USA States" below the 2018 imagery from Indiana. At this point, you will need to then modify the <url></url> section to have the appropriate URL information (which you should have from step 2)
    7. Add a <category> to the entry of photo (<category>photo</category>).
    8. Add anything else you think would be useful from wiki:Maps#Generalproperties
    9. Save and test (see wiki:Help/Preferences/Imagery#DefaultEntries for how to reload the entries)

The final entry will look something like

    <entry>
        <name>IndianaMap Orthoimagery - Latest Available</name>
        <id>IndianaMap_Latest</id>
        <type>wmts</type>
        <category>photo</category>
        <date>2021;2023</date>
        <country-code>US</country-code>
        <projections><code>EPSG:3857</code></projections>
        <url>https://di-ingov.img.arcgis.com/arcgis/rest/services/CacheWebMercator/IndianaCurrentImageryCache/MapServer/WMTS/1.0.0/WMTSCapabilities.xml></url>
        <mirror>
            <type>wms</type>
            <url><![CDATA[https://di-ingov.img.arcgis.com/arcgis/services/DynamicWebMercator/Indiana_Current_Imagery/ImageServer/WMSServer?FORMAT=image/jpeg&TRANSPARENT=FALSE&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=0&STYLES=&SRS={proj}&WIDTH={width}&HEIGHT={height}&BBOX={bbox}]]></url>
        </mirror>
        <attribution-text>IndianaMap, Indiana Geographic Information Office</attribution-text>
        <attribution-url>https://www.indianamap.org/</attribution-url>
        <icon>https://www.arcgis.com/sharing/rest/content/items/c470d38a730b4a5d839602174ed97d5c/resources/ingov-logo-white.png</icon>
        <max-zoom>19</max-zoom>
        <permission-ref>https://www.in.gov/idoa/proc/bids/RFP-20-051/051_Att%20H%20-%20Summary%20Scope%20of%20Work.docx</permission-ref>
        <privacy-policy-url>https://www.in.gov/core/privacy.html</privacy-policy-url>
        <bounds min-lat='37.76767' min-lon='-88.10005' max-lat='41.76036' max-lon='-84.78458'>
            <shape>
                <point lat='41.76036' lon='-87.52333'/><point lat='39.34764' lon='-87.53163'/><point lat='39.34014' lon='-87.58094'/>
                <point lat='39.30974' lon='-87.60652'/><point lat='39.2417' lon='-87.60515'/><point lat='39.24196' lon='-87.57905'/>
                <point lat='39.2147' lon='-87.57871'/><point lat='39.1318' lon='-87.67501'/><point lat='39.06359' lon='-87.58541'/>
                <point lat='38.96769' lon='-87.58506'/><point lat='38.96796' lon='-87.53236'/><point lat='38.85148' lon='-87.53116'/>
                <point lat='38.7656' lon='-87.49614'/><point lat='38.69422' lon='-87.52017'/><point lat='38.68029' lon='-87.53597'/>
                <point lat='38.6752' lon='-87.56155'/><point lat='38.67225' lon='-87.58172'/><point lat='38.66602' lon='-87.59674'/>
                <point lat='38.65838' lon='-87.60266'/><point lat='38.64772' lon='-87.60446'/><point lat='38.6384' lon='-87.6212'/>
                <point lat='38.58602' lon='-87.62729'/><point lat='38.59353' lon='-87.63622'/><point lat='38.59075' lon='-87.64055'/>
                <point lat='38.57498' lon='-87.63879'/><point lat='38.56727' lon='-87.65317'/><point lat='38.55716' lon='-87.65012'/>
                <point lat='38.54522' lon='-87.67089'/><point lat='38.51964' lon='-87.65459'/><point lat='38.51527' lon='-87.64514'/>
                <point lat='38.48007' lon='-87.71158'/><point lat='38.48021' lon='-87.74076'/><point lat='38.40989' lon='-87.74402'/>
                <point lat='38.36831' lon='-87.78179'/><point lat='38.36199' lon='-87.80874'/><point lat='38.32187' lon='-87.83466'/>
                <point lat='38.29978' lon='-87.82968'/><point lat='38.28186' lon='-87.83775'/><point lat='38.27552' lon='-87.84908'/>
                <point lat='38.27512' lon='-87.85766'/><point lat='38.27903' lon='-87.86418'/><point lat='38.28927' lon='-87.86607'/>
                <point lat='38.30449' lon='-87.85938'/><point lat='38.31096' lon='-87.86333'/><point lat='38.31271' lon='-87.87071'/>
                <point lat='38.30853' lon='-87.87912'/><point lat='38.289' lon='-87.88599'/><point lat='38.26919' lon='-87.90744'/>
                <point lat='38.26771' lon='-87.91585'/><point lat='38.27202' lon='-87.92152'/><point lat='38.2797' lon='-87.91809'/>
                <point lat='38.29344' lon='-87.90882'/><point lat='38.3018' lon='-87.91276'/><point lat='38.30288' lon='-87.92341'/>
                <point lat='38.29304' lon='-87.938'/><point lat='38.25632' lon='-87.94881'/><point lat='38.25625' lon='-87.98881'/>
                <point lat='38.20771' lon='-87.98349'/><point lat='38.18653' lon='-87.96512'/><point lat='38.1733' lon='-87.93611'/>
                <point lat='38.06729' lon='-87.96504'/><point lat='38.05317' lon='-87.99422'/><point lat='38.05242' lon='-88.03533'/>
                <point lat='38.04458' lon='-88.04391'/><point lat='38.03593' lon='-88.04117'/><point lat='38.03187' lon='-88.03361'/>
                <point lat='38.03471' lon='-88.01439'/><point lat='38.0312' lon='-88.00838'/><point lat='38.01551' lon='-88.02417'/>
                <point lat='38.00144' lon='-88.02349'/><point lat='37.96978' lon='-88.01078'/><point lat='37.9572' lon='-88.03636'/>
                <point lat='37.94163' lon='-88.0367'/><point lat='37.91794' lon='-88.0161'/><point lat='37.90846' lon='-88.01954'/>
                <point lat='37.88868' lon='-88.01259'/><point lat='37.88292' lon='-88.02108'/><point lat='37.89511' lon='-88.03361'/>
                <point lat='37.89085' lon='-88.04572'/><point lat='37.89118' lon='-88.05842'/><point lat='37.90771' lon='-88.09541'/>
                <point lat='37.9052' lon='-88.10005'/><point lat='37.84857' lon='-88.06091'/><point lat='37.83772' lon='-88.02623'/>
                <point lat='37.82633' lon='-88.02932'/><point lat='37.82932' lon='-88.09043'/><point lat='37.81521' lon='-88.09009'/>
                <point lat='37.79812' lon='-88.06366'/><point lat='37.81304' lon='-88.0355'/><point lat='37.80057' lon='-88.02177'/>
                <point lat='37.79867' lon='-87.99877'/><point lat='37.76767' lon='-87.95371'/><point lat='37.80301' lon='-87.91946'/>
                <point lat='37.8125' lon='-87.89697'/><point lat='37.89193' lon='-87.93439'/><point lat='37.92728' lon='-87.89886'/>
                <point lat='37.92755' lon='-87.88787'/><point lat='37.87323' lon='-87.83346'/><point lat='37.87296' lon='-87.78333'/>
                <point lat='37.90155' lon='-87.68222'/><point lat='37.89301' lon='-87.6678'/><point lat='37.83948' lon='-87.68351'/>
                <point lat='37.82376' lon='-87.66935'/><point lat='37.82816' lon='-87.61459'/><point lat='37.86951' lon='-87.58206'/>
                <point lat='37.88848' lon='-87.59073'/><point lat='37.91523' lon='-87.6254'/><point lat='37.97493' lon='-87.58781'/>
                <point lat='37.91929' lon='-87.58403'/><point lat='37.90331' lon='-87.54283'/><point lat='37.9048' lon='-87.50026'/>
                <point lat='37.935' lon='-87.45615'/><point lat='37.94244' lon='-87.43537'/><point lat='37.94177' lon='-87.41014'/>
                <point lat='37.93297' lon='-87.38199'/><point lat='37.84084' lon='-87.2026'/><point lat='37.83609' lon='-87.15642'/>
                <point lat='37.77886' lon='-87.12776'/><point lat='37.7828' lon='-87.08244'/><point lat='37.82199' lon='-87.05308'/>
                <point lat='37.9052' lon='-87.03369'/><point lat='37.93148' lon='-86.97206'/><point lat='37.93811' lon='-86.9082'/>
                <point lat='37.98264' lon='-86.86117'/><point lat='37.99874' lon='-86.81482'/><point lat='37.98764' lon='-86.79542'/>
                <point lat='37.93418' lon='-86.77431'/><point lat='37.88881' lon='-86.72693'/><point lat='37.91523' lon='-86.67663'/>
                <point lat='37.90778' lon='-86.64539'/><point lat='37.8506' lon='-86.66547'/><point lat='37.83664' lon='-86.65002'/>
                <point lat='37.85846' lon='-86.59835'/><point lat='37.91238' lon='-86.59629'/><point lat='37.92254' lon='-86.5781'/>
                <point lat='37.91401' lon='-86.52952'/><point lat='37.93202' lon='-86.50205'/><point lat='37.97236' lon='-86.52437'/>
                <point lat='38.04026' lon='-86.5199'/><point lat='38.04539' lon='-86.45124'/><point lat='38.07107' lon='-86.42789'/>
                <point lat='38.08648' lon='-86.42944'/><point lat='38.10174' lon='-86.46343'/><point lat='38.11917' lon='-86.4624'/>
                <point lat='38.12768' lon='-86.44643'/><point lat='38.10296' lon='-86.39888'/><point lat='38.12687' lon='-86.38292'/>
                <point lat='38.12849' lon='-86.33073'/><point lat='38.1486' lon='-86.31837'/><point lat='38.15967' lon='-86.32833'/>
                <point lat='38.16359' lon='-86.36713'/><point lat='38.17924' lon='-86.37863'/><point lat='38.19651' lon='-86.36987'/>
                <point lat='38.19921' lon='-86.35614'/><point lat='38.15454' lon='-86.2861'/><point lat='38.13416' lon='-86.27254'/>
                <point lat='38.0908' lon='-86.28198'/><point lat='38.05391' lon='-86.27031'/><point lat='38.00963' lon='-86.17744'/>
                <point lat='38.01531' lon='-86.1165'/><point lat='37.99996' lon='-86.08131'/><point lat='37.96187' lon='-86.0547'/>
                <point lat='37.95693' lon='-86.04311'/><point lat='37.96234' lon='-86.03419'/><point lat='37.99116' lon='-86.03178'/>
                <point lat='38.00496' lon='-85.94707'/><point lat='38.02471' lon='-85.92184'/><point lat='38.09999' lon='-85.9033'/>
                <point lat='38.15724' lon='-85.90759'/><point lat='38.18599' lon='-85.89403'/><point lat='38.23711' lon='-85.83601'/>
                <point lat='38.26959' lon='-85.83189'/><point lat='38.28145' lon='-85.81712'/><point lat='38.28267' lon='-85.78485'/>
                <point lat='38.2638' lon='-85.75532'/><point lat='38.26663' lon='-85.73455'/><point lat='38.3088' lon='-85.65919'/>
                <point lat='38.43504' lon='-85.60958'/><point lat='38.44916' lon='-85.5828'/><point lat='38.46092' lon='-85.49972'/>
                <point lat='38.50795' lon='-85.46805'/><point lat='38.53038' lon='-85.41968'/><point lat='38.56441' lon='-85.41046'/>
                <point lat='38.6099' lon='-85.43758'/><point lat='38.65509' lon='-85.43758'/><point lat='38.69744' lon='-85.45406'/>
                <point lat='38.72972' lon='-85.43088'/><point lat='38.73494' lon='-85.41406'/><point lat='38.72892' lon='-85.35415'/>
                <point lat='38.73909' lon='-85.30282'/><point lat='38.7399' lon='-85.27673'/><point lat='38.73253' lon='-85.24978'/>
                <point lat='38.69154' lon='-85.21562'/><point lat='38.68498' lon='-85.18232'/><point lat='38.69195' lon='-85.14661'/>
                <point lat='38.73106' lon='-85.08945'/><point lat='38.75918' lon='-85.02405'/><point lat='38.77671' lon='-84.99315'/>
                <point lat='38.77591' lon='-84.93899'/><point lat='38.79511' lon='-84.89015'/><point lat='38.78266' lon='-84.82114'/>
                <point lat='38.78976' lon='-84.8087'/><point lat='38.83009' lon='-84.83033'/><point lat='38.86505' lon='-84.78578'/>
                <point lat='38.88269' lon='-84.78458'/><point lat='38.89765' lon='-84.82363'/><point lat='38.89839' lon='-84.86543'/>
                <point lat='38.91702' lon='-84.87959'/><point lat='38.96542' lon='-84.82955'/><point lat='38.99161' lon='-84.83844'/>
                <point lat='39.05372' lon='-84.89727'/><point lat='39.06292' lon='-84.88998'/><point lat='39.10806' lon='-84.81981'/>
                <point lat='41.76023' lon='-84.80589'/><point lat='41.76036' lon='-87.52333'/>
            </shape>
        </bounds>
    </entry>

You'll note that this has a different root URL (to a "cache" server) which presumably will have better overall performance than the fallback URL.

I would double-check the max zoom though -- the cache server indicates that there are 24 LoD, so the max zoom should be 23 or 24 instead of 19.


Again, the problem is the "manually sync" bit. The time I took responding is more time than it would take to fix the issue, but I'm hoping that it will increase the number of people who can and will update the wiki if there is a perceived need.

comment:2 by taylor.smock, 5 months ago

Component: Wiki contentExternal imagery source

comment:3 by stoecker, 4 months ago

Seems loading iD data causes an exception:

Do ant imageryindexdownload in josm/core:

BUILD FAILED
/home/stoecker/sources/josm/core/build.xml:883: The following error occurred while executing this line:
/home/stoecker/sources/josm/core/build.xml:838: jakarta.json.stream.JsonParsingException: JsonParser#getArray() or JsonParser#getArrayStream() is valid only for START_ARRAY parser state. But current parser state is START_OBJECT
        at org.eclipse.parsson.JsonReaderImpl.readArray(JsonReaderImpl.java:104)
        at SyncEditorLayerIndex.loadELIUsers(SyncEditorLayerIndex.java:401)
        at SyncEditorLayerIndex.main(SyncEditorLayerIndex.java:144)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:220)
        at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:155)
        at org.apache.tools.ant.taskdefs.Java.run(Java.java:892)
        at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:232)
        at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:136)
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:109)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
        at org.apache.tools.ant.Task.perform(Task.java:350)
        at org.apache.tools.ant.Target.execute(Target.java:449)
        at org.apache.tools.ant.Target.performTasks(Target.java:470)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
        at org.apache.tools.ant.Task.perform(Task.java:350)
        at org.apache.tools.ant.Target.execute(Target.java:449)
        at org.apache.tools.ant.Target.performTasks(Target.java:470)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
        at org.apache.tools.ant.Main.runBuild(Main.java:818)
        at org.apache.tools.ant.Main.startAnt(Main.java:223)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
Caused by: java.lang.IllegalStateException: JsonParser#getArray() or JsonParser#getArrayStream() is valid only for START_ARRAY parser state. But current parser state is START_OBJECT
        at org.eclipse.parsson.JsonParserImpl.getArray(JsonParserImpl.java:135)
        at org.eclipse.parsson.JsonReaderImpl.readArray(JsonReaderImpl.java:102)
        ... 37 more

comment:4 by stoecker, 4 months ago

P.S. Note that page ImageryCompare has a link to mapseli, which contains the ELi data as Copy&Paste XML for this wiki ;-)

Will work again after the crash is fixed...

comment:5 by stoecker, 4 months ago

Script error fixed in r19213.

comment:6 by taylor.smock, 4 months ago

Thanks. I was going to look into it after I finished running tests for a change I'm making for #23908.

in reply to:  1 comment:7 by rhythmicbalancer, 4 months ago

Thank you for the fast responses!

Replying to taylor.smock:

It is a wiki. You can edit it.

Of course, and I'll be happy to help, I simply didn't want to duplicate a lot of effort if there's a script that would help :)

What about naming (in)consistency? Preferably they would all be named similarly because they come from the same source (only differ by year), but I noticed ELI has a deviation there, and I wonder if I should adhere to the old JOSM layer names too. Perhaps only the unique IDs are important?

Last edited 4 months ago by rhythmicbalancer (previous) (diff)

comment:8 by taylor.smock, 4 months ago

Yes, the unique ids are the most important bit. Everything else can (realistically) change. With that said, keeping the same name as ELI would help with analysis of imagery used in changesets in the future.

The script we use to look for differences will have warnings about different names, different urls, etc.

comment:9 by rhythmicbalancer, 4 months ago

Working on this. Currently looking into the zoom levels, perhaps I can find that from the source tile metadata.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to rhythmicbalancer.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.