I created a resource model and downloaded the mapping that is the following
one
{
"resource_model_id": "60735865-d6a4-11e8-9a77-28c2dd245e5f",
"resource_model_name": "Heritage Building",
"nodes": [
{
"arches_nodeid": "e6e4d9ac-d6a6-11e8-9a77-28c2dd245e5f",
"arches_node_name": "Address",
"file_field_name": "Address",
"data_type": "string",
"export": true
},
{
"arches_nodeid": "2390e01e-d6a5-11e8-9a77-28c2dd245e5f",
"arches_node_name": "Name",
"file_field_name": "Name",
"data_type": "string",
"export": true
},
{
"arches_nodeid": "cf5094b8-d6a4-11e8-9a77-28c2dd245e5f",
"arches_node_name": "Place",
"file_field_name": "Place",
"data_type": "geojson-feature-collection",
"export": true
}
]
}
Than I created the .csv file with an instance of the resource that is
ResourceID,Address,Name,Place
1,Corso Duca degli Abruzzi,Politecnico di
Torino,"POLYGON((7.662824177554853 45.06315772504921,7.66140797119499
45.0636275631809,7.662008786014326 45.06447629324387,7.661171936801679
45.064749096659526,7.65889742355705 45.06162693531988,7.660184883884199
45.06117223740586,7.6608929870641305 45.06215741164907,7.661837124637373
45.0618391264422,7.662824177554853 45.06315772504921))"
Finally I tryed to execute the command
python manage.py packages -o import_business_data -s
/home/matteo/Projects/test1.csv -ow OVERWRITE -c
/home/matteo/Projects/HeritageResourceModel.mapping
But i keep obtaining the error
Tue Oct 23 04:29:30 2018 WARNING: Place is null or not mapped on rows 2,2
and participates in a display value function.
Tue Oct 23 04:29:30 2018 WARNING: Name is null or not mapped on rows 2 and
participates in a display value function.
Tue Oct 23 04:29:30 2018 WARNING: Address is null or not mapped on rows 2,2
and participates in a display value function.
How can i solve this problem?
--
-- To post, send email to [email protected]. To unsubscribe, send
email to [email protected]. For more information,
visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.