My application uses point queries to find stores based on a user's current location.
public class Store extends AbstractNode {
@Indexed(indexType = IndexType.POINT, indexName = "ErrandLocation")
private String wkt;
public void setLocation(float lat, float lon) {
this.wkt = String.format("POINT( %.2f %.2f )",lat,lon);
}
}
On saving a shop with shop.setLocation (12, 12); and I use the neo4j browser to inspect my nodes, the wkt value changes to POINT( 56.34 -2.80 ).
I do not understand why the value changes to this from POINT (12.00, 12.00).