Converting GeoJSON (or shapefile) data to FeatureLayer

I am creating an interactive map using ArcGIS and React.

Presently, I am creating a GeoJSONLayer. However, I’m now trying to use a UniqueValueRenderer for some of the layers. From the docs, it appears the UniqueValueRenderer does not work with GeoJSON layers.

Is it possible to convert GeoJSON (or shapefile) data into a FeatureLayer and, if so, how do you do it?

Geographic Information Systems Asked on November 14, 2021

1 Answers

One Answer

The documentation is incorrect and will be fixed. You can use UniqueValueRenderer just fine with GeoJSONLayer. No need to convert the GeoJSON.

Answered by Bjorn Svensson on November 14, 2021

Add your own answers!

Related Questions

How to undo misclicks while drawing a polygon?

2  Asked on July 10, 2021 by simskopf


GDAL import error, broken both python script and Qgis

0  Asked on July 9, 2021 by justin-larking


Defra LiDAR – Convert DTM to PointCloud?

0  Asked on July 9, 2021 by steve-hibbert


Rotating set of polygons as a block

1  Asked on July 9, 2021 by serge-de-gosson-de-varennes


Longitude/latitude to esriMeter

0  Asked on July 9, 2021 by kron_ninja


Map Projection invented by woman

1  Asked on July 8, 2021 by daniele-turchetti


module ‘rasterio’ has no attribute ‘open’

1  Asked on July 8, 2021 by rim-zayani


Ask a Question

Get help from others!

© 2021 All rights reserved.