Project

General

Profile

Bug #3515

Wells levels data file import error, data not updated in the map

Added by Giulio Di Anastasio over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Target version:
Start date:
17/01/2017
Due date:
% Done:

100%

Close

Description

Dear Philippe,
I uploaded the updated excel file of wells level in the basket.

When trying to import, I got the error

Error importing: ""

The same error I got when I tried to import the new shapefile of wells, which first I uploaded in the basket.

I attach here both the files, for your reference

Waiting for your update, thanks

Giulio

Wells water levels as on 09.01.2017.xlsx (22.5 KB) Giulio Di Anastasio, 17/01/2017 16:08

wells 20170117 Giulio.zip (8.67 KB) Giulio Di Anastasio, 17/01/2017 16:08

Associated revisions

Revision 31b068f6 (diff)
Added by Philippe May over 7 years ago

Fixes #3515: map attributes to table column names when importing; also fix an issue with the map when a style for this layer is empty

History

#1 Updated by Philippe May over 7 years ago

  • Assignee set to Giulio Di Anastasio

You need to indicate the table name (well for the shapefile, well_level for the data): click on the pencil icon and you'll get a form with a drop down menu.

When you import a file in the basket, that drop down menu appears so there's no need to go to the pencil icon road.

Ideally, i'll get the software to issue a better error message.

#2 Updated by Philippe May over 7 years ago

I've just seen you've put the table names.
For the data file: OK.
For the shapefile: there's an error message (Error importing: "Entity '<class 'gisaf.models.Well'>' has no property 'wellcode'"), i'm checking now and will get back to you.

#3 Updated by Philippe May over 7 years ago

I think there's a bug: the names of the fields (wellcode) have changed recently.
Sorry for that, working on it.

#4 Updated by Anonymous over 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#5 Updated by Philippe May over 7 years ago

Hopefully it's fixed. I tried on my machine and on the test environment with success.
Giulio, I'll let you try on the production site.

#6 Updated by Philippe May over 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF