Reader small image

You're reading from  Hands-On Graph Analytics with Neo4j

Product typeBook
Published inAug 2020
PublisherPackt
ISBN-139781839212611
Edition1st Edition
Tools
Right arrow
Author (1)
Estelle Scifo
Estelle Scifo
author image
Estelle Scifo

Estelle Scifo possesses over 7 years experience as a data scientist, after receiving her PhD from the Laboratoire de lAcclrateur Linaire, Orsay (affiliated to CERN in Geneva). As a Neo4j certified professional, she uses graph databases on a daily basis and takes full advantage of its features to build efficient machine learning models out of this data. In addition, she is also a data science mentor to guide newcomers into the field. Her domain expertise and deep insight into the perspective of the beginners needs make her an excellent teacher.
Read more about Estelle Scifo

Right arrow

Creating a geometry layer in Neo4j with neo4j-spatial

neo4j-spatial is an extension of Neo4j containing tools to represent and manipulate complex spatial data types. In this section, we are going to learn about this plugin by importing data on districts in Manhattan and finding points of interest located within each district.

Introducing the neo4j-spatial library

The neo4j-spatial plugin can be installed by downloading the latest release jar from https://github.com/neo4j-contrib/spatial/releases and copying this jar to the plugins directory of your active graph. You then need to restart the graph for the changes to be taken into account. Once this is done, you can check that the spatial plugin is enabled by calling the spatial.procedures() procedure, listing all available procedures within the plugin:

CALL spatial.procedures()

With this plugin, we will be able to do the following:

  • Import from well-known geographic data formats such as shapefile
  • Use topology operations such as contains...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Graph Analytics with Neo4j
Published in: Aug 2020Publisher: PacktISBN-13: 9781839212611

Author (1)

author image
Estelle Scifo

Estelle Scifo possesses over 7 years experience as a data scientist, after receiving her PhD from the Laboratoire de lAcclrateur Linaire, Orsay (affiliated to CERN in Geneva). As a Neo4j certified professional, she uses graph databases on a daily basis and takes full advantage of its features to build efficient machine learning models out of this data. In addition, she is also a data science mentor to guide newcomers into the field. Her domain expertise and deep insight into the perspective of the beginners needs make her an excellent teacher.
Read more about Estelle Scifo