Axel,
I am trying to get through to the GeoTools user list in order to get
some example on reading in a FeatureColllection from GeoJSON, but the
mailing list seems to refuse my posts despite registration - hope I
can get some answers soon.

Cheers,

/peter neubauer

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 11:43 PM, Peter Neubauer
<peter.neuba...@neotechnology.com> wrote:
> Ahh,
> found one, 
> https://svn.osgeo.org/geotools/trunk/modules/unsupported/geojson/src/test/java/org/geotools/geojson/FeatureJSONTest.java
> that you can use with gt-geojson-2.7.M3 I think!
>
> Can look more into it, but I think it shows the basic usage ...
>
> Cheers,
>
> /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 11:36 PM, Axel Morgner <a...@morgner.de> wrote:
>> All I found is this, but didn't tested any of them:
>>
>> http://jira.codehaus.org/browse/GEOT-1924
>> http://www.mapfish.org/svn/mapfish/contribs/java-geojson/trunk/src/main/java/org/mapfish/geo/
>>
>>
>>
>> Am 27.10.2010 23:29, schrieb Peter Neubauer:
>>> Alex,
>>> 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
>>> ShapefileImporter,
>>> http://github.com/neo4j/neo4j-spatial/blob/master/src/main/java/org/neo4j/gis/spatial/ShapefileImporter.java
>>> . Just need some advice.
>>>
>>> Craig, Davide - any skillz with that?
>>>
>>> Cheers,
>>>
>>> /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<a...@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:
>>>>> Axel,
>>>>> 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
>>>>>
>>>>> https://svn.osgeo.org/geotools/trunk/modules/unsupported/geojson/src/test/java/org/geotools/geojson/GeometryJSONTest.java
>>>>> if you have some sample data?
>>>>>
>>>>> Cheers,
>>>>>
>>>>> /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<a...@morgner.de>    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
>>>>>> User@lists.neo4j.org
>>>>>> https://lists.neo4j.org/mailman/listinfo/user
>>>>>>
>>>>> _______________________________________________
>>>>> Neo4j mailing list
>>>>> User@lists.neo4j.org
>>>>> 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 a...@morgner.de
>>>> Web http://www.morgner.de
>>>>
>>>>
>>>> _______________________________________________
>>>> Neo4j mailing list
>>>> User@lists.neo4j.org
>>>> https://lists.neo4j.org/mailman/listinfo/user
>>>>
>>>>
>>> _______________________________________________
>>> Neo4j mailing list
>>> User@lists.neo4j.org
>>> 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 a...@morgner.de
>> Web http://www.morgner.de
>>
>> _______________________________________________
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
>
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to