Closed larsop closed 1 year ago
A picture showing what the user did
Hi,
The improved error message pinpoints the problem in the input JSON :
The third (last) polygon first associated feature of avgrensesAvArealressursGrense
has the featuretype avgrensesAvArealressursGrenseFiktiv
...
{
"type": "Feature",
"update": {
"action": "Replace"
},
"geometry": { },
"properties": {
"opphav": "samf",
"treslag": "98",
"arealtype": "12",
"featuretype": "ArealressursFlate",
"skogbonitet": "98",
"grunnforhold": "98",
"datafangstdato": "2015-08-18",
"identifikasjon": {
"lokalId": "3535501a-fb13-4a8c-bbba-ae574b243157",
"versjonId": "1970-01-01 00:00:00000"
},
"oppdateringsdato": "2023-02-27T14:31:37",
"verifiseringsdato": "2015-08-18",
"registreringsversjon": "2014-03-01",
"klassifiseringsmetode": "sOrto",
**"avgrensesAvArealressursGrense"**: [
{
"idx": [
0,
0,
0
],
"lokalId": "668af1ba-41a2-42dc-82af-93e20881fefb",
"reverse": true,
"featuretype": **"ArealressursGrenseFiktiv"**
},
Feilmelding vi får er
Here are request and response info
The file we send over is this
ls -lah --full-time /tmp/ar5_upadteDatasetFeatures_FAIL_UTF-81684479063956.json -rw-r--r-- 1 tomcat tomcat 40K 2023-05-19 08:51:03.953965923 +0200 ar5_upadteDatasetFeatures_FAIL_UTF-81684479063956.json.gz
The last two files with data uploaded from ngis openapi before drawing and bbox.
ar5_pg_OK_USER_REQUEST_A7C9C14B1201E635828D11536F9D650B_a8f7d1eb-a6b0-4f44-abc2-d688108eae9f_dataset_6aa8e2a7-8dcc-4681-918b-880403285016__UTF-8_1684479043985.json.gz ar5_pg_OK_USER_REQUEST_A7C9C14B1201E635828D11536F9D650B_a8f7d1eb-a6b0-4f44-abc2-d688108eae9f_dataset_6aa8e2a7-8dcc-4681-918b-880403285016__UTF-8_1684479043985.bbox.gz ar5_pg_OK_USER_REQUEST_A7C9C14B1201E635828D11536F9D650B_1e5684e1-86d7-49e6-a2b1-694e4ee2ad20_dataset_f8283036-6979-47cb-9988-eca6200505cf__UTF-8_1684478969330.json.gz ar5_pg_OK_USER_REQUEST_A7C9C14B1201E635828D11536F9D650B_1e5684e1-86d7-49e6-a2b1-694e4ee2ad20_dataset_f8283036-6979-47cb-9988-eca6200505cf__UTF-8_1684478969330.bbox.gz
The new line from the user added was this request