Re: Spatial Search on Postal Code

2016-03-07 Thread Manohar Sripada
gt; you can buy a spreadsheet with the zipcodes and their guestimated center. > > Fun project! > > > > > Subject: Re: Spatial Search on Postal Code > > > To: solr-user@lucene.apache.org > > > From: emir.arnauto...@sematext.com > > > Date: Fri

Re: Spatial Search on Postal Code

2016-03-05 Thread david.w.smi...@gmail.com
a spreadsheet with the zipcodes and their guestimated center. > Fun project! > > > Subject: Re: Spatial Search on Postal Code > > To: solr-user@lucene.apache.org > > From: emir.arnauto...@sematext.com > > Date: Fri, 4 Mar 2016 21:18:10 +0100 > > > > Hi Manoha

RE: Spatial Search on Postal Code

2016-03-05 Thread steve shepard
ly you can buy a spreadsheet with the zipcodes and their guestimated center. Fun project! > Subject: Re: Spatial Search on Postal Code > To: solr-user@lucene.apache.org > From: emir.arnauto...@sematext.com > Date: Fri, 4 Mar 2016 21:18:10 +0100 > > Hi Manohar, > I don't th

Re: Spatial Search on Postal Code

2016-03-04 Thread Emir Arnautovic
Hi Manohar, I don't think there is such functionality in Solr - you need to do it on client side: 1. find some postal code polygons (you can use open street map - http://wiki.openstreetmap.org/wiki/Key:postal_code) 2. create zip to polygon lookup 3. create code that will expand zip code

Re: Spatial Search on Postal Code

2016-03-04 Thread Manohar Sripada
Thank Erik, Does this zip codes index that you created is a one-to-many mapping from zip code to Lat/Lon points? If so, where did you get this mapping CSV file? Thanks, Manohar On Friday, March 4, 2016, Erik Hatcher wrote: > This is just like an implementation I

Re: Spatial Search on Postal Code

2016-03-04 Thread Manohar Sripada
Thanks Emir, Obviously #2 approach is much better. I know its not straight forward. But, is it really acheivable in Solr? Like building a polygon for a postal code. If so, can you throw some light how to do? Thanks, Manohar On Friday, March 4, 2016, Emir Arnautovic

Re: Spatial Search on Postal Code

2016-03-04 Thread Erik Hatcher
This is just like an implementation I recently worked on with a customer. It’s very much like this sort of thing ;) - > It’s implemented with Solr, leveraging the

Re: Spatial Search on Postal Code

2016-03-04 Thread Emir Arnautovic
Hi Manohar, This depends on your requirements/usecase. If postal code is interpreted as point than it is expected to have radius that is significantly larger than postal code diameter. In such case you can go with first approach. In order to avoid missing results from postal code in case of

Spatial Search on Postal Code

2016-03-04 Thread Manohar Sripada
Here's my requirement - User enters postal code and provides the radius. I need to find the records with in the radius from the provided postal code. There are few ways I thought through after going through the "Spatial Search" Solr wiki 1. As Latitude and Longitude positions are required for