0

I am using neo4j 4.4.18.

When I try a simple apoc.spatial.geocodeOnce(apoc.text.join([address, addressCityCode, 'BERLIN', 'GERMANY'], ' ')) as loc

I am getting this error

Unknown function 'apoc.spatial.geocodeOnce'

While I can see that this function is part of APOC.core in version 4.4.

Here the result of

CALL dbms.listConfig() YIELD name, value WHERE name STARTS WITH 'apoc' RETURN name, value ORDER BY name;

+--------------------------------------------------+
| name                                | value      |
+--------------------------------------------------+
| "apoc.export.file.enabled"          | "true"     |
| "apoc.import.file.enabled"          | "false"    |
| "apoc.import.file.use_neo4j_config" | "true"     |
| "apoc.initializer.cypher"           | "No Value" |
| "apoc.jobs.pool.num_threads"        | "No Value" |
| "apoc.jobs.queue.size"              | "No Value" |
| "apoc.jobs.scheduled.num_threads"   | "No Value" |
| "apoc.trigger.enabled"              | "false"    |
| "apoc.ttl.enabled"                  | "true"     |
| "apoc.ttl.limit"                    | "1000"     |
| "apoc.ttl.schedule"                 | "1d"       |
| "apoc.uuid.enabled"                 | "false"    |
+--------------------------------------------------+

I have also this part in my neo4j.conf

# https://neo4j.com/docs/apoc/current/misc/spatial/#_configuring_custom_geocode_provider
apoc.spatial.geocode.provider=osm
apoc.spatial.geocode.osm.throttle=5000

But (it seems like) these line are not enough.

What am I doing wrong?

BairDev
  • 2,865
  • 4
  • 27
  • 50

0 Answers0