Hi Peter,

thanks a lot, yes, I'm currently working on it and I'll give feedback as 
soon as I've accomlished something useful.

Axel

Am 01.11.2010 15:52, schrieb Peter Neubauer:
> Axel,
> I was pointed to
> http://svn.osgeo.org/geotools/trunk/modules/unsupported/geojson/src/test/java/org/geotools/geojson/FeatureJSONTest.java
> which has an example of a FeatureCollection reading. Does that help
> you?
>
> /peter
>
> On Wed, Oct 27, 2010 at 8:59 PM, Axel Morgner<[email protected]>  wrote:
>> Hi,
>>
>> 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
>>
>> Axel
>>
>>
>>
>>
>> _______________________________________________
>> Neo4j mailing list
>> [email protected]
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user


-- 
Axel Morgner
Creative Solutions - Software Engineering
GUI&  UX Design - Project Management

c/o inxire GmbH
Hanauer Landstr. 293a
60314 Frankfurt
Germany

Phone +49 151 40522060
E-mail [email protected]
Web http://www.morgner.de

_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to