magellan icon indicating copy to clipboard operation
magellan copied to clipboard

Error while importing shapefiles

Open Jonathan-Choi opened this issue 7 years ago • 2 comments

Hi,

I am trying to load in the following shapefile from the Australian Bureau of Statistics, but I am hitting a missing implementation error at this line and I am not sure exactly what the issue is and what I can do to work around it. This is my line of codespark.read.format("magellan").load(s"$shapeFilePath").show to read the file in

Jonathan-Choi avatar Jul 13 '17 01:07 Jonathan-Choi

thanks @Jonathan-Choi , will take a look. I wasn't expecting this code path to be hit, technically the shape file spec allows for a null shape but didn't expect any real dataset to have this. Will dig into the shape file you posted a bit and see what is going on

harsha2010 avatar Jul 15 '17 18:07 harsha2010

Thanks @harsha2010 for replying, I can confirm that it is due to Null shape and once I removed them using another software, it works as expected. I also wasn't expecting null shape to be included in the dataset.

Jonathan-Choi avatar Jul 16 '17 10:07 Jonathan-Choi