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

Refactor import-water docker image #115

Merged
merged 1 commit into from
Jan 22, 2020
Merged

Conversation

nyurik
Copy link
Member

@nyurik nyurik commented Nov 24, 2019

This PR must be merged after the openmaptiles/openmaptiles#739 (:heavy_check_mark: done)

  • use builder image for downloading/unziping
  • use ogr2ogr to import the data into postgres
  • simplified importing script
  • Support standard PG* env vars in addition to legacy POSTGRES_* ones.
  • Remove polygon simplification - should be done in OMT water layer

This is similar to #140 , and both migrations could be done in parallel

nyurik added a commit to nyurik/openmaptiles that referenced this pull request Dec 13, 2019
Move materialized view creation from the tools repo.
This should be coordinated with
  openmaptiles/openmaptiles-tools#115
nyurik added a commit to nyurik/openmaptiles that referenced this pull request Dec 13, 2019
Move materialized view creation from the tools repo.
This should be coordinated with
  openmaptiles/openmaptiles-tools#115
nyurik added a commit to nyurik/openmaptiles that referenced this pull request Dec 14, 2019
Move materialized view creation from the tools repo.
This should be coordinated with
  openmaptiles/openmaptiles-tools#115
nyurik added a commit to nyurik/openmaptiles that referenced this pull request Dec 14, 2019
Move materialized view creation from the tools repo.
This should be coordinated with
  openmaptiles/openmaptiles-tools#115
nyurik added a commit to nyurik/openmaptiles that referenced this pull request Dec 14, 2019
Move materialized view creation from the tools repo.
This should be coordinated with
  openmaptiles/openmaptiles-tools#115
nyurik added a commit to nyurik/openmaptiles that referenced this pull request Dec 14, 2019
Move materialized view creation from the tools repo.
This should be coordinated with
  openmaptiles/openmaptiles-tools#115

This PR is similar to openmaptiles#740
nyurik added a commit to nyurik/openmaptiles that referenced this pull request Dec 16, 2019
Move materialized view creation from the tools repo.
This should be coordinated with
  openmaptiles/openmaptiles-tools#115

This PR is similar to openmaptiles#740
nyurik added a commit to nyurik/openmaptiles that referenced this pull request Dec 19, 2019
Move materialized view creation from the tools repo.
This should be coordinated with
  openmaptiles/openmaptiles-tools#115

This PR is similar to openmaptiles#740
nyurik added a commit to nyurik/openmaptiles that referenced this pull request Dec 20, 2019
Move materialized view creation from the tools repo.
This should be coordinated with
  openmaptiles/openmaptiles-tools#115

This PR is similar to openmaptiles#740
nyurik added a commit to nyurik/openmaptiles that referenced this pull request Jan 19, 2020
Move materialized view creation from the tools repo.
This should be coordinated with
  openmaptiles/openmaptiles-tools#115

This PR is similar to openmaptiles#740
nyurik added a commit to openmaptiles/openmaptiles that referenced this pull request Jan 20, 2020
Move materialized view creation from the tools repo.

This PR should be merged before the openmaptiles/openmaptiles-tools#115

Merge the other PR shortly after this one to avoid doing the same work twice - first creating simplified table, then dropping it and recreating them as materialized views.
@nyurik nyurik changed the title BREAKING: Refactor import-water docker image Refactor import-water docker image Jan 21, 2020
* use builder image for downloading/unziping
* use ogr2ogr to import the data into postgres
* simplified importing script
* Support standard PG* env vars in addition to legacy POSTGRES_* ones.
* Remove polygon simplification - should be done in OMT water layer

A separate PR for OMT repo is required to create simplified materialized views.
@nyurik nyurik merged commit 6d6422d into openmaptiles:master Jan 22, 2020
@nyurik nyurik deleted the water2 branch January 22, 2020 17:33
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

Successfully merging this pull request may close these issues.

None yet

2 participants