I have downloaded a GeoJSON file of public transportation stops in a specific region and want to import it to ArcMap as a feature layer. I tried the JSON To Features tool. Unfortunately this gives me this error code:
ERROR 001558: Error parsing json file 'D:\Eigene Dokumente\ArcGIS\Datensätze\GIS I\GIS Projekt\public-transportation\public-transport-stops.json'. Expected to find comma, colon or start of array; state : Empty; buffer : <?xml version="1.0" encoding="UTF-8"?>
Failed to execute (JSONToFeatures).
Looking up the error, it tells me the following:
So, I guess it has to be in a different format. I didn’t find a way to import my data yet. I’m sure a lot of people use ArcMap with Openstreetmap data, how do you import coordinates?
For ArcMap, I would really recommend you to download a Geofabrik bzipped XML file, or create an OSM XML file with any of the Open Source tools like Overpass Turbo, and then use the ArcGIS Editor For OpenStreetMap toolbox to import the XML file:
You can use both the Load OSM File and the OSM File Loader (Load Only) import tools, both of which create a File Geodatabase with Point, Line and Polygon feature classes for the data in the XML file. The latter tool has advantages for very big files, as it can run on multiple cores if you set the Geoprocessing “Parallel Processing” environment variable. The former is needed if you want to create a Network Dataset with the tool included in that toolbox for that purpose (I haven’t actually done this ever, and some people have reported issues trying to create such Network Dataset. Normal imports using the tools should be fine though).