I would probably use github.com/neo4j/neo4j-ogm you might have to
bundle/repackage it for OSGi though.
Michael
> Am 03.08.2015 um 19:03 schrieb Max Spring :
>
> Thanks Michael.
> Would you also have a pointer for an OSGi / Neo4j object mapper?
> What I find out there about Spring Data Neo4j OSG
Jonathan,
I saw several things in your setup
1. Neo4j 1.9.x is outdated by at least two years afaik it was meant to run with
Java 7 max only
2. you have to upgrade your store from 1.9 -> 2.0 -> 2.1 -> 2.2 (best by
starting a :
bin/neo4j-shell with -config neo4j.properties -path path/to/db
wh
The error means that it tries to decode a location / geometry using a binary
decoder but that fails as the property is set to double instead.
Michael
> Am 09.08.2015 um 00:02 schrieb Alireza Rezaei Mahdiraji
> :
>
>
> Let me ask you a design kind of question: the nodes in my graph could have
Let me ask you a design kind of question: the nodes in my graph could have
various geometry: point, line, or polygon.
I used the following layer definition (but I am not sure that is the best
way to do it)"
EditableLayer runningLayer = (EditableLayer)
graphDBSpatial.getOrCreat
I used Coordinate coord = new Coordinate(0.0d, 0.0d); as a test location
which is required by
startNearestNeighborLatLonSear (see my first post).
Is that enough?
Alireza
On Saturday, August 8, 2015 at 11:48:24 PM UTC+2, Michael Hunger wrote:
>
> It seems you created the layer with a WKB (wel
It seems you created the layer with a WKB (well known binary) representation
config
but now your location properties are not decodable as WKB because they are
double's ?
Michael
Perhaps you can share a test that reproduces the issue?
> Am 08.08.2015 um 23:26 schrieb Alireza Rezaei Mahdiraji
Here are the stacks for the two cases (very similar):
Exception in thread "main" java.lang.ClassCastException: java.lang.Double
cannot be cast to [B
at
org.neo4j.gis.spatial.WKBGeometryEncoder.decodeGeometry(WKBGeometryEncoder.java:41)
at
org.neo4j.gis.spatial.filter.SearchIntersectWin
Jimmy,
please raise a GitHub issue for a better error message (if you haven't already).
Michael
> Am 05.08.2015 um 16:49 schrieb Jimmy Delas :
>
> Hi
>
> I wanted to backup my neo4j database but missed to change user permissions to
> the imported db so it was owned by another user than neo4j.
Try to upgrade first (2.2.3 or 2.2.4 which should be out next week).
If the issue persists please ping us again.
> Am 07.08.2015 um 10:41 schrieb dcarba...@alto-analytics.com:
>
> Hi Michael,
>
> Thanks for your answer,
>
> The thing is that we build a new embedded neo4j db in a folder, we ex
Can you provide the full stacktrace.
Michael
> Am 07.08.2015 um 13:19 schrieb Alireza Rezaei Mahdiraji
> :
>
>
> Hi,
>
> I get the following cast exception while using
> startNearestNeighborLatLonSearch method:
>
> Exception in thread "main" java.lang.ClassCastException: java.lang.Double
Only nodes are supported to have a location, not relationships.
What exactly do you want to do?
Michael
> Am 07.08.2015 um 17:07 schrieb William Queen :
>
> Hello, I began studying Neo4j in order to make a routing service, I then
> learned about Spatial plugin, but I am having a lot of difficu
Hello, I began studying Neo4j in order to make a routing service, I then
learned about Spatial plugin, but I am having a lot of difficulty to find
examples on how to add points with latitude and longitude and weight to
relationships. I often find code using REST api, but I wanted to use Cypher.
12 matches
Mail list logo