Hi,
I have a spatial layer with several millions of nodes.
While loading it for querying, it stucks on getLayer line:
Layer layer = spatialDbInstance.getLayer(..);
Is that expected? Any way to make it faster?
Thanks,
Alireza
--
You received this message because you are subscribed to the
. Note that if you created a layer
with simply:
db.getOrCreateEditableLayer( layerName );
Then you get a WKB layer with default configs.
Regards, Craig
On Wed, Aug 12, 2015 at 4:01 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi Craig,
As always thanks for your
Hi,
I have a node and I am trying to find its geometry (having layer and
spatial db service).
Though, getting nodes from SpatialDatabaseRecord is straightforward (using
getGeomNode method),
the other way around is not clear to me.
Cheers,
Alireza
--
You received this message because
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
alire...@gmail.com javascript::
Here
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
alire
Hi,
I get the following cast exception while using
startNearestNeighborLatLonSearch method:
*Exception in thread main java.lang.ClassCastException: java.lang.Double
cannot be cast to [B*my code is as follows:
Layer layer = spatialDbInstance.getLayer(mylayer);
Coordinate coord = new
Great, thanks :)
On Saturday, July 18, 2015 at 11:23:26 AM UTC+2, Michael Hunger wrote:
this summer :)
Am 17.07.2015 um 12:10 schrieb Alireza Rezaei Mahdiraji
alire...@gmail.com javascript::
That is promising, and when would that be ?
Cheers,
Alireza
On Thursday, July 16, 2015
That is promising, and when would that be ?
Cheers,
Alireza
On Thursday, July 16, 2015 at 4:39:30 PM UTC+2, Michael Hunger wrote:
This is being worked on for 2.3 and will be hopefully part of the 2.3.RC1
release.
Michael
Am 14.07.2015 um 14:10 schrieb Alireza Rezaei Mahdiraji
alire
Hi,
I have seen withinDistance been used in START clause, but is it
possible to use it in other clause such as WHERE?
Cheers,
Alireza
--
You received this message because you are subscribed to the Google Groups
Neo4j group.
To unsubscribe from this group and stop receiving emails from it,
, we'll do so.
If you have some specific use cases you'd like to discuss, feel free to
contact me and we can discuss how they align with the current plans.
Regards, Craig
On Sat, May 23, 2015 at 6:04 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi Craig,
I am
for the older spatial library is a bit scattered
unfortunately. And I think Jim's answer looked like a particularly
comprehensive answer to me.
Regards, Craig
On Fri, Oct 17, 2014 at 12:14 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi All,
I would like to know
Hi All,
Which parser generator is used for Cypher, i.e., Antlr, etc.? Where can I
find Cypher grammar file?
Thanks,
Alireza
--
You received this message because you are subscribed to the Google Groups
Neo4j group.
To unsubscribe from this group and stop receiving emails from it, send an
/src/main/scala/org/neo4j/cypher/internal/compiler/v2_2/parser/CypherParser.scala
On Mon, Oct 20, 2014 at 11:34 AM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi All,
Which parser generator is used for Cypher, i.e., Antlr, etc.? Where can I
find Cypher grammar file
PM UTC+2, Michael Hunger wrote:
Nope, not yet, we plan something like that for the future but right now
now.
But you can just continue your query with with and continue to explore the
graph step by step?
What is your actual use-case?
On Fri, Oct 17, 2014 at 4:46 PM, Alireza Rezaei
On Friday, October 17, 2014 4:33:41 PM UTC+2, Michael Hunger wrote:
Yes, see:
http://docs.neo4j.org/chunked/stable/rest-api-transactional.html#rest-api-return-results-in-graph-format
On Fri, Oct 17, 2014 at 1:35 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi
range, use a
HashMap. Both will be faster than lucene for small data sizes, but will not
scale obviously.
Regards, Craig
On Tue, Oct 14, 2014 at 10:34 AM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi Craig,
What would be the best way to import such data into Neo4j
Does anybody have any experience to share?
Alireza
On Tuesday, September 23, 2014 1:43:50 PM UTC+2, Alireza Rezaei Mahdiraji
wrote:
Hi All,
I have searched for some best practices to tune Neo4j for performance,
e.g., store file sizes (caching),
heap size, etc. Unfortunately, I
Hi All,
Is normal on a 2D object (polygon) or a point is already implemented in
neo4j spatial?
Best,
Alireza
--
You received this message because you are subscribed to the Google Groups
Neo4j group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
, this is support through JTS. See
http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/geom/Geometry.html#normalize()
On Wed, Sep 24, 2014 at 1:03 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi All,
Is normal on a 2D object (polygon) or a point is already
(com.vividsolutions.jts.geom.Geometry)
On Tue, Sep 23, 2014 at 3:26 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi All,
Given two geometries how do compute the distance between
them in neo4j spatial? For instance given two points stored in two nodes?
What other kind of distance are defined
Hi All,
I have searched for some best practices to tune Neo4j for performance,
e.g., store file sizes (caching),
heap size, etc. Unfortunately, I could not find some parametrized tuning
guideline, e.g.,
given the memory size in gigabyte and graph size specify this much heap and
this much
Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi All,
I need to calculate length and area of given node(s) in two cases:
1- for length either a node with line string geometry is given or two
nodes with point geometry
2- for polygon either a node with polygon geometry is given
Hi All,
Given two geometries how do compute the distance between
them in neo4j spatial? For instance given two points stored in two nodes?
What other kind of distance are defined? For instance, is it possible to
find
distance between a point and a linestring/polygon or distance between two
about cases for 3D so we can think again about future support.
Regards, Craig
On Thu, Sep 18, 2014 at 1:29 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi Craig,
Are we limited to only 2D bbox for querying? In general, are any 3D
queries are supported in Neo4j
Hi All,
I need to calculate length and area of given node(s) in two cases:
1- for length either a node with line string geometry is given or two nodes
with point geometry
2- for polygon either a node with polygon geometry is given or the set of
points of the polygon
as separate point
from this group and all its topics, send an email to
neo4j+un...@googlegroups.com javascript:.
For more options, visit https://groups.google.com/d/optout.
--
Best Regards
Alireza Rezaei Mahdiraji
--
You received this message because you are subscribed to the Google
Groups Neo4j
, Michael Hunger wrote:
If you didn't miss tx.success() and used the same try-with-resource
pattern as Stefan it must work.
Except if you're swallowing an exception.
Michael
Am 30.08.2014 um 01:16 schrieb Alireza Rezaei Mahdiraji
alire...@gmail.com javascript::
Hi Michael,
Yeah I
be part of the LineString
geometry. This will allow you to analyse your data in a more graphy way,
but does require that you really know what you are doing. It should be
considered 'advanced' usage of the spatial library.
On Tue, Sep 9, 2014 at 5:51 PM, Alireza Rezaei Mahdiraji
alire
the tropic of capricorn?
On Wed, Sep 10, 2014 at 2:15 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi,
Given an envelope we can do subsetting queries. What if we have a slice
query, e.g., x=c
where c is a constant like x=5. The query suppose to return all nodes
Hi,
Given an envelope we can do subsetting queries. What if we have a slice
query, e.g., x=c
where c is a constant like x=5. The query suppose to return all nodes which
are spatially
crossed by line x=5. How could we implement his in neo4j spatial?
Thanks,
Alireza
--
You received this
(Geometry) to create them for you, and then
add your own properties to them afterward, so you are sure the geoemtry
information is correctly created.
Regards, Craig
On Thu, Sep 4, 2014 at 1:03 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi Craig,
I attached
4, 2014 at 1:03 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi Craig,
I attached the neo4j database folder for the toy example I am using.
The envelop I am using is as follow: xmin: 0.5, xmax: 1.5, ymin: -0.5,
ymax: 1.5
This envelop only contains one graph
this.
Regards, Craig
On Wed, Sep 3, 2014 at 3:15 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
I tried this snippet:
GeometryFactory gf = layer.getGeometryFactory();
Geometry geom = gf.toGeometry(envelope);
ListNode nodes = GeoPipeline.startWithinSearch(layer
.
Michael
Am 30.08.2014 um 01:16 schrieb Alireza Rezaei Mahdiraji
alire...@gmail.com javascript::
Hi Michael,
Yeah I printed the nodes' info before deleting and it shows them. I have
not
print the relationships though, I think nodes would be enough, right?
Thanks,
Alireza
On Saturday
Alireza Rezaei Mahdiraji alire...@gmail.com
javascript::
Hi Michael,
Any opinion why the code does not work?
Thanks,
Alireza
On Saturday, August 30, 2014 1:27:00 AM UTC+2, Michael Hunger wrote:
If you didn't miss tx.success() and used the same try-with-resource
pattern as Stefan
=Dsntz=1usg=AFQjCNE2gNt2TtotIBdVEhlNam4K9xTyTQ,
give a different error:
Sorry, there is no video here.
Either it was deleted or it never existed in the first place. Such are
the mysteries of the Internet.
On Wed, Sep 3, 2014 at 2:32 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com
this.
Regards, Craig
On Wed, Sep 3, 2014 at 3:15 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
I tried this snippet:
GeometryFactory gf = layer.getGeometryFactory();
Geometry geom = gf.toGeometry(envelope);
ListNode nodes = GeoPipeline.startWithinSearch(layer,
geom
, give a different error:
Sorry, there is no video here.
Either it was deleted or it never existed in the first place. Such are the
mysteries of the Internet.
On Wed, Sep 3, 2014 at 2:32 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi Jacobs,
I cannot access
Am 04.09.2014 um 14:21 schrieb Alireza Rezaei Mahdiraji
alire...@gmail.com javascript::
Hi Craig,
I found this in vimeo from graph connect: http://vimeo.com/76806550
but still cannot find Tobias one.
Alireza
On Wednesday, September 3, 2014 5:16:16 PM UTC+2, Craig Taverner wrote:
I
store (or in the
Node Cache, if the nodes are cached).
/j
On Tue, Sep 2, 2014 at 9:06 AM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi All,
I would like to know more about internal working of Neo4j, for instance
when I use findNodesByLabelAndProperty
what
in a separate property store (or in the
Node Cache, if the nodes are cached).
/j
On Tue, Sep 2, 2014 at 9:06 AM, Alireza Rezaei Mahdiraji
alire...@gmail.com wrote:
Hi All,
I would like to know more about internal working of Neo4j, for instance
when I use findNodesByLabelAndProperty
a test case for it. It was used by the GeoServer integration though.
Regards, Craig
On Mon, Sep 1, 2014 at 5:15 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi All,
I would like to find nodes of the graph which are completely (not
partially) contained
did not see
a test case for it. It was used by the GeoServer integration though.
Regards, Craig
On Mon, Sep 1, 2014 at 5:15 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi All,
I would like to find nodes of the graph which are completely (not
partially
Hi All,
I would like to know more about internal working of Neo4j, for instance
when I use findNodesByLabelAndProperty
what exactly happens and how the result is generated. Indeed one way would
be to read the whole code base, but I
am rather looking for some shorter version perhaps a
Hi All,
I would like to find nodes of the graph which are completely (not
partially) contained in a given
Envelope. I tried several GeoPipeline methods but it seems they all
consider partial containment.
Any idea?
Thanks,
Best,
Alireza
--
You received this message because you are
:
If you didn't miss tx.success() and used the same try-with-resource
pattern as Stefan it must work.
Except if you're swallowing an exception.
Michael
Am 30.08.2014 um 01:16 schrieb Alireza Rezaei Mahdiraji
alire...@gmail.com javascript::
Hi Michael,
Yeah I printed the nodes' info before
Hi All,
I am interested in computing the union and intersection of graphs and
producing
a graph as a result. And I would like to do it from Java API. Any hint?
Thanks,
Alireza
--
You received this message because you are subscribed to the Google Groups
Neo4j group.
To unsubscribe from
Hi All,
How can I remove all nodes (and their relationships) with a given label
using Java?
Thanks,
Alireza
--
You received this message because you are subscribed to the Google Groups
Neo4j group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
on your use-case queries :)
Perhaps you can explain the use cases
Sent from mobile device
Am 11.08.2014 um 16:44 schrieb Alireza Rezaei Mahdiraji
alire...@gmail.com javascript::
Hi Michael,
Yes, that is right, in a simpler case there are no h value and we only
have t values.
Do you
Hi All,
I saw documentation about how to model time series in graph but my problem
seems
does not fall into that meta models.
Here is a description: I have a graph with a fixed connectivity, however
based on variable
let say h with values h1,h2,..hn some of internal properties of the
Hi All,
I would like to create a new graph G' using a subset of nodes and relations
from an
existing graph G. I have access to nodes and rels of G, should I create new
nodes in
G' and copy all properties of G node into it? I could not find any method
which allow adding
an existing node to
On Saturday, August 2, 2014 8:03:43 PM UTC+2, Michael Hunger wrote:
What would be your use-case for that?
On Sat, Aug 2, 2014 at 5:35 PM, Alireza Rezaei Mahdiraji
alire...@gmail.com javascript: wrote:
Hi All,
Is it possible to create a graph in memory using Java API? What I mean
Hi All,
Is it possible to create a graph in memory using Java API? What I mean is
that I do not want to
store it in a db path by instead in memory and only later I might store it
on the disk.
Thanks,
Best,
Alireza
--
You received this message because you are subscribed to the Google Groups
Hi All,
I would like to know if it is possible to get the query result as a
subgraph which might
be stored separately or used for further query.
Is this the case for spatial neo4j too?
Thanks,
Best,
Alireza
--
You received this message because you are subscribed to the Google Groups
Hi All,
If I create SpatialDatabaseRecord for spatial nodes how do I create
relationships between them?
patialDatabaseRecord p =
runningLayer.add(runningLayer.getGeometryFactory().createPoint(coords1));
patialDatabaseRecord ls =
.
Grace and peace,
Jim
On Friday, July 18, 2014 4:04:32 AM UTC-4, Alireza Rezaei Mahdiraji wrote:
Hi All,
Assuming a graph which has 3 to four kind of spatial nodes (e.g., point,
line, polygon), how many and what type of
spatial indexes I should build on this graph? How about normal indexes
Hi Benjamin,
Thanks for the answer,
I have a layered graph, i.e., level 0 are only connected to level 1, level
one to level 2, etc. What if
I create a node at top, say level n and create all level n elements to it
and each time querying just
specify a start node (not sure if we can
Hi All,
I am wondering if it is possible to extend batch inserter for other type of
file rather than CSV?
I have a different file structures, all information about nodes and
relationships are in one file.
Best,
Alireza
--
You received this message because you are subscribed to the Google
Hi All,
Assuming a graph which has 3 to four kind of spatial nodes (e.g., point,
line, polygon), how many and what type of
spatial indexes I should build on this graph? How about normal indexes? Do
I need them too?
Is there any general guideline on indexing w.r.t. performance?
Best,
/neo4j-contrib/m2/blob/master/releases/org/neo4j/neo4j-spatial/0.13-neo4j-2.1.2/neo4j-spatial-0.13-neo4j-2.1.2-server-plugin.zip?raw=true
Am 13.07.2014 16:44, schrieb Alireza Rezaei Mahdiraji:
Hi Alex,
I tried to use neo4j-spatial-0.13-neo4j-2.1.2-server-plugin.zip file in
plugins folder
Hi All,
I am wondering if neo4j-spatial library is still supported by neo4j.
There is no activity on github since 3 years
(https://github.com/neo4j-contrib/spatial),
does this is mean it is not supported anymore?
Best,
Alireza
--
You received this message because you are subscribed to the
/neo4j/a2XqAqxWjYg
https://github.com/neo4j-contrib/m2/tree/master/releases/org/neo4j/neo4j-spatial/0.12-neo4j-2.0.3
https://github.com/neo4j-contrib/m2/tree/master/releases/org/neo4j/neo4j-spatial/0.13-neo4j-2.1.2
Best
Axel
Am 10.07.2014 11:15, schrieb Alireza Rezaei Mahdiraji:
Hi All
Hi All,
I am looking to find out how Neo4j internally stores graphs, e.g., does it
use an adjacency list or matrix or ...?
Is there any benchmark which shows what data structure is the best for
graphs?
Thanks,
Best,
Alireza
--
You received this message because you are subscribed to the
Hi List,
I am doing some research with the goal to identify the following
question:
Where do graph databases go beyond relational databases? This could be in
terms of
operations for instance or other facilities. The critical question is to
see what are the example
graph queries which
64 matches
Mail list logo