GithubHelp home page GithubHelp logo

jpryce-aklundh / openstreetmap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neo4j-graph-examples/openstreetmap

0.0 0.0 0.0 23.91 MB

Use Neo4j with the New York Central Park geo data provided in OpenStreetMap

Home Page: https://medium.com/neo4j/new-sandbox-in-town-e126246d2605

Shell 18.75% JavaScript 31.31% Python 4.19% Java 8.37% Go 29.99% C# 7.39%

openstreetmap's Introduction

osm logo

OpenStreetMap (OSM) Graph Example

Description: Use Neo4j with the global geodata provided in OpenStreetMap

Nodes 69165 Relationships 76040

model
Figure 1. Model
example
Figure 2. Example
Example Query:
MATCH (p1:PointOfInterest {type:$type}), (p2:PointOfInterest)
WHERE p1<>p2 AND distance(p1.location,p2.location) < 200
RETURN p2.name as name

Setup

This is for Neo4j version: 3.5,4.0

Rendered guide available from: :play openstreetmap

Data files: import/*.csv

Zip file: download the openstreetmap.zip and add it as "project from file" to a 3.5 database in Neo4j Desktop.

Code Examples

GraphQL API

See /graphql directory for Node.js GraphQL API server example using @neo4j/graphql

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.