Unable to import Shapefiles - "Error while reading the file. May be an unsupported shapefile type. See log."

1168
5
07-14-2019 07:42 PM
MichaelMurphy7
New Contributor II

eclipse.buildId=unknown
java.version=1.8.0_151
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_AU
Framework arguments: -keyring /Users/michaelmurphy/.ce_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -data @noDefault -keyring /Users/michaelmurphy/.ce_keyring -showlocation

Warning
Mon Jul 15 10:29:27 AWST 2019
java.lang.NullPointerException - [ModalContext]

java.lang.NullPointerException
at com.procedural.formats.shapefile.ShapeImportWizardPage$3.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

0 Kudos
5 Replies
ChristianIten
Esri Contributor

Hi michael,

Can you make the file available so that we can verify?

What CE version do you have?

0 Kudos
MichaelMurphy7
New Contributor II

Hi Christian,

Thank you for responding. I’ve attached one of the shapefiles I tried importing. Am using CityEngine 2019 Build ID 5403.

Regards,

Michael Murphy MAIA

Principal  Urban Designer

Studio Eco

m: 0438 992 534 t: 08 9454 3017 web: http://www.studioeco.com.au

0 Kudos
ZorkoSostaric1
Esri Contributor

Michael, shapefile has multiple components (files) and you must have all to be a valid shapefile. See specification for details here or just make sure you include all files named Landgate_Road_Segment.* These will be Landgate_Road_Segment.dbf, Landgate_Road_Segment.prj, Landgate_Road_Segment.shx and any other extensions.

Then we can test your shapefile in CE.

Regards,
Zorko

0 Kudos
MichaelMurphy7
New Contributor II

Hi Zorko,

Please find attached all associated files.

Regards,

Michael Murphy MAIA

Principal  Urban Designer

Studio Eco

m: 0438 992 534 t: 08 9454 3017 web: http://www.studioeco.com.au

0 Kudos
ZorkoSostaric1
Esri Contributor

Michael,

Very brief response (end of my working day). The shapefile now looks good but it may not be the best suited for CityEngine. Here is how it looks in ArcGIS Pro.

Best option would be road centreline rather than road casing.

0 Kudos