Modify

Opened 2 years ago

#22254 new defect

The GeoJSON contains an object with property 'overlap' whose value has the unsupported type 'JsonObjectImpl'. That key-value pair is ignored!

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core geojson Version:
Keywords: geojson Cc:

Description

What steps will reproduce the problem?

Load a Geojson file like it.

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "properties": {
        "sample": {
          "test1": 1,
          "test2": 2
        }
      },
      "geometry": {
        "type": "LineString",
        "coordinates": [
          [
            110,
            10
          ],
          [
            110.0001,
            10.000001
          ]
        ]
      }
    }
  ]
}

What is the expected result?

The root["features"][0]["properties"]["sample"] is shown in tags/membership.

What happens instead?

JOSM can not recognize root["features"][0]["properties"]["sample"].

The GeoJSON contains an object with property 'overlap' whose value has the unsupported type 'JsonObjectImpl'. That key-value pair is ignored!

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-07-07 23:02:39 +0200 (Thu, 07 Jul 2022)
Revision:18513
Build-Date:2022-07-08 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18513 en) Linux Ubuntu 20.04.4 LTS
Memory Usage: 4010 MB / 7958 MB (2199 MB allocated, but free)
Java version: 11.0.15+10-Ubuntu-0ubuntu0.20.04.1, Private Build, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 2560×1600 (scaling 1.00×1.00)
Maximum Screen Size: 2560×1600
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
Environment variable LC_ALL: 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: KDE
Java package: openjdk-11-jre:amd64-11.0.15+10-0ubuntu0.20.04.1
Java ATK Wrapper package: libatk-wrapper-java:all-0.37.1-1
libcommons-compress-java: libcommons-compress-java:all-1.19-1
libcommons-logging-java: libcommons-logging-java:-
fonts-noto: fonts-noto:-
Dataset consistency test: No problems found

Plugins:
+ ext_tools (35893)

Last errors/warnings:
- 00018.423 W: Ext_Tools warning: can not load file <josm.userdata>/plugins/ext_tools/tools.cfg
- 00018.424 W: Ext_Tools warning: can not load file <josm.userdata>/plugins/ext_tools/repo.cfg
- 20564.538 W: The GeoJSON contains an object with property 'overlap' whose value has the unsupported type 'JsonObjectImpl'. That key-value pair is ignored!
- 20780.283 W: The GeoJSON contains an object with property 'overlap' whose value has the unsupported type 'JsonObjectImpl'. That key-value pair is ignored!

Attachments (0)

Change History (0)

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 anonymous.
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.