Skip to content

Importing to contries/regions #37

@Sblop

Description

@Sblop

First of, I am impressed that paikka works soo much better than proton. Good job!

I do however have one issue/feature request.

Is your feature request related to a problem? Please describe.

I wish not to import all of Europe, but about 10 countries from around the world, most in Europe.
1: I downloaded each of the files from geofabrik.de.
2: I ran prepare for each of the files.
3: Then I startet the import job import.
Issue: The import process clears the database after each import, meaning that in reality my only option is World, region or country.

Describe the solution you'd like
Make it possible to add several regions on "top" of each other.

Further suggestion:

Perhaps, to make this even easier to deploy for more people, add the option that the user can set environment variables with:
LOCATION_1=Link to .osm.pbf file
LOCATION_2=https://download.geofabrik.de/europe/denmark-latest.osm.pbf
LOCATION_[...]=[...]

By using the direct link, the user can use different sources and you do not have to parse countries/names and make logic for downloading the correct region etc.

Logic:
1: Check if location is in the json file. If yes, ignore.
2: If not, run prepare and import.
3: Repeat for next location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions