minerva icon indicating copy to clipboard operation
minerva copied to clipboard

Better error handling in geojson conversion

Open mgrauer opened this issue 9 years ago • 4 comments

@jeffbaumes noticed this today with some dirty data. Add some exception handling in the object conversion code, log any exceptions, and proceed past the bad row.

Either that, or get cleaner data. :shower:

mgrauer avatar Jan 13 '16 02:01 mgrauer

@mgrauer I already have created a issue for it https://github.com/Kitware/minerva/issues/252

aashish24 avatar Jan 13 '16 02:01 aashish24

Its not the problem that we are getting bad data

aashish24 avatar Jan 13 '16 02:01 aashish24

This was a separate issue to #252, there was data that didn't have the mapped "latitude" and "longitude" fields on certain rows, and would cause the entire dataset conversion to fail. Instead, those rows should be skipped during conversion. I think there was an issue of some incorrect formats of lat/long values also for certain rows.

mgrauer avatar Jan 13 '16 03:01 mgrauer

his was a separate issue to #252, there was data that didn't have the mapped "latitude" and "longitude" fields on certain rows, and would cause the entire dataset conversion to fail. Instead, those rows should be skipped during conversion. I think there was an issue of some incorrect formats of lat/long values also for certain rows.

Ah okay, sorry for the noise then.

aashish24 avatar Jan 13 '16 03:01 aashish24