Chapter 6. Developing Location-based Services with Neo4j

In this chapter, we will cover the following recipes:

  • Installing the Neo4j Spatial extension
  • Importing the Esri shapefiles
  • Importing the OpenStreetMap files
  • Importing data using the REST API
  • Creating a point layer using the REST API
  • Finding geometries within the bounding box
  • Finding geometries within a distance
  • Finding geometries within a distance using Cypher

Introduction

By definition, any database that is optimized to store and query the data that represents objects defined in a geometric space is called a spatial database. Although Neo4j is primarily a graph database, due to the importance of geospatial data in the modern world, the spatial extension has been introduced in to Neo4j as an unmanaged ...

Get Neo4j Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.