ArcGIS Online is a cloud-based mapping and analysis solution. Use it to make maps, to analyze data, and to share and collaborate. Get access to workflow-specific apps, maps and data from around the globe, and tools for being mobile in the field.
On this wiki page we describe and explain all aspects of ArcGIS relevant to the Smart Parks stack. For more details on all other aspects of ArcGIS we'd like to refer to their own documentation.
Within the Smart Parks Stack the integration to ArcGIS needs to be properly configured to offer the wide variety of features.
https://
<featurelayer-url>
/addFeatures
application/x-www-form-urlencoded
let input = msg.payload;
msg.payload = {};
let features = {};
// features
features = [
{
"geometry": {
"x": input.object.longitude,
"y": input.object.latitude
},
"attributes": {
"pDOP": input.object.pDOP,
"hot_retry": input.object.hot_retry,
"fix_time": input.object.fix_time*1000,
"latitude": input.object.latitude,
"active_t": input.object.active_t,
"SIV": input.object.SIV,
"h_acc_est": input.object.h_acc_est,
"ttf": input.object.ttf,
"altitude": input.object.altitude,
"longitude": input.object.longitude,
"fixType": input.object.fixType,
"success": input.object.success,
"cold_retry": input.object.cold_retry,
"deviceName": input.deviceInfo.deviceName,
"devEui": input.deviceInfo.devEui,
"fPort": input.fPort,
"fCnt": input.fCnt,
"data": input.data
}
}
];
msg.payload = {
'features' : JSON.stringify(features),
'f' : "json",
'token' : "API KEY"
};
input = {};
return msg;