Re: Geospatial indexing of 2laksh polygons in lucene in 2 mins

2015-10-12 Thread Nicholas Knize
If you just need the intersecting geohashes for a provided polygon you can do so in a few lines without indexing the shape. // build poly ctx = JtsSpatialContext.GEO; Shape shape = ctx.readShapeFromWkt(wkt); // build geohash prefix tree and iterate intersecting cells CellItera

Geospatial indexing of 2laksh polygons in lucene in 2 mins

2015-10-12 Thread Swarn Kumar
Hi, I am trying to find intersecting geo-hashes(upto precision length 6) of around 2lakhs polygons. I have tried using postgis st_geohash and st_intersect but it is very slow for my use-case. I need to index 2lakhs polygons and find their intersecting geohashes in 2 mins. I read it that its possi