No description
Find a file
merspieler b6dd42fa26 Updated Copyright year
Signed-off-by: merspieler <merspieler@airmail.cc>
2019-03-14 15:03:54 +00:00
sql Initial commit 2018-11-18 15:00:00 +01:00
.gitignore Added entry to .gitignore 2018-11-18 15:00:47 +01:00
build Updated Copyright year 2019-03-14 15:03:54 +00:00
build_tile Updated Copyright year 2019-03-14 15:03:54 +00:00
clear-cache-files Updated Copyright year 2019-03-14 15:03:54 +00:00
create-db Updated Copyright year 2019-03-14 15:03:54 +00:00
create-project Updated Copyright year 2019-03-14 15:03:54 +00:00
create-venv Updated Copyright year 2019-03-14 15:03:54 +00:00
edit-settings Updated Copyright year 2019-03-14 15:03:54 +00:00
general-settings.template Added license header to all files 2018-11-21 21:17:10 +01:00
index-db Updated Copyright year 2019-03-14 15:03:54 +00:00
install Updated Copyright year 2019-03-14 15:03:54 +00:00
LICENSE Added LICENSE 2018-11-18 18:17:50 +00:00
parameters Renamed descriptions to parameters and made it in json format. Contains all parameter data now 2018-11-21 20:35:00 +01:00
read-pbf Updated Copyright year 2019-03-14 15:03:54 +00:00
README.md Moved create-venv line in readme 2019-03-14 14:46:15 +00:00
update-programs Updated Copyright year 2019-03-14 15:03:54 +00:00

easy-osm2city

And wrapper around osm2city inspired by easy-rsa.

Usage

Getting started

  • Clone the repo (or download the as zip/tar file and unpack it).
  • Then go into the directory, run ./install and follow the instructions.
  • Create a database using ./create-db <database>.
  • Download the .pbf file for the area you want to build and put it into the pbf directory.
    I recommend to download from GeoFabrik.
  • Read the .pbf file into the database by running ./read-pbf <database> <pbf-file>
  • If you want to speed up further opperation on the database, index it by running ./index-db <database>.
    I highly recommend to do so.
  • Next step is to create a project by running ./create-project <project> and following the instructions.
  • Now you can build your first scenery by running ./build project. You will find the scenery under projects/<your-project>/scenery.
  • If you don't know, what a program does, simply run it with the -h parameter to get help.

Other programs

Programs that were not covered by Getting started:

  • update-programs: Will update easy-osm2city, osm2city it self and osm2city-data
  • clear-cache-files <project>: Will delete cache files created by osm2city.
  • ./create-venv. This will create a virtual environment and installs all needed python packages. NOTE: This is run for you by the installer.
  • edit-settings <project>: Is a simple way to edit your params.inifile (which is used by osm2city to know what and how to generate the scenery).
    It will make sure, that everything is in the correct format and in the correct datatype.