node-arcgis
v0.0.2
Published
Node.js implementation for the ArcGIS REST API.
Downloads
2
Readme
node-arcgis
Node.js implementation for the ArcGIS REST API.
##Install
npm install node-arcgis
##Usage
var ArcGIS = require("node-arcgis");
Geocode
To make use of the Geocode API, you can use ArcGIS.Geocode
property. All of the operations that are possible on the ArcGIS REST API: World Geocoding Service are available. The function names correspond with the operation name that is provided as an ArcGIS Geocode service.
- ArcGIS.Geocode.find
- ArcGIS.Geocode.findAddressCandidates
- ArcGIS.Geocode.geocodeAddresses
- ArcGIS.Geocode.reverseGeocode
- ArcGIS.Geocode.suggest
This module provides some defaults. These default will be overwritten if explicitly put in the requestParams object.
Defaults
var _defaultOptions = {
f: "json",
forStorage: false
};
ArcGIS.Geocode.find(requestParams)
See the available params at ArcGIS Geocode Find.
ArcGIS.Geocode.findAddressCandidates(requestParams)
See the available params at ArcGIS Geocode findAddressCandidates.
ArcGIS.Geocode.geocodeAddresses(requestParams)
See the available params at ArcGIS Geocode GeocodeAddresses.
ArcGIS.Geocode.reverseGeocode(requestParams)
See the available params at ArcGIS Geocode ReverseGeocode.
ArcGIS.Geocode.suggest(requestParams)
See the available params at ArcGIS Geocode Suggest.