Giter Club home page Giter Club logo

Comments (10)

zerebubuth avatar zerebubuth commented on July 23, 2024

Hi!

Wow, Map-Pi, that's cool πŸ˜„

The mz_transit_level column is added by this SQL file, which should have been run as part of perform-sql-updates.sh, when loading additional data as part of the install. Did you notice any errors when you ran that step?

It might be worth re-running that single SQL file (or the whole perform-sql-updates.sh, if the other additional columns are missing from other tables), using something like this:

psql -f apply-planet_osm_line.sql -d YOUR_DATABASE_NAME

Along with any additional psql parameters (users, passwords, etc...) that you might need for your local setup.

Hope that helps!

from tileserver.

lechembal avatar lechembal commented on July 23, 2024

thanks zerebubuth for your help, your command is working but now I have different errors when I start the script perform-sql-updates.sh.
for example I have the following error when updating the database : ERROR column "mz_poi_min_zoom" of relation "planet_osm_point" already exists
the matter is that the server return the same error as the one on my first post; but about mz_poi_min_zoom

from tileserver.

zerebubuth avatar zerebubuth commented on July 23, 2024

Ah. There's also a mz_poi_min_zoom in planet_osm_polygon, perhaps it's that one which is giving the error? Please try running:

psql -f apply-planet_osm_polygon.sql -d YOUR_DATABASE_NAME

And see if that fixes the problem.

from tileserver.

lechembal avatar lechembal commented on July 23, 2024

yes sorry to disturb you again , in fact I thinkthe first error is coming from the functions.sql file
ERROR: column "inception" does not exists

from tileserver.

zerebubuth avatar zerebubuth commented on July 23, 2024

That's odd... The inception column of the wof_neighbourhood table is added when the table is created. Are you using a particular version or tag of vector-datasource, or the master branch?

You could try running:

psql -c "DROP INDEX IF EXISTS wof_neighbourhood_label_position_index; DROP INDEX IF EXISTS wof_neighbourhood_min_zoom_index; DROP INDEX IF EXISTS wof_neighbourhood_max_zoom_index; DROP TABLE IF EXISTS wof_neighbourhood; DROP TABLE IF EXISTS wof_neighbourhood_placetype;" -d YOUR_DATABASE_NAME

That might print out a bunch of "does not exist" messages, which are safe to ignore. Then run:

psql -f wof_schema.sql -d YOUR_DATABASE_NAME

That should re-create the WOF tables, and when you verify them, they should have the inception column.

from tileserver.

rmarianski avatar rmarianski commented on July 23, 2024

The database was probably created from the snapshot that we have on s3. I bet that doesn't have the inception stuff in there. We should probably just put up a new snapshot, and automate creating it on a regular basis.

from tileserver.

zerebubuth avatar zerebubuth commented on July 23, 2024

@rmarianski that's a good point. I think you're right. I've added tilezen/vector-datasource#518 to track this and discuss what the appropriate solution is.

from tileserver.

nvkelso avatar nvkelso commented on July 23, 2024

@lechembal Can you confirm your configuration is working now, please?

from tileserver.

lechembal avatar lechembal commented on July 23, 2024

Hello,
It's Still not working, I am planning to restart all the configuration from
scratch.
I Will tell u this afternoon if it's working

Sincerely
Le 10 fΓ©vr. 2016 20:12, "Nathaniel V. KELSO" [email protected] a
Γ©crit :

@lechembal https://github.com/lechembal Can you confirm your
configuration is working now, please?

β€”
Reply to this email directly or view it on GitHub
#15 (comment).

from tileserver.

nvkelso avatar nvkelso commented on July 23, 2024

Closing this old issue as we think we fixed it. Please reopen or create a new issue if you run into the problem again.

from tileserver.

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.