I've been trying to use the 'JSON to Feature' tool in ArcGIS Pro to convert a layer from a vector tile custom basemap into a feature class that can be added into the map for various data management purposes. However, the tool fails midway through the process and returns 'ERROR 001558: Error parsing json file' due to structure of the input JSON file. Any ideas how I might better define spatialReference, geometryType, and fields in the code below?
Here's my JSON code: *this is a subset taken from the JSON code for entire custom basemap*
{
"version": 8,
"sources": {
"esri": {
"type": "vector",
}
},
"layers": [
{
"id": "Marine area/1",
"type": "line",
"source": "esri",
"source-layer": "Marine area",
"layout": {
"visibility": "visible",
"line-cap": "butt"
},
"paint": {
"line-color": "#768682",
"line-width": 4
}
}
]
}
Anybody know if it is possible to convert an individual layer from a custom vector tile basemap into a feature class? And if so, how I might modify this code to be compatible with the 'JSON to Feature' tool in Pro?
Thanks