Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Neo4J Spatial - GeoPipeline pagination question
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Eugen Paraschiv  
View profile   Translate to Translated (View Original)
 More options May 28 2012, 4:44 pm
From: Eugen Paraschiv <hanrisel...@gmail.com>
Date: Mon, 28 May 2012 13:44:40 -0700 (PDT)
Local: Mon, May 28 2012 4:44 pm
Subject: Neo4J Spatial - GeoPipeline pagination question

Hi,
I'm performing some *paginated* spatial searches (within a polygon):
*(GeoPipeline) GeoPipeline.startIntersectWindowSearch(neo4JStorage,
polygon.getEnvelopeInternal()).withinFilter(polygon).range(from, to);*
Everything works well - I'm getting the correct number of results
(specified by that range). I'm now trying to also get the total number of
hits from the GeoPipeline result, but the API of that class is extremely
diverse and I'm not quite sure that what I'm trying to do is even possible.
Any help is greatly appreciated.
Thanks.
Eugen.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Neubauer  
View profile   Translate to Translated (View Original)
 More options May 30 2012, 2:18 am
From: Peter Neubauer <peter.neuba...@neotechnology.com>
Date: Wed, 30 May 2012 08:18:51 +0200
Local: Wed, May 30 2012 2:18 am
Subject: Re: [Neo4j] Neo4J Spatial - GeoPipeline pagination question
Well,
how much results are you getting back? You might want to collect all
results in a list and paginate that?

Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

If you can write, you can code - @coderdojomalmo
If you can sketch, you can use a graph database - @neo4j


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eugen Paraschiv  
View profile   Translate to Translated (View Original)
 More options May 30 2012, 4:16 am
From: Eugen Paraschiv <hanrisel...@gmail.com>
Date: Wed, 30 May 2012 11:16:46 +0300
Local: Wed, May 30 2012 4:16 am
Subject: Re: [Neo4j] Neo4J Spatial - GeoPipeline pagination question

Well, is a polygon based search, so we may be getting sets of over 10000
(without pagination of course) - that's not really practical to display so
my thinking was to simply do a paginated search - retrieve a range (page)
of these results, but be able to show the total number of results also (or
at least if there are more to be had, even if I cannot get the actual total
number).
On the solution of getting all of them and doing pagination in memory -
that's certainly an option, but given the large number of results, I'd
rather not if the API could help me there - especially since this is a
relatively standard pagination scenario - you ask for a range, and the
result includes that range and also the total count of the result.
Thanks.
Eugen.

On Wed, May 30, 2012 at 9:18 AM, Peter Neubauer <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Neubauer  
View profile  
 More options Jul 19 2012, 2:02 pm
From: Peter Neubauer <peter.neuba...@neotechnology.com>
Date: Thu, 19 Jul 2012 11:02:17 -0700
Local: Thurs, Jul 19 2012 2:02 pm
Subject: Re: [Neo4j] Neo4J Spatial - GeoPipeline pagination question
Mmh,

the pipes have a count() method that you can use?

Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

Wanna learn something new? Come to @graphconnect.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »