2

I'm storing lat/lon information in a MySQL database, which doesn't have great geospatial search support. I'm already maintaining a separate Lucene text search index for efficient full text search, so I looked at the geospatial extension for Lucene; but it only seems to be available for the Java implementation, not the Zend_Search_Lucene PHP version I use.

Is there something similar that would allow me to maintain a separate, database-independent geospatial index? A good implementation of an R-Tree variant in PHP or something similar? A geospatial extension for Zend_Search_Lucene?

It'd need to allow efficient geospatial queries, mostly within-radius-of-x and within-bounding-box-y queries, and return the id of the entry in the database.

deceze
  • 510,633
  • 85
  • 743
  • 889

1 Answers1

1

http://www.ideacode.com/content/spatial-searches-with-zendsearchlucene helped me in this situation

kranthi117
  • 628
  • 1
  • 8
  • 21