Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-02-2018 03:15 PM
I spent some time today trying to import the Shapefile for California today but it looks like there's a bug with the neo4j importer when finding the file. The file I have ends with a ".shp" but for some reason when I pass the path it it wants to find it with an ".dbf" extention then throws this error:
Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure spatial.importShapefileToLayer
: Caused by: java.io.FileNotFoundException: /gis_osm_buildings_a_free_1.dbf (No such file or directory)
so I renamed the file with the ".dbf" and get the same error:
Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure spatial.importShapefileToLayer
: Caused by: java.io.FileNotFoundException: /gis_osm_buildings_a_free_1.dbf (No such file or directory)
10-03-2018 03:20 AM
Can you give the query you are using to import it ?
Thanks.
09-17-2020 07:18 AM
I have the same error
CALL spatial.importShapefileToLayer('geom',"C:\neo4j\import\shapes\soja17.shp")
the error: Failed to invoke procedure spatial.importShapefileToLayer
: Caused by: java.io.FileNotFoundException: C:\neo4j\import\shapes\soja17.dbf (No such file or directory)
All the sessions of the conference are now available online