Hi All,
I'm relatively new to ArcGIS, and even newer to Python, or Java. I'm trying to convert a geojson file to a more usable format (.shp, .lyr; anything ArcMap can read), but I have absolutely no idea how to do it.
I have found an incredible file that I'm using for a university project, and I'd love to use it - can someone help me? The file is titled "pipelineroute.geojson" and it's located here -> geodatabc/NorthernGatewayPipeline · GitHub
Using (or attempting to use) Ogre (Ogre - ogr2ogr web client) has made my head spin........
Is there anyone who can helpp me convert (or convert the file for me?) Thank you so much in advance
Hi There,
I will write this assuming you have access to ArcGIS for Desktop. In the Toolbox inside of ArcMap or ArcCatalog there is a tool specifically for this purpose called "JSON to features", it is found in the conversion toolbox.
More information can be found here ArcGIS Help (10.2, 10.2.1, and 10.2.2)
Have a great day,
CDB
Thank you so much; unfortunately, this didn't work. I changed the filetype from geojson to json in the properties of the file (converting the original geojson gave an error.) I used both arccatalog and arcmap to convert the altered JSONto features - I got error 001558 - error parsing json file.
Sorry Joshua, I miss spoke that tool is specifically for the JSON created by the Features to JSON tool, or ArcGIS Feature Services. OK so another way you can do it is to use the Data Interoperability tools. If you did a complete installation of ArcGIS for Desktop and also installed the Data Interoperability extension (which resides on the same disc image) The you have the ability to use the Toolbox corresponding to the extension. If you have a license for this and it is enabled in the ArcMap interface then you can use the Data Interop Quick Import to convert from GeoJSON to any other format in the available list.
I hope this helps,
CDB
Hi
GeoJSON always consists of a single object, see here: GeoJSON Specification
If you want all those points then you'll need them to be a feature collection.
With respect to the NZ places the coordinates are wrong too, if the points are anything to do with the attributes.
Regards
Hi Alice,
Thank you for the mapshaper. It is short step and straight forward.
I was able to convert the GeoJSON to shapefile.
Regards,
Almaz
Hi Alice, Joshua and all the others,
You can also use the wonderfull online converter : GeoJSON to SHP Converter Online - MyGeodata Cloud
Work well with a lot of format ! 😃
mapshaper worked like a charm!