dominodeorg / dominode

Development of the Dominica SDI
0 stars 7 forks source link

Some multitype lines cannot be uploaded to the staging schema because the model just accept Stringline #140

Open l-fawcett opened 3 years ago

l-fawcett commented 3 years ago

By creating a manual multiple stringline vector layer it worked. - We were working with water pipelines - Could be maybe a problem with the layer? https://issues.qgis.org/issues/4125 This link help to convert fro multiparts to singleparts and after try it it still be a multistring line.

gubuntu commented 3 years ago

If the data being modelled (water pipelines) should be multilinestring then the database geometry type should be multilinestring and any records you add must match that type

l-fawcett commented 3 years ago

Thanks Gavin! We uploaded the layer as a multilinestring with "drag and drop" and it worked. As you said, the database accept that type of geometry and we didn't have to preprocess it. The problem is while using the model "import vector layer" we got this error: image

Seems that it expects stringlines only.