web map using json

3273
1
10-06-2014 12:58 PM
ElizabethDonahue
New Contributor III

I have a .json file (>60,000 records) from Socrata Open Data API that I want to serve up using javascript (or another language). I have looked at the Web map using JSON sample code (Web map using JSON | ArcGIS API for JavaScript ) but I think there are too many records to add to arcgisonline.  Can someone point me to sample code that use  .json files?

 

Thanks,

 

Beth

1 Reply
RiyasDeen
Occasional Contributor III

Hi Liz,

Number of features seems large for arcgisonline. If the data are points, then you can possibly convert it to CSV file and try adding it to AGOL.I think there are no size limit for CSV files (not sure through).

Another option is using json to feature tool ArcGIS Help (10.2, 10.2.1, and 10.2.2) to convert your json to a shape file. Then split the features into multiple shape files containing no more than 1000 features and add the shape files to AGOL Shapefiles—Help | ArcGIS .

If you have an in house ArcGIS Server then you can publish the whole shape file a map service and add it to AGOL ArcGIS Server web services—Help | ArcGIS

0 Kudos