Hi Davide,<br><br>Some suggestions for the Neo4j catalog. Since Neo4j only allows a single process to access each database, but multiple threads can access the database through a common instance of the GraphDatabaseService, you could consider doing the following:<br>
<ul><li>Make an instance of the catalog entry (GeoResources) for each actual database location on disk. This will appear as an instance in the catalog tree, and could be named with a URL describing the location. For example I simply use file:/home/craig/.amanzi/neo for my applications URL.</li>
<li>Then underneath that each layer has its own name, and the complete URL could be, for example: file:/home/craig/.amanzi/neo#Layer1</li><li>This allows multiple databases containing multiple layers.</li><li>You can drag the layers onto the map as with normal udig layers.<br>
</li></ul>If you want to see sample code, let me know and I can give you access to my SVN server.<br><br>Cheers, Craig<br><br><div class="gmail_quote">On Tue, Jun 22, 2010 at 2:19 AM, Davide <span dir="ltr">&lt;<a href="mailto:davide.savazzi@gmail.com">davide.savazzi@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">1) What did I do last week<br>
<br>
- modified neo4j-spatial to support pluggable storage formats for<br>
geometries (implemented WKT storage as an example)<br>
- continued developing the routing Plugin:<br>
added support for using writeable Neo4j instances (registering opened<br>
instances and closing them when the Plugin stops)<br>
created an uDig Operation to create a network / graph from a (Multi)<br>
LineString Neo4j Layer.<br>
- added a Delete Neo4j Layer Operation.<br>
<br>
2) What do I plan to do this week<br>
- fix Refresh Neo4j Service Operation (it doesn&#39;t update UI)<br>
- fix Delete Operation OutOfMemory problems and add a progress bar<br>
- add to neo4j-spatial an unindex method (needed if user doesn&#39;t want<br>
to delete data but just remove them from layer / spatial index)<br>
- continue developing the routing plugin<br>
<br>
Regards,<br>
<font color="#888888">--<br>
Davide Savazzi<br>
_______________________________________________<br>
SoC mailing list<br>
<a href="mailto:SoC@lists.osgeo.org">SoC@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/soc" target="_blank">http://lists.osgeo.org/mailman/listinfo/soc</a><br>
</font></blockquote></div><br>