spatial icon indicating copy to clipboard operation
spatial copied to clipboard

install spatial plugin

Open mandkoch opened this issue 10 years ago • 4 comments

Dear community, I'm just a beginner in neo4j and failed with installing the spatial plugin. I've used maven, maven seems to load all depencies but had troubles with integrating something in neo4j, just see the attachment. I can see new shapefiles in the plugin folder but I can't work with them in neo4j. Does anybody know what I've doing wrong? fehler

mandkoch avatar Mar 12 '15 09:03 mandkoch

Can you share the full output?

In general the spatial plugin is released to a repository, so you can also just pull the fitting zip for your server from there.

see: https://github.com/neo4j-contrib/m2/tree/master/releases/org/neo4j/neo4j-spatial

jexp avatar Mar 12 '15 09:03 jexp

@jexp have you tested spatial plugin with Neo4j 2.2.0? We cannot get it working after the upgrade :(

We receive this error: No such property, 'bbox_abc'. We are not using this property anywhere in our code (just FYI).

dusterio avatar Mar 31 '15 05:03 dusterio

We'll have to provide a new release with id.

jexp avatar Apr 03 '15 11:04 jexp

Axel made a new release for 2.2 a couple of days ago. Have a look at the readme, as it has new references to the downloads for 2.2.

Also, the spatial plugin does not upgrade the spatial structures like neo4j itself does, so you need to re-import your spatial data if you are upgrading from an older release.

In the case of the bbox_abc, this is as a result of us making the internal bbox property configurable, and if you do not specify the configuration, it defaults to bbox_abc. It might be possible by manually editing your layer node properties, to change your layer config to match your older database settings. If it is hard or inconvenient for you to re-import your data, then this is worth trying. Just explore the layer tree in a graph visualizer (like the neo4j browser) and find out what bbox property is being used on your geometry nodes. Then add that property to the config string on the layer node. The chances are high that you were using 'bbox' before, so you need to replace the geomencoder_config with one containing the 'bbox' value at the end of the ':' separated list of fields.

craigtaverner avatar Apr 06 '15 14:04 craigtaverner