# Reading Neo4j Graph OSM data in Java

**URL:** <https://community.neo4j.com/t/reading-neo4j-graph-osm-data-in-java/20447>\
**Category:** Neo4j Graph Platform\
**Created:** [June 23, 2020, 1:26am UTC](https://community.neo4j.com/t/reading-neo4j-graph-osm-data-in-java/20447 "2020-06-23T01:26:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebyid](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/sebyid/32/10918_2.png) [@sebyid](https://community.neo4j.com/u/sebyid)\
**Post date:** [June 23, 2020, 1:26am UTC](https://community.neo4j.com/t/reading-neo4j-graph-osm-data-in-java/20447/1 "2020-06-23T01:26:24Z")

</div>

Hello Everyone!

I am new to Neo4j but essentially I have been able to create a Graph from a downloaded OSM file of the San Diego Road Network (800K+ Node Labels & 3M relationships)

I want to test some user defined shortest path algorithms I have created in java and wanted to know if it is possible to read in these relations as input for my code (e.g. StreetSegments as Nodes and Routes as Edges). I read some stuff about Maven and Bolt protocol but not sure how to implement these topics with my code.

Thanks to advise.  
Sebhat

---

<div class="post-metadata">

**Author:** ![sameerG](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/sameerg/32/3830_2.png) [@sameerG](https://community.neo4j.com/u/sameerG)\
**Post date:** [June 23, 2020, 8:13am UTC](https://community.neo4j.com/t/reading-neo4j-graph-osm-data-in-java/20447/2 "2020-06-23T08:13:32Z")

</div>

Hello sebyid  
You can use JMeter Neo4j plugin to test your own algorithm under varying load conditions or if you want to visualize the Nodes(StreetSegments) and Edges( Routes) then you can try Bloom or Neo4j Browser that comes with Neo4j Desktop.  
As far as your own code is concerned you can package it as a jar and add it as plugin in Neo4j desktop.  
Hopes that this helps you get around the problem.

---

<div class="post-metadata">

**Author:** ![sebyid](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/sebyid/32/10918_2.png) [@sebyid](https://community.neo4j.com/u/sebyid)\
**Post date:** [June 24, 2020, 2:08am UTC](https://community.neo4j.com/t/reading-neo4j-graph-osm-data-in-java/20447/3 "2020-06-24T02:08:59Z")

</div>

Thanks for the prompt response and suggestion! I will check this method out!

Cheers,  
Sebhat
