Javascript API: Adding a shapefile with more than 1000 points

2209
1
10-22-2014 07:15 AM
CoreySchafer
New Contributor

I am able to add shapefiles with less than 1000 points by using the ArcGIS Portal REST API as shown in this example:
Add shapefile | ArcGIS API for JavaScript

However, there is a 1000 point maxRecordCount through their service. I have tried setting the maxRecordCount in the publishParameters without any luck. I also thought it may be possible to publish our own service with a raised maxRecordCount, but I am not very experienced in publishing custom scripts and did not know whether there was a toolbox that already provided this functionality.

So my question is, is there a way to use the ArcGIS Portal REST API to return more than 1000 records? If not, what would be the best approach to solve this problem?

Thank you!

0 Kudos
1 Reply
DallasShearer
Occasional Contributor

you should be able to edit the service to update the service maxrecordcount. But I've never had a problem publisihing it with the desired number; Typically I set it at 5000.

0 Kudos