I'm trying to import a GeoJSON file into ArcGIS Pro (3.3.0) using the GeoJSON to Feature tool. My GeoJSON file is an output from the USGS Time of Travel beta application. The file is 4.87Mb, and I can open the file with a text viewer to see a lot of data. When I run the tool, a warning is returned saying the output is empty. A feature is created, but the attribute table contains 0 rows. The tool doesn't have a lot of options, so I'm thinking there is an issue with the source file. Any suggestions?
Solved! Go to Solution.
I grabbed some data of my own and it ran through JSON to Features with the geometry type set to Point for one set of features and Polyline for another. The points were attributed and the lines were not. Maybe try that tool and see if it meets your requirements.
If you pick regular JSON then it'll assume the file is using ESRI's internal JSON format, so it won't produce any meaningful results with GeoJSON.
I grabbed some data of my own and it ran through JSON to Features with the geometry type set to Point for one set of features and Polyline for another. The points were attributed and the lines were not. Maybe try that tool and see if it meets your requirements.
When searching for this tool in ArcGIS Pro, the tool is called JSON to Feature, and you have the option to upload either a JSON or a GeoJSON. If you select a GeoJSON, you get the extra option of selecting the geometry. I altered my file extension to .json instead of .geojson to see how the tool would handle it. The error message I received is 001337: The maximum record length has been exceeded. I'm not sure how to interpret that error in regards to my input.
If you pick regular JSON then it'll assume the file is using ESRI's internal JSON format, so it won't produce any meaningful results with GeoJSON.