Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imposm diff directly applied to public shema? #71

Open
giohappy opened this issue Aug 31, 2018 · 1 comment
Open

imposm diff directly applied to public shema? #71

giohappy opened this issue Aug 31, 2018 · 1 comment

Comments

@giohappy
Copy link

Hi guys,

we are giving a look to your great work here at GeoSolutions. We are evalutaing it to be adopted in some of our pipelines (in that case we hope to contribute back!).

Our initial test shows that, given the -deploytoproduction argument, the first import is directly moved to the public schema. The sunsequent imposm diff commands directly apply diffs to the public schema.
The latest is not very well documented on the imposm3 docs, and I quite do't understand how/why the diff command chooses the schema to apply diffs on.
My initial thought was that diffs were applied to import schema but, yes, in this case the import schema is empty because of the initial -deploytoproduction argument, so it couldn't apply diffs on that... My guess is that imposm diff only writes to public, by default?

A related question is: how do you deal with intermediate checks on imports or rollbacks in case of failures?

@gubuntu
Copy link
Contributor

gubuntu commented Sep 4, 2018

Hi @giohappy thanks for the feedback. @timlinux or @Gustry will be able to answer.

We will be deploying this as the OSM backend to GeoNode in Mozambique as per kartoza/geonode#422

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants