node-red-contrib-arcgis-rest 1.0.6

Utilizes ArcGIS REST JS to query,delete,update or insert rest data

npm install node-red-contrib-arcgis-rest

On Github node-red-arcgis-rest
On npm node-red-arcgis-rest

This node leverages The ArcGIS Rest js API to return the following functions:

To install use npm,

npm install node-red-contrib-arcgis-rest

Use the following link for proper documentation on both ArcGIS Rest js and ArcGIS Rest

ArcGIS Rest API Documentation

ArcGIS Rest Js GitHub

All functions use the msg.arcgis array it is possible to set more values than what is listed but not everything has been tested out

For all options the output returns to the following:

msg.arcgis.response

msg.arcgis.error

msg.arcgis.errorDetails

If the service requires authentication pass the following to:

msg.arcgis.authentication.server (required)

msg.arcgis.authentication.username (required)

msg.arcgis.authentication.password (required)

msg.arcgis.authentication.tokenDuration (required)

Query Features:

queryFeatures

Pass the following to query back features from a rest service

msg.arcgis.queryFeatures.url

msg.arcgis.queryFeatures.where

Update Features:

updateFeatures

Pass the following to update features to a rest service

msg.arcgis.updateFeatures.url (required)

msg.arcgis.updateFeatures.features[0].attributes.ObjectId (required)

msg.arcgis.updateFeatures.features[0].attributes.GlobalID (optional)

msg.arcgis.updateFeatures.features[0].attributes.[COLUMN NAME] (optional)

msg.arcgis.updateFeatures.features[0].geometry.x (optional)

msg.arcgis.updateFeatures.features[0].geometry.y (optional)

msg.arcgis.updateFeatures.features[0].geometry.spatialReference.wkid (required if passing x,y)

Add Features:

addFeatures

Pass the following to add features to a rest service

msg.arcgis.addFeatures.url (required)

msg.arcgis.addFeatures.features[0].attributes.[COLUMN NAME] (optional)

msg.arcgis.addFeatures.features[0].geometry.x (optional)

msg.arcgis.addFeatures.features[0].geometry.y (optional)

msg.arcgis.addFeatures.features[0].geometry.spatialReference.wkid (required if passing x,y)

Delete Features:

deleteFeatures

Pass the following to delete features to a rest service

msg.arcgis.deleteFeatures.url (required)

msg.arcgis.deleteFeatures.objectIds[0] (required)

Get Attachments:

getAttachments

Pass the following to return attachment features from a rest service

msg.arcgis.getAttachments.url (required)

msg.arcgis.getAttachments.featureId (required)

Query Related:

queryRelated

Pass the following to return related records from a rest service

msg.arcgis.queryRelated.url (required)

msg.arcgis.queryRelated.objectIds[0] (required)

Node Info

Version: 1.0.6
Updated 2 years, 6 months ago
Rating: 5.0 1

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • ArcGIS-Rest-Feature-Layer

Keywords

  • node-red

Maintainers