Skip to content

Commit

Permalink
#390 cvs header option
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Jan 9, 2017
1 parent 8309a40 commit bb2c307
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion DialogTools/CsvFieldConfDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,8 @@ void CsvFieldConfDlg::OnHeaderCmbClick( wxCommandEvent& event )
HEADERS = (int)(event.GetSelection());

PrereadCSV(HEADERS);


UpdateFieldGrid();
UpdatePreviewGrid();
UpdateXYcombox();

Expand Down
9 changes: 5 additions & 4 deletions ShapeOperations/OGRLayerProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,11 @@ OGRLayerProxy::AddFeatures(vector<OGRGeometry*>& geometries,
int time_step = 0;

if (col_pos < 0) {
wxString msg = wxString::Format(_(" Save column %s failed. Please check your data, or contact GeoDa team."), fname);
error_message << msg;
export_progress = -1;
return;
//wxString msg = wxString::Format(_(" Save column %s failed. Please check your data, or contact GeoDa team."), fname);
//error_message << msg;
//export_progress = -1;
//return;
continue;
}

vector<bool> undefs;
Expand Down

0 comments on commit bb2c307

Please sign in to comment.