[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #12

2011-08-21 Thread Andreas Wilhelm
Hello,

In the final week I didn?t had much time so I only added some more code 
documentation.
There still things to do and I will continue to working on this even 
Google Summer of Code is now ending.

It was an enjoyable time, I have learned many new things and I would 
like to thank my mentors Peter and Craig, and OSGeo to give me this chance.


Best Regards

Andreas
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #11

2011-08-13 Thread Andreas Wilhelm
Hi,

This week I spent the most of the time with documentation, code 
refactoring and performance optimization.
Also did some benchmarking with Neo4j Spatial and 
PostgreSQL/Postgis(GeoServer).

Best Regards

Andreas

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] neo4j spatial and postgis

2011-08-13 Thread Andreas Wilhelm
Hi,

with the pgsql2shp tool you can dump your postgis db in a shapefile and 
you should be able to import it in Neo4j Spatial in the following way:

String shpPath = SHP_DIR + File.separator + layerName;
ShapefileImporter importer = new ShapefileImporter(graphDb(), new 
NullListener(), commitInterval);
importer.importFile(shpPath, layerName);


Best Regards

Andreas



Am 12.08.2011 11:10, schrieb chen zhao:
 Hi,

 I very interested in neo4j spatial . but I do not know how to import the
 spatial data.

 My data are stored in postgis. I read the document 
 http://wiki.neo4j.org/content/Spatial_Data_Storage; and 
 http://wiki.neo4j.org/content/Importing_and_Exporting_Spatial_Data,but I
 yet do not know to to import data from postgis or import shapfiles.

 Could you provide some detail information?

 Please advice.

 zhao
 ___
 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


Re: [Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #10

2011-08-06 Thread Andreas Wilhelm
in process ;-)

Am 06.08.2011 08:44, schrieb Peter Neubauer:
 Good work Andreas !
 Did you even update the Geoserver wiki page in order to be able to test it
 out?

 /peter

 On Saturday, August 6, 2011, Andreas Wilhelma...@kabelbw.de  wrote:
 Hi,

 This and the last week I debugged the GeoServer to find the problem why
 the integeration of the Neo4j Spatial data store does not work anymore.
 I fixed the issues and did some refactoring(going on) and seperated the
 Neo4j datastore implementation in a extra maven module. It is now
 working with the newest GeoServer(2.1.1).

 It is available at:

 https://github.com/AndreasWilhelm/gt-neo4j-spatial

 Also I did some reworking on the ST_As*(KML, GeoJSON) classes to be also
 able to provide the properties of the geometry in the response.

 Best Regards

 Andreas

 ___
 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


[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #10

2011-08-05 Thread Andreas Wilhelm
Hi,

This and the last week I debugged the GeoServer to find the problem why 
the integeration of the Neo4j Spatial data store does not work anymore.
I fixed the issues and did some refactoring(going on) and seperated the 
Neo4j datastore implementation in a extra maven module. It is now 
working with the newest GeoServer(2.1.1).

It is available at:

https://github.com/AndreasWilhelm/gt-neo4j-spatial

Also I did some reworking on the ST_As*(KML, GeoJSON) classes to be also 
able to provide the properties of the geometry in the response.

Best Regards

Andreas

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #8

2011-07-22 Thread Andreas Wilhelm
Hi,

This week I started with my second phase of GSOC which means to create 
an Neo4j geoprocessing example in uDig.
For that I set up the development environment for uDig.

Also added some more code comments to the spatial functions and 
installed the doc-toolchain for Neo4j (Spatial).

Currently I´m checking the GeoServer integration of Neo4j Spatial.

Best Regards

Andreas

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #7

2011-07-16 Thread Andreas Wilhelm
Hi,

This week I added just more spatial functions:

ST_LengthInMeters
ST_LengthInMiles
ST_LongestLine
ST_DistanceInMeters
ST_DistanceInMiles
ST_MaxDistance
ST_MaxDistanceInMeter
ST_MaxDistanceInMiles
ST_ShortestLine
ST_SymDifference
ST_DelaunayTriangle
ST_Difference
ST_ConvexHull
ST_Boundary
ST_CoordDim
ST_Dimension
ST_Envelope
ST_IsSimple
ST_IsNotSimple
ST_NumGeometries
ST_NumPoints
ST_PointN
ST_SRID
ST_GeometryN
ST_GeometryType
ST_NumInteriorRings
ST_ExteriorRing


Best Regards

Andreas Wilhelm
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #7

2011-07-16 Thread Andreas Wilhelm
It should be working with all layers which are implementing the 
EditLayer or Layer interface, but I tested it only with OSMLayer.


Am 16.07.2011 10:03, schrieb Peter Neubauer:
 Btw,
 Is this all generic or implemented for OSM only?

 /peter

 Sent from my phone.
 On Jul 16, 2011 9:56 AM, Andreas Wilhelma...@kabelbw.de  wrote:
 Hi,

 This week I added just more spatial functions:

 ST_LengthInMeters
 ST_LengthInMiles
 ST_LongestLine
 ST_DistanceInMeters
 ST_DistanceInMiles
 ST_MaxDistance
 ST_MaxDistanceInMeter
 ST_MaxDistanceInMiles
 ST_ShortestLine
 ST_SymDifference
 ST_DelaunayTriangle
 ST_Difference
 ST_ConvexHull
 ST_Boundary
 ST_CoordDim
 ST_Dimension
 ST_Envelope
 ST_IsSimple
 ST_IsNotSimple
 ST_NumGeometries
 ST_NumPoints
 ST_PointN
 ST_SRID
 ST_GeometryN
 ST_GeometryType
 ST_NumInteriorRings
 ST_ExteriorRing


 Best Regards

 Andreas Wilhelm
 ___
 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


___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #7

2011-07-09 Thread Andreas Wilhelm
Hi,

This week I wrote some overview documentation for the code review, added 
full delete operation for OSMLayer graph model - with relation 
rebuilding of the remaining geom nodes and added some more spatial type 
functions:
ST_Area, ST_Box2D, ST_Buffer, ST_Centroid, ST_Length, ST_MaxX, ST_MinX, 
ST_MaxY, ST_MinY.

Best Regards

Andreas
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #6

2011-07-02 Thread Andreas Wilhelm
Hi,

This week I had a little blocker with deleting some subgraph nodes and 
relations. For that I made a seperate test to identify the problem and 
try to find a solution.

Apart from that I integrated a additonal spatial type function to get 
the distance between geometry nodes and
updated the already existing spatial type functions to the new API.


Best Regards

Andreas Wilhelm
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #5

2011-06-25 Thread Andreas Wilhelm
Hello,

This week I did some reworking of the spatial CRUD implementation where 
I´m still currently working on.
Integrated new spatial type functions like to simplify geometries with 
the Douglas-Peucker algorithm, getting start and endpoint of a geometry 
and the union of geometries.

Best Regards

Andreas Wilhelm
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #4

2011-06-18 Thread Andreas Wilhelm
Hi,

This week I implemented basic insert and delete capability for Neo4j 
Spatial type functions,
added ST_GeomFromText as a new spatial function and at the moment I 
prepare everything to be able to commit it
to the main repository of Neo4j Spatial, this means testing, 
documentation, etc...

Best Regards

Andreas
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #3

2011-06-10 Thread Andreas Wilhelm
Hi,

This week I did some documentation and add capability for spatial type 
queries with restriction and nested queries (still in the process).

Best Regards

Andreas
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #2

2011-06-07 Thread Andreas Wilhelm
Well first I should add some more documentation/comments :-P and then we 
could review the code.



Am 07.06.2011 22:29, schrieb Craig Taverner:
 I suggest you code review them first. Especially since there are API
 changes.

 On Tue, Jun 7, 2011 at 10:11 AM, Peter Neubauer
 peter.neuba...@neotechnology.com  wrote:

 Very nice Andreas!

 You consider it safe to pull these changes into the main repo?

 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://startupbootcamp.org/- Öresund - Innovation happens HERE.
 http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.


 On Sun, Jun 5, 2011 at 1:39 PM, Andreas Wilhelma...@kabelbw.de  wrote:

 Hi,

 This week I implemented update and search capability for spatial
 functions and following spatial functions with JUnit tests:

 ST_AsText, ST_AsKML, ST_AsGeoJSON, ST_AsBinary and ST_Reverse.


 Best Regards

 Andreas
 ___
 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

 ___
 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


[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #2

2011-06-05 Thread Andreas Wilhelm
Hi,

This week I implemented update and search capability for spatial 
functions and following spatial functions with JUnit tests:

ST_AsText, ST_AsKML, ST_AsGeoJSON, ST_AsBinary and ST_Reverse.


Best Regards

Andreas
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] GSoC 2011 Neo4j Geoprocessing

2011-05-27 Thread Andreas Wilhelm
Hi,

One requirement of Google Summer of Code is that I give a weekly status 
report.
So this week I started with spatial transform and update functionality 
on Neo4j Spatial.

There a still some problems with updating which I will focus next week 
and implementing some more
spatial functions.

Best Regards

Andreas
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user