Geometries distance

2017-10-13 Thread Maruska Melucci
Hi I need to obtain distance between point and MULTILINESTRING. MULTILINESTRINGS are stored in Solr as geometry using JST library configured as follow: I'm using geodist to return distance between a coord an the geometries but the funciotn seems to work wrong, it doesn't return the right dista

geodist function

2017-08-30 Thread Maruska Melucci
Hi I'm using solr for geospatial query. I need to obtain the nearest linestring to my point, I'm using the query below but I need results ordered by distance. http://localhost:8983/solr/address_search/select?d=0.1&fq={!geofilt%20sfield=geometry}&indent=on&pt=43.916938,12.912577&q=*:*&rows=10&sfie