[OSM-talk] JOSM plugin to import GeoJSON?

Blake Girardot bgirardot at gmail.com
Thu Mar 24 15:01:21 UTC 2016


We run into geojson all the time as an interchange format.

I was not aware of the plugin somehow, but I just tried it out and it 
worked fine for the geojson generated by Field Papers and another 
community member reports that she has used it a great deal with Field 
Papers and it worked great.

I just tried it with a few geojson files generated from JOSM and it does 
not seem to import those (example attached)

Cheers,
Blake

On 3/6/2016 12:56 AM, Stefan Keller wrote:
> To Ian and/or anybody
>
> I'm searching a plugin to import GeoJSON vector data into JOSM.
>
> I of course know Shapefiles but they are deprecated because e.g. they
> cut-off field names at 10 chars. GeoJSON or GeoPackage are better
> alternatives.
>
> Is this plugin still maintained: https://github.com/iandees/josm-geojson ?
> Other plugins or alternatives?
>
> :Stefan
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk
>
-------------- next part --------------

{
    "type":"FeatureCollection",
    "crs":{
        "type":"name",
        "name":"EPSG:4326"
    },
    "generator":"JOSM",
    "features":[
        {
            "type":"Feature",
            "properties":{
            },
            "geometry":{
                "type":"LineString",
                "coordinates":[
                    [
                        34.39455,
                        -21.23088
                    ],
                    [
                        34.11719,
                        -21.06965
                    ],
                    [
                        34.10904,
                        -21.10852
                    ],
                    [
                        34.08997999999999,
                        -21.12866
                    ],
                    [
                        34.05608,
                        -21.149719999999995
                    ],
                    [
                        34.03801,
                        -21.17419
                    ],
                    [
                        34.03241,
                        -21.231279999999998
                    ],
                    [
                        33.9835372,
                        -21.3199553
                    ],
                    [
                        34.008590000000005,
                        -21.31264
                    ],
                    [
                        34.0501294,
                        -21.3036911
                    ],
                    [
                        34.08934,
                        -21.293280000000003
                    ],
                    [
                        34.13111,
                        -21.30658
                    ],
                    [
                        34.1481282,
                        -21.3261484
                    ],
                    [
                        34.18078,
                        -21.315459999999998
                    ],
                    [
                        34.21064,
                        -21.29569
                    ],
                    [
                        34.22131999999999,
                        -21.27627
                    ],
                    [
                        34.22472,
                        -21.272609999999997
                    ],
                    [
                        34.25293,
                        -21.27256
                    ],
                    [
                        34.27975,
                        -21.288340000000005
                    ],
                    [
                        34.30894000000001,
                        -21.312030000000004
                    ],
                    [
                        34.3301868,
                        -21.3177579
                    ],
                    [
                        34.34999,
                        -21.290280000000003
                    ],
                    [
                        34.38400864274337,
                        -21.262989190020335
                    ],
                    [
                        34.39455,
                        -21.23088
                    ]
                ]
            }
        }
    ]
}


More information about the talk mailing list