POST
|
Thanks for the replies. Some info: Server version: 10.7.1 There is 87GB of space left Logs are being generated We did resolve the issue this morning. The VPS on which the datastore was installed was not responding/operating correctly. After rebooting the VPS everything operated normally. The logs are now available in the manager and on the REST-endpoint. Even though we fixed the issue, we're not quite sure what role the datastore has in correlation to the logging and why an unreachable datastore(server) would impact the retrieval of the logs. Maybe you could shine some light on this. Anyway, thanks for the help!
... View more
09-28-2020
04:38 AM
|
1
|
0
|
3960
|
POST
|
Hi, Somehow our ArcGIS Server doesn't return logs anymore. This is the case in the manager and on the REST endpoint (which is no surprise, as the manager seems to use this endpoint as well). Instead of logs the server is just infinitely 'pending': Does anyone have an idea of what te problem could be? Tried rebooting the server but this didn't help.
... View more
09-24-2020
08:56 AM
|
0
|
7
|
4024
|
POST
|
Hi Earl, thanks for your reply. I pasted the value for features = response_featuredata_dict["features"] below. As you can see it is a list with dictionaries describing features which have the two components that are needed to add a feature; "attributes" and "geometry". As far as I can see this structure follows the same structure that is required for the addFeatures-endpoint to work (Add Features—ArcGIS REST API: Services Directory | ArcGIS for Developers ). I think the problem lies somehwere in the way the url-request is encoded, but I don't understand exactly how/why. To clarify: if I write the variable features = response_featuredata_dict["features"] to a json-file > open it > paste the json manually on the addFeatures-endpoint, everything works just fine (I also tried removing the esri-reserved fields objectid and shape__length from the dict, but same result). [
{
"attributes" : {
"OBJECTID" : 1,
"testveld1" : null,
"testveld2" : null,
"testveld3" : null,
"testveld4" : null,
"testveld5" : null,
"Shape__Length" : 0.233080015281243
},
"geometry" :
{
"paths" :
[
[
[5.75271606445174, 53.1577808372716],
[5.98068237304519, 53.2063365338456]
]
]
}
},
{
"attributes" : {
"OBJECTID" : 2,
"testveld1" : "pioh",
"testveld2" : 3,
"testveld3" : null,
"testveld4" : 1551774600000,
"testveld5" : "domein1",
"Shape__Length" : 0.0814480403011684
},
"geometry" :
{
"paths" :
[
[
[6.26358032226356, 53.2642844121363],
[6.2779998779276, 53.1841229520489]
]
]
}
},
{
"attributes" : {
"OBJECTID" : 3,
"testveld1" : null,
"testveld2" : null,
"testveld3" : null,
"testveld4" : null,
"testveld5" : null,
"Shape__Length" : 0.221553255888095
},
"geometry" :
{
"paths" :
[
[
[5.73348999023302, 53.0216975033831],
[5.94703674316242, 53.0807197831419]
]
]
}
},
{
"attributes" : {
"OBJECTID" : 4,
"testveld1" : null,
"testveld2" : null,
"testveld3" : null,
"testveld4" : null,
"testveld5" : null,
"Shape__Length" : 1.0799569282187
},
"geometry" :
{
"paths" :
[
[
[5.75340270995956, 53.2601772176945],
[5.63873291015502, 53.2679805498839],
[5.73692321777208, 53.2273054601658],
[5.55976867675669, 53.2342928214055],
[5.60028076171757, 53.1437800104326],
[5.67375183105341, 53.1717770993397],
[5.51582336425675, 53.1989332854727],
[5.61882019042849, 53.2207280784468],
[5.62156677245973, 53.2437444951522],
[5.71769714355335, 53.2782459228982],
[5.82550048827977, 53.2449771682925]
]
]
}
}
] I shared the featureservices in my example code with everyone. If it helps in your reply/tests; feel free to use them.
... View more
03-12-2019
03:15 AM
|
0
|
3
|
1807
|
Title | Kudos | Posted |
---|---|---|
1 | 09-28-2020 04:38 AM |
Online Status |
Offline
|
Date Last Visited |
11-25-2020
08:39 AM
|