Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-30 Thread danielb
Hi Peter, the tests are running and now I get the following results: cypher start n=node:geom('bbox:[9.9996186, 9.9996186, 48.4027913, 48.4027913]') cypher return n cypher == +--+ == | n| ==

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-30 Thread Peter Neubauer
Daniel, glad to hear it works out! I think we need to make the loading of the index more robust, so the order is less important. Feel free to suggest improvements on that, and make some more tests for it. Also, keep us informed on how your project is going. Maybe a small blog is in order to show

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-28 Thread danielb
Hi Peter, that works, yes! But I still can't do spatial queries with the OSMLayer over the server page. Today I have written a small test program in Java which also includes a bbox query for a specific point and then traverses to the corresponding OSM node. So far I am satisfied with that (I will

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-28 Thread Peter Neubauer
Daniel, there is now https://github.com/neo4j/spatial/blob/master/src/test/java/org/neo4j/gis/spatial/SpatialPluginFunctionalTest.java#L53executing a cypher spatial query over REST, could you check this out and try to run it? If it works, you can simply analyze what goes over the wire - I guess

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-25 Thread danielb
Hi Peter, unfortunately I can't get it to work. The layer named after osmpath could not be used in query because of ':' and '/'. I don't know how to escape them here. However I did not like the layer to be named in this way, so I changed the OSMImporter to take 'layerName' and 'osmPath'. I now

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-25 Thread Peter Neubauer
Daniel, will do and write some integration tests for this, sorry for the inconvenience! 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

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-25 Thread danielb
Thanks Peter! -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3536012.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-25 Thread Peter Neubauer
Daniel, https://github.com/neo4j/spatial/commit/0636f88bdf05663fa8c260a1850849a96e78a568is now running through for me and does execute a Cypher Query over REST, so could you please try this out, just to be sure? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-24 Thread danielb
Hi Peter, I now have a graph with the 'geom' index + testnode from the above code and imported some OSM data afterwards. I now want to find 2 nodes by bbox query - 550349 and 205372 (see http://dl.dropbox.com/u/18693700/graph.png). How can I achieve this? If I query for the bbox I should at least

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-24 Thread Peter Neubauer
Daniel, the OSM import is loaded into its own layer corresponding to the dataset file name as a default I think (there should be a layer node created fro it, much in the same way as for the 'geom' index. So, if you load that layer the same way as an index provider as you did with the 'geom' index,

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-23 Thread danielb
Hi Peter, I am more stuck today than yesterday oO I can't get the index to appear in the indexmanager any more. First I dropped the database and started from zero: C:\neo4j-community-1.5\binNeo4j.bat start SERVICE_NAME: Neo4j-Server TYPE : 10 WIN32_OWN_PROCESS

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-23 Thread Peter Neubauer
Daniel, try this: curl -X POST http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer -H Content-Type:application/json -d '{layer:geom, lat:lat, lon:lon}' curl -X POST http://localhost:7474/db/data/node -H Content-Type:application/json -H Accept:application/json -d '{lon:

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-23 Thread danielb
Hi Peter, first cURL doesn't like me: C:\curl -X POST http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer { message : Mandatory argument \layer\ not supplied., exception : java.lang.IllegalArgumentException: Mandatory argument \layer\ not supplied., stacktrace : [

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-23 Thread Peter Neubauer
Sorry, Cut and paste does not work, please remove the line breaks on my mail :-) /peter Sent from my phone, please excuse typos and autocorrection. On Nov 23, 2011 5:16 PM, danielb danielbercht...@gmail.com wrote: Hi Peter, first cURL doesn't like me: C:\curl -X POST

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-23 Thread danielb
Hi Peter, I have posted the statements in 1 line, but no success with cURL. I think I have messed up the database at work, it was allready filled with nodes from OSM testing. I now started a new database at home and also included one additional line: http POST

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-23 Thread Peter Neubauer
Was lange währt wird endlich gut! Thanks for your feedback, will raise a few issues following this :) Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter     

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-22 Thread Peter Neubauer
Daniel, true, we should upgrade this to 1.5. Michael, can we do it? 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         

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-22 Thread danielb
Hi together, That would be cool. Atm I am deleting the data folder, that works too for my testing purpose. I have played around with cypher and encounter some problems. I have OSM nodes in the database and I 'guess' they have a spatial index on the geometry (lat, lon). The view on the server

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-22 Thread Peter Neubauer
Daniel, you need to make sure to load the spatial index first witha custom config, otherwise lucene is the default index provider and will shadow the lazily created and loaded index. See https://github.com/neo4j/spatial/blob/master/features/start-and-stop.feature#L16 for the example. Start with

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-22 Thread danielb
Hi Peter, How do I add the Spatial plugin? I only have Cypher and Gremlin as server extensions installed. I unzip Neo4j spatial into the plugins folder and then send the JSON via curl to the database. But he can't find any of the needed classes. Which files do I need from the spatial project and

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-22 Thread Peter Neubauer
Daniel, just updated the installation instruction in https://github.com/neo4j/spatial, look under Using the Neo4j Spatial Server plugin. Does that help? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn  

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-22 Thread danielb
Hi Peter, I could now register the spatial index 'geom' to my database (I was missing the zip file) - thanks so far. cypher start n=node:geom('bbox:[10.0020654, 10.0020654, 48.4126496, 48.4126496]') cypher return n cypher == +---+ == | n | == +---+ == +---+ == 0 rows, 24 ms So zero results

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-22 Thread Peter Neubauer
Could you get me the full curl script to recreate? /peter Sent from my phone, please excuse typos and autocorrection. On Nov 22, 2011 5:35 PM, danielb danielbercht...@gmail.com wrote: Hi Peter, I could now register the spatial index 'geom' to my database (I was missing the zip file) -

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-21 Thread Peter Neubauer
Daniel, I updated the project to Neo4j 1.5 GA. Could you try building again, and contact me with the build log? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter     

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-21 Thread danielb
Hi Peter, I guess the meta-inf entry for the org.neo4j.kernel.KernelExtension is still missing. The repo URL https://github.com/neo4j/spatial.git is correct? It states last commit was 4 days ago... The build ends with error: http://dl.dropbox.com/u/18693700/git21.txt Daniel -- View this

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-21 Thread Peter Neubauer
Daniel, that setup works for me, would we connect via Skype to sort it out? What JDK are you using? [~/code/neo/spatial] $mvn clean compile [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-21 Thread danielb
Hi Peter, I have JDK 1.7.0_01 on a Windows 7 64bit machine. After I added the missing meta-inf entry org.neo4j.kernel.KernelExtension I could build the project. Now I have a few more problems. I can run the tests for the DynamicLayers and OSMImport without failure but then I am stuck at the

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-21 Thread Peter Neubauer
Could you please try with jdk1. 6? We have an incompatibility there, so it would help if you can try it out. /peter Sent from my phone, please excuse typos and autocorrection. On Nov 21, 2011 6:01 PM, danielb danielbercht...@gmail.com wrote: Hi Peter, I have JDK 1.7.0_01 on a Windows 7 64bit

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-21 Thread danielb
Hi Peter, JDK 1.6 does the job! But only for building the project. Netbeans still shows an error for the missing KernelExtension meta-inf, however it does not prevent from running the OSMImporter. Lucene is still not working, maybe it has something to do with that error which is at the

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-21 Thread danielb
Tried Eclipse Java Edition and it seems that everything is working as it should. I could at least start an OSMImport to an embedded database and nodes were copied. I will have a detailed look tomorrow. I still have a few problems with the Neo4j server itself. When I try to batchinsert I get the

[Neo4j] Neo4j Spatial build / run problems

2011-11-17 Thread danielb
Hi I have some problems with the new build of Neo4j Spatial. First if I checkout and try to build the following error occurs [ERROR] spatial\src\main\java\org\neo4j\gis\spatial\indexprovider\SpatialIndexProvider.java:[38,0] error: Internal error: java.io.FileNotFoundException:

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-17 Thread Peter Neubauer
Daniel, Could you send over the full console output of a mvn clean install -DskipTests ? On Nov 17, 2011 12:55 PM, danielb danielbercht...@gmail.com wrote: Hi I have some problems with the new build of Neo4j Spatial. First if I checkout and try to build the following error occurs [ERROR]

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-17 Thread danielb
Sure, here are the files, first after the checkout directly and then after I add the missing entry (maybe you can correct this on the repository?). http://dl.dropbox.com/u/18693700/git.txt http://dl.dropbox.com/u/18693700/meta-inf_fixed.txt -- View this message in context:

Re: [Neo4j] [Neo4J] Neo4J Spatial - Snapshot 0.7, GeoPipeline and Tinkerpop

2011-10-18 Thread Davide
On Sun, Oct 16, 2011 at 23:54, Robert rob...@presynt.com wrote: I know it's a work in progress, but if I may ask a few questions? Sure! :) 1) If you have a List of SpatialDatabaseRecord you can use these GeoPipeline factory method: public static GeoPipeline start(Layer layer,

[Neo4j] [Neo4J] Neo4J Spatial - Snapshot 0.7, GeoPipeline and Tinkerpop

2011-10-16 Thread Robert
First off I want to say that I am really impressed with the leaps and bounds made with Neo4J spatial since I last looked at it. I've been really impressed by the improvements with memory use and performance on the OSM import side and I've been very intrigued by the use of the Tinkerpop Pipes as

Re: [Neo4j] neo4j-spatial: geotools maven repo problem

2011-10-06 Thread Axel Morgner
Don't know since when, but http://download.osgeo.org/ is up again. Could you please monitor this? If it persists, we can change the repo URL. Cheers, /peter neubauer On Fri, Sep 9, 2011 at 2:52 PM, Axel Morgnera...@morgner.de wrote: Hi, today maven could not download dependencies for

[Neo4j] Neo4j Spatial and GeoServer docs

2011-09-29 Thread Peter Neubauer
Hi all, in case you want to deploy Neo4j Spatial as a datasource in GeoServer, I have tested and updated the docs for the module, see https://github.com/peterneubauer/gt-neo4j-spatial . Want to set up integration testing for this and then move it into the neo4j repo. Thanks Andreas Wilhelm and

[Neo4j] neo4j-spatial: geotools maven repo problem

2011-09-09 Thread Axel Morgner
Hi, today maven could not download dependencies for neo4j-spatial. It seemed that the repo repository idosgeo/id nameOpen Source Geospatial Foundation Repository/name urlhttp://download.osgeo.org/webdav/geotools//url /repository

Re: [Neo4j] neo4j-spatial: geotools maven repo problem

2011-09-09 Thread Anders Nawroth
Hi! According to this: http://geotoolsnews.blogspot.com/2010/09/geotools-maven-repository-reminder.html the new one should be for snapshots, but there's some releases in there as well. Need to taker a deeper look ... /anders 2011-09-09 14:52, Axel Morgner skrev: Hi, today maven could not

[Neo4j] Neo4j Spatial - GeoProcessing in the making

2011-09-06 Thread Peter Neubauer
Hi all, while trying to come up with a good approach to GeoProcessing in Neo4j Spatial as we wrap up Andreas Wilhelms work from the GSoC, we are experimenting with a dataflow-based lazy approach (using the generic parts of Tinkerpop pipes). This is broken up into filtering operations (that filter

[Neo4j] Neo4j Spatial GIThub rename

2011-08-24 Thread Peter Neubauer
Hi folks, we are in the process of releasing Neo4j Spatial 0.6, and in the process I renamed the project in GIThub to https://github.com/neo4j/spatial . Just a heads up - this shouldn't break anything except direct URLs to the repo. Forks and branches should be fine, the artifact name is still the

Re: [Neo4j] Neo4j-Spatial: problems when delete spatial entities

2011-08-23 Thread Peter Neubauer
Ben, the deletion code is in Andreas fork, see https://github.com/AndreasWilhelm/neo4j-spatial/blob/master/src/test/java/org/neo4j/gis/spatial/LayersTest.java#L82 for a test. We are about to release Neo4j Spatial 0.6, and after that merge this into the master. Just a heads-up. Cheers, /peter

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(),

Re: [Neo4j] neo4j spatial and postgis

2011-08-13 Thread Craig Taverner
Or if you want a command line import, try the ruby gem 'neo4j-spatial.rb'. Once installed you can type: osm_import file.shp On Aug 13, 2011 10:33 AM, Andreas Wilhelm a...@kabelbw.de wrote: Hi, with the pgsql2shp tool you can dump your postgis db in a shapefile and you should be able to import

[Neo4j] neo4j spatial and postgis

2011-08-12 Thread 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

Re: [Neo4j] neo4j spatial via rest, weird error

2011-08-08 Thread Peter Neubauer
Thanks Michael, just applied the change. Testing and committing. 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           

[Neo4j] neo4j spatial via rest, weird error

2011-08-07 Thread Boris Kizelshteyn
When one of my nodes is selected by a findgeometriesinlayer query the plugin throws the following error. I can't tell what's different about this node. Any ideas where I should look? BTW, I tried to remove the relationship to the rtree index and then re-attach, but that doesn't help. Other nodes

Re: [Neo4j] neo4j spatial via rest, weird error

2011-08-07 Thread Michael Hunger
Probably one of the gemoetry attributes was just (for instance 0) so that it got encoded as a property with an integer type not a double as expected. Probably the SimplePointEncoder should be a bit more forgiving and use Number.doubleValue() on the actual value it gets back. so changing

[Neo4j] Neo4j-Spatial: problems when delete spatial entities

2011-07-29 Thread Ben Galon
Hello, I started working with neo4j-spatial a while ago. i found it very useful and the first thing i would like to say is Thanks for your wonderful work. While working on a project that require large amount of insert/delete operation I think i found two bugs. The first one is in 

Re: [Neo4j] Neo4j-Spatial: problems when delete spatial entities

2011-07-29 Thread Peter Neubauer
Ben, The first bug is fixed in Andreas Wilhelms fork, thanks for pointing it out! Can't comment on the second from my mobile :) could you fork, add the test and see if you can fix it? /peter Sent from my phone. On Jul 29, 2011 7:29 AM, Ben Galon bga...@gmail.com wrote: Hello, I started

Re: [Neo4j] Neo4j Spatial and gtype property

2011-07-29 Thread Craig Taverner
Yes. If you have performed a search and now have SpatialDatabaseRecord results, then that is the best method to use. On Thu, Jul 28, 2011 at 6:03 AM, Christopher Schmidt fakod...@googlemail.com wrote: So best is to use SpatialDatabaseRecord.getGeometry()? Christopher On Wed, Jul 27, 2011

Re: [Neo4j] Neo4j-Spatial: problems when delete spatial entities

2011-07-29 Thread Ben Galon
Hi Peter I don't have git installed on my computer. so I opened a fork and commit my solution from the web UI. I could not find a way to upload the Test file, sorry for that. Best regards Ben On Fri, Jul 29, 2011 at 5:37 PM, Peter Neubauer neubauer.pe...@gmail.com wrote: Ben, The first bug is

[Neo4j] Neo4j Spatial and gtype property

2011-07-27 Thread Christopher Schmidt
Hi all, is it allowed to use the gtype-property to get the geometry type numbers? (Which are defined in org.neo4j.gis.spatial.Constants) -- Christopher twitter: @fakod blog: http://blog.fakod.eu ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] Neo4j Spatial and gtype property

2011-07-27 Thread Peter Neubauer
Christopher, What do you mean by allowing to use? Yes, these properties are used to store the Geometry Type for a Layer and for geometry nodes. Sadly, you cannot have more than one Geometry in Layers due to the limitations of e.g. the GeoTools stack. Cheers, /peter neubauer GTalk:     

Re: [Neo4j] Neo4j Spatial and gtype property

2011-07-27 Thread Craig Taverner
Actually we do allow multiple geometry types in the same layer, but some actions, like export to shapely, will fail. We even test for this in TestDynamicLayers. You can use the gtype if you want, but it is specific to some GeometryEncoders, and might change in future releases. It would be better

Re: [Neo4j] Neo4j Spatial and gtype property

2011-07-27 Thread Christopher Schmidt
So best is to use SpatialDatabaseRecord.getGeometry()? Christopher On Wed, Jul 27, 2011 at 10:50 PM, Craig Taverner cr...@amanzi.com wrote: Actually we do allow multiple geometry types in the same layer, but some actions, like export to shapely, will fail. We even test for this in

Re: [Neo4j] Neo4j Spatial - Keep OSM imports - Use in GeoServer

2011-07-12 Thread Craig Taverner
I am travelling at the moment, so cannot give a long answer, but can suggest you look at the wiki page for neo4j in uDig, because there we have made some updates concerning which jars to use, and that will probably help you get this working. On Jul 12, 2011 10:59 AM, Robin Cura

Re: [Neo4j] Neo4j Spatial - Keep OSM imports - Use in GeoServer

2011-07-12 Thread Robin Cura
Craig, Thanks for your answer, I looked at this page and so, I've put those libs inside the WEB-INF/lib/ directory : - neo4j-kernel-1.4-SNAPSHOT.jar - neo4j-lucene-index-1.4-SNAPSHOT.jar - neo4j-graph-algo-1.4-SNAPSHOT.jar - geronimo-jta_1.1_spec-1.1.1.jar - lucene-core-3.1.0.jar

Re: [Neo4j] Neo4j Spatial - Keep OSM imports

2011-07-08 Thread Craig Taverner
Another option is to run the main method of OSMImport class, which expects command line arguments for database location and OSM file, and will simply import a file once. This is not tested often, so there is a risk things have changed, but it is worth a try. Another, even easier, option in my

Re: [Neo4j] Neo4j Spatial - Keep OSM imports

2011-07-07 Thread Peter Neubauer
Robin, the database is deleted after each run in Neo4jTestCase.java, @Override @After protected void tearDown() throws Exception { shutdownDatabase(true); super.tearDown(); } if you change to shutdownDatabase(false), the database will not be deleted. In this case,

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-07-06 Thread Craig Taverner
Hi Boris, I can see the new update method here: https://github.com/neo4j/neo4j-spatial/blob/master/src/main/java/org/neo4j/gis/spatial/server/plugin/SpatialPlugin.java#L138 And the commit for it is here: https://github.com/neo4j/neo4j-spatial/commit/22eaf91957a6265ef1e6923b5da572b75383b83e Hope

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-07-06 Thread Boris Kizelshteyn
AM, Craig Taverner cr...@amanzi.com wrote: Hi Boris, I can see the new update method here: https://github.com/neo4j/neo4j-spatial/blob/master/src/main/java/org/neo4j/gis/spatial/server/plugin/SpatialPlugin.java#L138 And the commit for it is here: https://github.com/neo4j/neo4j-spatial

[Neo4j] Neo4j Spatial - Keep OSM imports

2011-07-05 Thread Robin Cura
Hello, First of all, I don't know anything in java, and I'm trying to figure out if neo4j could be usefull for my projects. If it is, I will of course learn a bit of java so that I can use neo4j in a decent way for my needs. I'd like to use a neo4j spatial database together with GeoServer. For

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-07-05 Thread Boris Kizelshteyn
. See, for example, the 6 lines of code it takes to traverse a chain of NEXT locations and produce a LineString geometry in the SimpleGraphEncoder at https://github.com/neo4j/neo4j-spatial/blob/master/src/main/java/org/neo4j/gis/spatial/encoders

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-07-02 Thread Craig Taverner
/neo4j/neo4j-spatial/blob/master/src/main/java/org/neo4j/gis/spatial/encoders/SimpleGraphEncoder.java#L82 https://github.com/neo4j/neo4j-spatial/blob/master/src/main/java/org/neo4j/gis/spatial/encoders/SimpleGraphEncoder.java#L82 If you do this, you can create a layer that uses your own

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-07-02 Thread Boris Kizelshteyn
this as a geographic object by implementing the GeometryEncoder interface. See, for example, the 6 lines of code it takes to traverse a chain of NEXT locations and produce a LineString geometry in the SimpleGraphEncoder at https://github.com/neo4j/neo4j-spatial/blob/master/src/main

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-07-02 Thread Peter Neubauer
to traverse a chain of NEXT locations and produce a LineString geometry in the SimpleGraphEncoder at https://github.com/neo4j/neo4j-spatial/blob/master/src/main/java/org/neo4j/gis/spatial/encoders/SimpleGraphEncoder.java#L82 https://github.com/neo4j/neo4j-spatial/blob/master/src

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-07-02 Thread Craig Taverner
, for example, the 6 lines of code it takes to traverse a chain of NEXT locations and produce a LineString geometry in the SimpleGraphEncoder at https://github.com/neo4j/neo4j-spatial/blob/master/src/main/java/org/neo4j/gis/spatial/encoders/SimpleGraphEncoder.java#L82

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-07-01 Thread Boris Kizelshteyn
of code it takes to traverse a chain of NEXT locations and produce a LineString geometry in the SimpleGraphEncoder at https://github.com/neo4j/neo4j-spatial/blob/master/src/main/java/org/neo4j/gis/spatial/encoders/SimpleGraphEncoder.java#L82 https://github.com/neo4j/neo4j-spatial/blob

[Neo4j] neo4j-spatial roadmap/stability

2011-06-23 Thread Christopher Schmidt
Hi Neo4j... I am working for the largest German speaking travel and holiday portal. Currently we are using a relatively simple MySQL based spatial distance functionality. We plan to enhance this by something which is capable of a flexible set of spatial queries. We will evaluate Neo4j-Spatial for

Re: [Neo4j] neo4j-spatial roadmap/stability

2011-06-23 Thread Craig Taverner
Hi Christopher, Thanks for your interest in neo4j and neo4j-spatial. I will answer your questions and comments inline. I am working for the largest German speaking travel and holiday portal. Currently we are using a relatively simple MySQL based spatial distance functionality. We plan to

Re: [Neo4j] neo4j-spatial

2011-06-09 Thread Craig Taverner
details.Regards From: sxk1...@hotmail.com To: user@lists.neo4j.org Subject: RE: [Neo4j] neo4j-spatial Date: Sun, 5 Jun 2011 20:15:27 -0700 Hey Craig,Thanks for responding, so to be clear a theme park can have its own map created by the graphic artists that work at the theme park

Re: [Neo4j] neo4j-spatial

2011-06-09 Thread Saikat Kanjilal
@lists.neo4j.org Subject: Re: [Neo4j] neo4j-spatial Hi Saikat, Yes, your explanation was clear, but I was busy with other work and failed to repond - my bad ;-) Anyway, your idea is nice. And I can think of a few ways to model this in the graph, but at the end of the day the most important

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-06-08 Thread Craig Taverner
the GeometryEncoder interface. See, for example, the 6 lines of code it takes to traverse a chain of NEXT locations and produce a LineString geometry in the SimpleGraphEncoder at https://github.com/neo4j/neo4j-spatial/blob/master/src/main/java/org/neo4j/gis/spatial/encoders/SimpleGraphEncoder.java#L82

Re: [Neo4j] neo4j-spatial

2011-06-08 Thread Saikat Kanjilal
Hi Craig,Following up on this thread, was this explanation clear? If so I'd like to talk more details.Regards From: sxk1...@hotmail.com To: user@lists.neo4j.org Subject: RE: [Neo4j] neo4j-spatial Date: Sun, 5 Jun 2011 20:15:27 -0700 Hey Craig,Thanks for responding, so to be clear

[Neo4j] neo4j spatial bounding box vs. lat/lon

2011-06-07 Thread Boris Kizelshteyn
Greetings! Perhaps someone using neo4j-spatial can answer this seemingly simple question. Nodes classified into layers have both lat/lon properties and bounding boxes, the bounding box seems to be required to establish the relationship between node and layer, however the node is not found if the

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-06-07 Thread Craig Taverner
Hi, The bounding boxes are used by the RTree index, which is a typical way to index spatial data. For Point data, the lat/long and the bounding box are the same thing, but for other shapes (streets/LineString and Polygons), the bounding box is quite different to the actual geometry (which is not

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-06-07 Thread Boris Kizelshteyn
Thanks! So it seems you are saying that the bounding box represents a single point and is the same as the lat/lat lon? What if I make the bounding box bigger? What I am trying to do is geo queries against a bounding box made of a set of points, rather than individual points. So the query is, find

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-06-07 Thread Craig Taverner
approximate search, followed by pure CQL for the final mile. See examples of this in action in the Unit tests in the source code. https://github.com/neo4j/neo4j-spatial/blob/master/src/test/java/org/neo4j/gis/spatial/ServerPluginTest.java#L109 has examples of CQL queries on the REST API. On Tue

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-06-07 Thread Boris Kizelshteyn
for a first approximate search, followed by pure CQL for the final mile. See examples of this in action in the Unit tests in the source code. https://github.com/neo4j/neo4j-spatial/blob/master/src/test/java/org/neo4j/gis/spatial/ServerPluginTest.java#L109 has examples of CQL queries on the REST API

[Neo4j] neo4j-spatial

2011-06-05 Thread Saikat Kanjilal
Craig et al,I have an interesting usecase that I've been thinking about and I was wondering if it would make a good candidate for inclusion inside neo4j-spatial, I've read through the wiki (http://wiki.neo4j.org/content/Collaboration_on_Spatial_Projects) and was interested in using

Re: [Neo4j] neo4j-spatial

2011-06-05 Thread Saikat Kanjilal
To: user@lists.neo4j.org Subject: Re: [Neo4j] neo4j-spatial Hi Saikat, This sounds worth discussing further. I think I need to hear more about your use case. I do not know what the term 'creative map' means, and what traversals you are planning to do? When you talk about 'plotting points

Re: [Neo4j] Neo4J-Spatial Delete Note Exception

2011-05-16 Thread Peter Neubauer
Deniz, just pushed a change and test that should fix this, https://github.com/neo4j/neo4j-spatial/commit/b44f55b5bd94dc2c6b9f1f5db9d3c13575ae9dc4 Could you try it out? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http

Re: [Neo4j] Neo4J-Spatial Delete Note Exception

2011-05-16 Thread Deniz Demir
this, https://github.com/neo4j/neo4j-spatial/commit/b44f55b5bd94dc2c6b9f1f5db9d3c13575ae9dc4 Could you try it out? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http

[Neo4j] Neo4J-Spatial Delete Note Exception

2011-05-15 Thread Deniz Demir
I am trying to use neo4j-spatial, and wrote a simple test code just to add one node and then delete; however, delete operation causes an exception. IndexHitsNode hits = names.get(name, Deniz); Node n = hits.getSingle(); System.out.println(node hit: +

Re: [Neo4j] Neo4J-Spatial Delete Note Exception

2011-05-15 Thread Peter Neubauer
Deniz, could you fork Neo4j Spatial and add a failing test, so we can have a look at it? Would be most appreciated. Maybe you can even fix it? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer

[Neo4j] Neo4j spatial

2011-04-27 Thread Saikat Kanjilal
Craig et al, I was wondering if anyone has used neo4j spatial to model traffic and operational patterns in a theme park. These patterns could include real time traffic updates, ride closures, wait time management and more. I'd be interested in looking and building some pieces into neo4j

[Neo4j] Neo4j/Spatial and Scala

2011-04-19 Thread Christopher Schmidt
Hi all, I am evaluating the advantages of using Neo4j and its spatial extension. For testing I have extended (forked) the neo4j-scala with some spatial convenience methods. So that something written in Java like: SpatialDatabaseService db = new SpatialDatabaseService( graphDb() ); EditableLayer

Re: [Neo4j] Neo4J Spatial - issue with bounding box indices in OSM Layer.

2011-03-31 Thread Craig Taverner
Hi Robert, I took a look at this and the issue is that you are using the OSMGeometryEncoder to decode the RTree nodes. And the GeometryEncoder is designed to be specific to your data model, while the RTree internal data is hard-coded into the RTree design. So there is no guarantee that any

Re: [Neo4j] Neo4J Spatial - issue with bounding box indices in OSM Layer.

2011-03-29 Thread Robert Boothby
Sorry about dropping out at the end of last week - had some personal issues to deal with. I have the following unit test code that illustrates the breakdown in the envelope definition: @Test public void useLayer() { final OSMLayer osmLayer =

[Neo4j] neo4j-spatial pulled from neo4j maven repo?

2011-03-24 Thread Axel Morgner
Hi, is it true that the current neo4j-spatial jarfiles are not available on http://m2.neo4j.org/org/neo4j/neo4j-spatial/ anymore? I cannot find it at http://m2.neo4j.org/snapshots/org/neo4j/ either. On https://repo.neo4j.org/ I only find 0.1-SNAPSHOT. https://repo.neo4j.org/content

Re: [Neo4j] neo4j-spatial pulled from neo4j maven repo?

2011-03-24 Thread Anders Nawroth
Hi! Lots of files in the repo got moved yesterday while some work was done there. I'll try to bring them back ASAP. /anders On 03/24/2011 10:18 AM, Axel Morgner wrote: Hi, is it true that the current neo4j-spatial jarfiles are not available on http://m2.neo4j.org/org/neo4j/neo4j-spatial

Re: [Neo4j] neo4j-spatial pulled from neo4j maven repo?

2011-03-24 Thread Anders Nawroth
Hi! The neo4j-spatial snapshots are now back. /anders On 03/24/2011 10:18 AM, Axel Morgner wrote: Hi, is it true that the current neo4j-spatial jarfiles are not available on http://m2.neo4j.org/org/neo4j/neo4j-spatial/ anymore? I cannot find it at http://m2.neo4j.org/snapshots/org/neo4j

Re: [Neo4j] neo4j-spatial pulled from neo4j maven repo?

2011-03-24 Thread Axel Morgner
Yes, thanks a lot!! Am 24.03.2011 10:42, schrieb Anders Nawroth: Hi! The neo4j-spatial snapshots are now back. /anders On 03/24/2011 10:18 AM, Axel Morgner wrote: Hi, is it true that the current neo4j-spatial jarfiles are not available on http://m2.neo4j.org/org/neo4j/neo4j-spatial

Re: [Neo4j] neo4j-spatial pulled from neo4j maven repo?

2011-03-24 Thread Andreas Kollegger
-spatial/ anymore? I cannot find it at http://m2.neo4j.org/snapshots/org/neo4j/ either. On https://repo.neo4j.org/ I only find 0.1-SNAPSHOT. https://repo.neo4j.org/content/repositories/snapshots/org/neo4j/neo4j-spatial/0.5-SNAPSHOT/neo4j-spatial-0.5-SNAPSHOT.jar Where is the correct maven

[Neo4j] Neo4J Spatial - issue with bounding box indices in OSM Layer.

2011-03-24 Thread Robert Boothby
Hi, I've been playing with Neo4j Spatial and the OSM data imports to see how it all fits together. I've been blogging on my experiences (http://bbboblog.blogspot.com). It's still early days but think that I have run into an issue. Having imported the OSM data successfully I've tried to execute

Re: [Neo4j] Neo4J Spatial - issue with bounding box indices in OSM Layer.

2011-03-24 Thread Craig Taverner
Hi Robert, Interesting work you're doing. I just read your blogs and I think it would be great to discuss your tests in more detail. Michael Hunger has done some interesting tests on the scalability of the OSM import, and could probably give suggestions on configuring the import. Looking at your

Re: [Neo4j] Neo4J Spatial - issue with bounding box indices in OSM Layer.

2011-03-24 Thread Robert Boothby
Thanks for the response Craig. You're right I had mixed up the latitude and longitude coordinates. I've now got the expected answers... However the transposition of the elements of the spatial index's root node geometry envelope definitely occurs. I just wouldn't have spotted it if I hadn't mixed

Re: [Neo4j] Neo4J Spatial - issue with bounding box indices in OSM Layer.

2011-03-24 Thread Craig Taverner
I will need to double check this. I know there was a dispute early on with Neo4j Spatial because the JTS library orders bbox params in one way, and GeoTools does it another way, so you might be seeing the results of that. I believed we sorted that all out, but perhaps not. I have have just checked

[Neo4j] [Neo4j Spatial] Need advice on modeling my spatial domain properly

2011-03-18 Thread Christoph K.
Hi peole, i'm working on a project, where i want to map live data of cars on streets. I take my map data from OSM-maps for test purposes - so there's no problem at all. But i have no idea on how to integrate my car data. Should i implement my own geometryencoder, so that my car nodes can contain

  1   2   >