[Neo4j] Neo4j Spatial question
peter.neubauer at neotechnology.com
Wed Oct 27 21:27:36 CEST 2010
do you have a small sample of that data? It might be very useful to
write a small GeoJSON importer and corresponding test for importing
stuff into Neo4j Spatial, much like the Shapefile importer. I am
thinking of using something like
if you have some sample data?
VP Product Management, Neo Technology
Phone +46 704 106975
http://www.neo4j.org - Your high performance graph database.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
On Wed, Oct 27, 2010 at 8:59 PM, Axel Morgner <axel at morgner.de> wrote:
> a part of my current project is about rendering an abstract world map
> (countries filled with a color gradient). I'm using Polypmaps on a 10 MB
> geoJSON file with high-res vector data, containing 246 features defining
> all the world's countries as multi-polygons (about 1.5 million points
> overall). Now even when the map is zoomed in, the hole file is processed
> instead of a small set of countries. Polymaps renders SVG path elements
> for each request, and rendering the whole map is by far too slow (4-5 s
> even on a fast machine).
> My idea is to store all features in Neo4j and determine only a subset of
> individual countries to process for a given map section
> programmatically. There's already a neo4j instance containing all CMS
> data, so this approach seems natural to me.
> With Polymaps I can easily get the coordinates (lat,lon) of the box
> corners. Now I only have to get all points within that box and get their
> corresponding country to be loaded and rendered.
> Can Neo4j spatial support me here? F.e. is there a geoJSON importer? And
> I saw different search classes in org.neo4j.gis.spatial.query, could
> that help? Or is there a better approach at all?
> Thank you in advance
> Neo4j mailing list
> User at lists.neo4j.org
More information about the User