I'm using spring-data-neo4j in a project, and decided today that I needed to attach a point to various entities. So, I added –spatial to my pom, and tried to add this in an entity:
@Indexed(type = POINT, indexName = "VenueLocation") String wkt;
The problem is that "POINT" is undefined. Am I somehow missing libs? The dependency is present, I have the "gis" package available to me.
> I'm using spring-data-neo4j in a project, and decided today that I needed to attach a point to various entities. So, I added –spatial to my pom, and tried to add this in an entity:
> @Indexed(type = POINT, indexName = "VenueLocation") String wkt;
> The problem is that "POINT" is undefined. Am I somehow missing libs? The dependency is present, I have the "gis" package available to me.
Thanks, I'll look at that then. Yes, version 2.0.0.RELEASE.
Matt MacKenzie
From: Michael Hunger <michael.hun...@neotechnology.com<mailto:michael.hun...@neotechnology.com>>
Reply-To: <neo4j@googlegroups.com<mailto:neo4j@googlegroups.com>>
Date: Thu, 10 May 2012 20:24:24 +0200
To: <neo4j@googlegroups.com<mailto:neo4j@googlegroups.com>>
Subject: Re: [Neo4j] GeoNewb Question
Matt,
you use spring-data-neo4j, right? Which version?
IndexType.POINT should work, you probably just miss a static import.
Michael
Am 10.05.2012 um 20:10 schrieb Matt MacKenzie:
Hi,
I'm using spring-data-neo4j in a project, and decided today that I needed to attach a point to various entities. So, I added –spatial to my pom, and tried to add this in an entity:
@Indexed(type = POINT, indexName = "VenueLocation") String wkt;
The problem is that "POINT" is undefined. Am I somehow missing libs? The dependency is present, I have the "gis" package available to me.
Hmm… "The attribute type is undefined for the annotation type Indexed" (compile error). The Indexed annotation is coming from org.springframework.data.neo4j.annotation.*…
Matt MacKenzie
From: Michael Hunger <michael.hun...@neotechnology.com<mailto:michael.hun...@neotechnology.com>>
Reply-To: <neo4j@googlegroups.com<mailto:neo4j@googlegroups.com>>
Date: Thu, 10 May 2012 20:24:24 +0200
To: <neo4j@googlegroups.com<mailto:neo4j@googlegroups.com>>
Subject: Re: [Neo4j] GeoNewb Question
Matt,
you use spring-data-neo4j, right? Which version?
IndexType.POINT should work, you probably just miss a static import.
Michael
Am 10.05.2012 um 20:10 schrieb Matt MacKenzie:
Hi,
I'm using spring-data-neo4j in a project, and decided today that I needed to attach a point to various entities. So, I added –spatial to my pom, and tried to add this in an entity:
@Indexed(type = POINT, indexName = "VenueLocation") String wkt;
The problem is that "POINT" is undefined. Am I somehow missing libs? The dependency is present, I have the "gis" package available to me.
> Hmm… "The attribute type is undefined for the annotation type Indexed" (compile error). The Indexed annotation is coming from org.springframework.data.neo4j.annotation.*…
> Matt MacKenzie
> From: Michael Hunger <michael.hun...@neotechnology.com>
> Reply-To: <neo4j@googlegroups.com>
> Date: Thu, 10 May 2012 20:24:24 +0200
> To: <neo4j@googlegroups.com>
> Subject: Re: [Neo4j] GeoNewb Question
> Matt,
> you use spring-data-neo4j, right? Which version?
> IndexType.POINT should work, you probably just miss a static import.
> Michael
> Am 10.05.2012 um 20:10 schrieb Matt MacKenzie:
>> Hi,
>> I'm using spring-data-neo4j in a project, and decided today that I needed to attach a point to various entities. So, I added –spatial to my pom, and tried to add this in an entity:
>> @Indexed(type = POINT, indexName = "VenueLocation") String wkt;
>> The problem is that "POINT" is undefined. Am I somehow missing libs? The dependency is present, I have the "gis" package available to me.
any reason not to upgrade to a more current version? Like 2.1.0.RC1 ?
Thanks
Michael
Am 10.05.2012 um 21:25 schrieb Matt MacKenzie:
Hmm… "The attribute type is undefined for the annotation type Indexed" (compile error). The Indexed annotation is coming from org.springframework.data.neo4j.annotation.*…
Matt MacKenzie
From: Michael Hunger <michael.hun...@neotechnology.com<mailto:michael.hun...@neotechnology.com>>
Reply-To: <neo4j@googlegroups.com<mailto:neo4j@googlegroups.com>>
Date: Thu, 10 May 2012 20:24:24 +0200
To: <neo4j@googlegroups.com<mailto:neo4j@googlegroups.com>>
Subject: Re: [Neo4j] GeoNewb Question
Matt,
you use spring-data-neo4j, right? Which version?
IndexType.POINT should work, you probably just miss a static import.
Michael
Am 10.05.2012 um 20:10 schrieb Matt MacKenzie:
Hi,
I'm using spring-data-neo4j in a project, and decided today that I needed to attach a point to various entities. So, I added –spatial to my pom, and tried to add this in an entity:
@Indexed(type = POINT, indexName = "VenueLocation") String wkt;
The problem is that "POINT" is undefined. Am I somehow missing libs? The dependency is present, I have the "gis" package available to me.