Ability to upload local dataset (eg shapefile, pGDB) to a JS map?

1827
2
06-13-2011 05:58 PM
StephenLead
Regular Contributor III
Using the JavaScript API, is there an ability for the user to upload a local dataset? Eg a shapefile or personal geodatabase on the user's PC.

A user is asking for this, but I haven't seen this in any samples, including ArcGIS.com.

The "drag and drop" sample at http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/exp_dragdrop.html shows this working with images and CSV files. Is this a possible avenue for loading shapefiles?

Thanks,
Steve
0 Kudos
2 Replies
nicogis
MVP Frequent Contributor
with html5 now you can read file from drag and drop

here these is an example:
http://badassjs.com/post/845509816/rendering-binary-shapefiles-with-javascript
0 Kudos
StephenLead
Regular Contributor III
thanks for the tip - looks promising
0 Kudos