stellasia / neomap

A Neo4j Desktop application to visualize nodes with geographic attributes on a map.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simplify simple layer query

jexp opened this issue · comments

MATCH (n) 
WHERE (n:$label) AND exists(n.$latitude) and exists(n.$longitude)
RETURN n.$latitude as latitude, n.longitude as longitude, n.$name as tooltip 
LIMIT 200000

Oh I didn't realize that you can do multiple labels, which is really cool. So your first part of the query should probably stay the same.