Select to view content in your preferred language

BUG: Geojson to feature class

321
1
09-19-2023 09:14 AM
Labels (1)
ChelseaWu2
New Contributor

I recently received a geojson file from a client. When converting to a feature class, the output was not right. 

I am using Arc Pro 3.1.1, geoprocessing tool: "JSONToFeatures", "BatchImportData" , both gave me the same output. I think this is a bug. 

{ "type": "Feature", "properties": { "Acres": 102.2, "Active": true, "Cert_ID": "XXXXX" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -.......] ] ] ] } },
{ "type": "Feature", "properties": { "Acres": 130.5, "Active": true, "Cert_ID": "AAAAA" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ ...] ] ] ] } },
{ "type": "Feature", "properties": { "Active": true, "Cert_ID": "CCCCC" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [  ] ] ] ] } },
{ "type": "Feature", "properties": { "Acres": 152.7, "Active": true, "Cert_ID": "BBBBB" }
 
Here is the part of the output feature class attributes: (noticed that for the objectID 23, the Acres needs to be null (or NA), but the output duplicates the previous value. Also, wondering why the Active column value was set to '-1' either).
 

ChelseaWu2_0-1695139627096.png

 

Tags (1)
0 Kudos
1 Reply
ChelseaWu2
New Contributor

if using geopandas to convert to shapefile, it resulted in the correct output. 

ChelseaWu2_0-1695147912239.png

 

0 Kudos