Code Monkey home page Code Monkey logo

Comments (3)

orangejulius avatar orangejulius commented on July 26, 2024

hey @harksin,
This error is the importer telling you it can't find the data files for Quattroshapes. While you're importing OSM, the data files for Quattroshapes are used to make sure all the imported records have values set for country, city, etc, since many OSM records don't have those.

You can fix this in one of two ways:
1.) Filling in these values (we call it admn lookup) can be disabled, and then quattroshapes isn't needed. Find the openstreetmap section of your openstreetmap config, and set "adminLookup": false.
2.) Download the quattroshapes-simplified.tar.gz from the link above (it's about 500MB), and configure your pelias config with the path to where you put these files (it looks like you've still got it set to the default). You can see a very simple example here.

Let me know if that works, enjoy!

from openstreetmap.

harksin avatar harksin commented on July 26, 2024

@orangejulius thanks! It works fine now =)!!

Just 2 quick question :

  • there is a parameter to specify the pelias.json path ?
  • did you plan to provide pelias as docker container ?

from openstreetmap.

orangejulius avatar orangejulius commented on July 26, 2024

Glad it all works for you!

You can specifiy PELIAS_CONFIG=/path/to/your/pelias.json as an environmental variable before any of the importer commands, or use export PELIAS_CONFIG=... in your shell (or even in a settings file like .bashrc) to make more permanent changes.

We don't have any plans for docker containers at the moment but it's probably something we will look at eventually.

P.S. Looks like we've solved your issue so I'm closing this ticket. Feel free to ask us more questions.

from openstreetmap.

Related Issues (20)

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.