[Neo4j] Neo4j Spatial question
axel at morgner.de
Wed Oct 27 23:36:34 CEST 2010
All I found is this, but didn't tested any of them:
Am 27.10.2010 23:29, schrieb Peter Neubauer:
> I can't find any good code example to parse the GeoJSON with GeoTools,
> asking on the lists. After that, it should be much the same as the
> . Just need some advice.
> Craig, Davide - any skillz with that?
> /peter neubauer
> VP Product Management, Neo Technology
> GTalk: neubauer.peter
> Skype peter.neubauer
> Phone +46 704 106975
> LinkedIn http://www.linkedin.com/in/neubauer
> Twitter http://twitter.com/peterneubauer
> 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 9:39 PM, Axel Morgner<axel at morgner.de> wrote:
>> Sure, I attached an archive with some countries.
>> But ..attachments are filtered by the list, aren't they?
>> Am 27.10.2010 21:27, schrieb Peter Neubauer:
>>> 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?
>>> /peter neubauer
>>> VP Product Management, Neo Technology
>>> GTalk: neubauer.peter
>>> Skype peter.neubauer
>>> Phone +46 704 106975
>>> LinkedIn http://www.linkedin.com/in/neubauer
>>> Twitter http://twitter.com/peterneubauer
>>> 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
>>> Neo4j mailing list
>>> User at lists.neo4j.org
>> Axel Morgner
>> Creative Solutions - Software Engineering
>> GUI& UX Design - Project Management
>> c/o inxire GmbH
>> Hanauer Landstr. 293a
>> 60314 Frankfurt
>> Phone +49 151 40522060
>> E-mail axel at morgner.de
>> Web http://www.morgner.de
>> Neo4j mailing list
>> User at lists.neo4j.org
> Neo4j mailing list
> User at lists.neo4j.org
Creative Solutions - Software Engineering
GUI& UX Design - Project Management
c/o inxire GmbH
Hanauer Landstr. 293a
Phone +49 151 40522060
E-mail axel at morgner.de
More information about the User