Re: Geo Mapping. How to index/query a non-point geo property?


dmitryzezix@...
 

Hi Marc,

I confirm, that this works:

g.V().has("location", geoContains(Geoshape.point({lat}, {lon}))).elementMap()
g.V().has("location", geoIntersect(Geoshape.circle({lat}, {lon}, {radius}))).elementMap()

My mistake. I misunderstood the GeoPredicates and also the coordinate order conventions were confusing. I've managed to make my code work! Thanks for your help

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.