Re: Rethinking spatial implementation

2010-11-08 Thread Christopher Schmidt
Some questions:

@Grant: Can you clarify what you mean with "the Sinusoidal projection is
broken"?

Would it be possible to use a LGPL library like the Java Topology Suite
(JTS: http://www.vividsolutions.com/jts/JTSHome.htm)?

Neo4j is using JTS for creating a spatial index (code is here:
https://github.com/neo4j/neo4j-spatial)...

(I've just seen that JTS has some index creation classes, but I'm not at all
familiar with them)

Christopher

On Mon, Nov 8, 2010 at 1:10 AM, Grant Ingersoll  wrote:

>
> On Nov 6, 2010, at 5:23 PM, Christopher Schmidt wrote:
>
> > Hi Ryan, thx for your answer.
> >
> > You mean there is room for improvement and volunteers?
>
> We've been looking at replacing it with the Military Grid system.  The
> primary issue with the current is that the Sinusoidal projection is broken
> which then breaks almost all the tests.  I worked on it for a while trying
> to straighten it out, but gave up and now think it is easier to implement
> clean.  I definitely would like to see a tier/grid implementation.
>
>
> >
> > On Friday, November 5, 2010, Ryan McKinley  wrote:
> >> Hi Christopher -
> >>
> >> I do not believe there is any active work on this.  From what I
> >> understand, the Tier implementation works OK within some constraints,
> >> but we could not get it to pass more robust testing that the other
> >> methods were using.
> >>
> >> However, LatLonType and GeoHashField are well tested and work well --
> >> the Tier type may have better performance when your index is really
> >> large, but no active developers understand it and no-one has stepped
> >> up to figure it out.
> >>
> >> ryan
> >>
> >>
> >> On Wed, Nov 3, 2010 at 3:16 PM, Christopher Schmidt
> >>  wrote:
> >>> Hi all,
> >>> I saw a mail thread "Rethinking Cartesian Tiers implementation" (here).
> >>> Is there any work in progress regarding this? If yes, is the current
> >>> implementation deprecated or do you plan some enhancements (other
> >>> projections or spatial indexes) ?
> >>> I am asking because I want to use Lucene's spatial indexing in a
> production
> >>> system...
> >>>
> >>> --
> >>> Christopher
> >>> twitter: @fakod
> >>> blog: http://blog.fakod.eu
> >>>
> >>
> >> -
> >> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> >> For additional commands, e-mail: dev-h...@lucene.apache.org
> >>
> >>
> >
> > --
> > Christopher
> > twitter: @fakod
> > blog: http://blog.fakod.eu
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> > For additional commands, e-mail: dev-h...@lucene.apache.org
> >
>
> --
> Grant Ingersoll
> http://www.lucidimagination.com/
>
> Search the Lucene ecosystem docs using Solr/Lucene:
> http://www.lucidimagination.com/search
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>
>


-- 
Christopher
twitter: @fakod
blog: http://blog.fakod.eu


Re: Rethinking spatial implementation

2010-11-06 Thread Christopher Schmidt
Hi Ryan, thx for your answer.

You mean there is room for improvement and volunteers?

On Friday, November 5, 2010, Ryan McKinley  wrote:
> Hi Christopher -
>
> I do not believe there is any active work on this.  From what I
> understand, the Tier implementation works OK within some constraints,
> but we could not get it to pass more robust testing that the other
> methods were using.
>
> However, LatLonType and GeoHashField are well tested and work well --
> the Tier type may have better performance when your index is really
> large, but no active developers understand it and no-one has stepped
> up to figure it out.
>
> ryan
>
>
> On Wed, Nov 3, 2010 at 3:16 PM, Christopher Schmidt
>  wrote:
>> Hi all,
>> I saw a mail thread "Rethinking Cartesian Tiers implementation" (here).
>> Is there any work in progress regarding this? If yes, is the current
>> implementation deprecated or do you plan some enhancements (other
>> projections or spatial indexes) ?
>> I am asking because I want to use Lucene's spatial indexing in a production
>> system...
>>
>> --
>> Christopher
>> twitter: @fakod
>> blog: http://blog.fakod.eu
>>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>
>

-- 
Christopher
twitter: @fakod
blog: http://blog.fakod.eu

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



Rethinking spatial implementation

2010-11-03 Thread Christopher Schmidt
Hi all,

I saw a mail thread "Rethinking Cartesian Tiers implementation"
(here
).
Is there any work in progress regarding this? If yes, is the current
implementation deprecated or do you plan some enhancements (other
projections or spatial indexes) ?

I am asking because I want to use Lucene's spatial indexing in a production
system...

-- 
Christopher
twitter: @fakod
blog: http://blog.fakod.eu


Re: Spatial Lucene with e.g. Polylines

2010-11-02 Thread Christopher Schmidt
Patrick, is it possible to see some code?

On Tue, Nov 2, 2010 at 9:49 PM, patrick o'leary  wrote:

> It's possible, I wrote one last year as a demo
> http://www.knowledgenowsystems.com/polySpatialSolrUI/
>
> But I've since stepped back from solr, there are some products that have
> been deployed using it as research projects, it certainly hasn't been
> updated in a while.
>
>
>
> On Tue, Nov 2, 2010 at 1:36 PM, Christopher Schmidt <
> fakod...@googlemail.com> wrote:
>
>> Hi all, I am playing around with the spatial extension to Lucene.
>> I am using the distance query builder now. I wonder if it is possible to
>> to use other shapes than points and other queries than distances. I've seen
>> (beside that you do not like the metric system ;-) ) that there are some
>> shape intersection calculations etc. so I would assume that stuff like
>> "which polyline intersects with my polyline?" should be possible.
>>
>> If this is possible, are there any examples?
>> If not, what has to be done to implement that functionality?
>>
>> --
>> Christopher
>> twitter: @fakod
>> blog: http://blog.fakod.eu
>>
>>
>


-- 
Christopher
twitter: @fakod
blog: http://blog.fakod.eu


Spatial Lucene with e.g. Polylines

2010-11-02 Thread Christopher Schmidt
Hi all, I am playing around with the spatial extension to Lucene.
I am using the distance query builder now. I wonder if it is possible to to
use other shapes than points and other queries than distances. I've seen
(beside that you do not like the metric system ;-) ) that there are some
shape intersection calculations etc. so I would assume that stuff like
"which polyline intersects with my polyline?" should be possible.

If this is possible, are there any examples?
If not, what has to be done to implement that functionality?

-- 
Christopher
twitter: @fakod
blog: http://blog.fakod.eu