Wykres commitów

36 Commity (5fd186a3113e500a21a65eb8e034792c0e0bf5eb)

Autor SHA1 Wiadomość Data
Tomas Pohanka 624cf7a8a3
Minor docs enhancement. (#1481)
Update docs, links, and comments.
2023-01-30 14:04:47 +01:00
Cody B. Daig 7838221b16
Update Quickstart.md with proper make list commands (#1316)
`make list` insn't a valid command. This updates the documentation with the proper commands.
2021-11-27 03:50:40 -05:00
Nic Hubbard 6caab9fa09
Update QUICKSTART.md (#1282)
Updated the output of `make help`.
2021-10-29 18:08:50 -04:00
Jeremias Volker 76d5d753d8
Fix own OSM instructions (#1101)
Before it was throwing `ERROR:  make generate-bbox-file area=<area-id>` and `Area source has not been specified. Auto-detecting...
ID 'my' was not found in Geofabrik.` `make: *** [download] Error 1`

* Use more meaningful area name

* rename user data example

Co-authored-by: Tomas Pohanka <TomPohys@gmail.com>
2021-04-20 14:59:43 +02:00
Tomas Pohanka 0776cd3eed
README - Rename target for bbox-file by new tool 5.3 (#1040)
Changed in Use 5.3 - new bbox value (#1012)
2020-11-13 14:34:41 +02:00
Tomas Pohanka d180988f5f
Move "qa" tools from OMT to OMT-T (#1031)
With the new release of OMT-T (5.3) are available tools [`layer-stat`](https://github.com/openmaptiles/openmaptiles-tools/pull/293). 

With the new release of OMT-T can be replaced `make` target `generate-qareports` by `generate-qa`

Used as:
```
make generate-qa STAT_FUNCTION=frequency LAYER=transportation ATTRIBUTE=class
```
2020-11-12 11:23:06 +02:00
zstadler 09b68ed1c2
Allow `BBOX` to be set in `.env` file (#1013)
* Allow setting `BBOX` to be set in `.env` file

Currently, the `BBOX` setting in `.env` is ignored for all areas except `planet`.
On the other hand, the `planet` area is an overkill for any `BBOX` setting other than the default - `-180.0,-85.0511,180.0,85.0511`.

With this PR, `quickstart.sh` would not override a modified `BBOX` value in `.env`. 

Also, this provides a way to avoid the pessimistic `BBOX` computation for `osmfr` extracts, as described in https://github.com/openmaptiles/openmaptiles-tools/pull/297#issuecomment-700792702

#### Currently
- If the user does not do anything, `quickstart.sh` and `make generate-tiles` create an `mbtiles` file for the full extent of the data source. This applies to `planet` and other data sources.
- If a user sets the `BBOX` value in `.env` and a `planet` data source is used, `quickstart.sh` and `make generate-tiles` create an `mbtiles` file for the extent set in the `.env` file.
- If a user sets the `BBOX` value in `.env` and a non-`planet` data source is used, it is ignored - `quickstart.sh` and `make generate-tiles` create an `mbtiles` file for the full extent of the data source.

#### Problem statement
While users of a `planet` data source have a simple way to override the default extend of the tile generation, users of other data sources have no simple way of doing that. In fact, for such users the `BBOX` setting in the `.env` file is ignored and therefore misleading.

#### Proposal
- If the user does not do anything, `quickstart.sh` and `make generate-tiles` create an `mbtiles` file for the full extent of the data source. This applies to `planet` and other data sources.
- If a user sets the `BBOX` value in `.env`, `quickstart.sh` and `make generate-tiles` create an `mbtiles` file for the extent set in the `.env` file. This applies to `planet` and other data sources.
2020-10-15 11:38:11 +03:00
Taro Matsuzawa aka. btm 7b2df3b64f
write how to generate dc-config (#982)
Added document about how to generate dc-config in QUICKSTART.md.
2020-09-14 18:20:24 +03:00
Yuri Astrakhan 1a9f6132c3
New generate-dc-config target, rm QUICKSTART_MIN/MAX_ZOOM (#915)
* Set `MAX_ZOOM` to 7 by default.
* Remove `QUICKSTART_MIN/MAX_ZOOM` - unneeded complexity with two env vars. We can just use `MIN_ZOOM` and `MAX_ZOOM`. See also #261
* Generate dc-config yaml file with a new `make generate-dc-config` step. It will compute BBOX based on the downloaded data file. This step is not needed for planet generation.
* Generate Imposm replication file only when `DIFF_MODE` is `true`. Not needed otherwise. If the data source does not support it, it will throw an error.
2020-06-04 15:45:04 -04:00
Tomas Pohanka b2ab969128
Update steps for 'Using your own OSM data' (#889)
Add more clear step into quickstart.md for using own OSM data
fix #843
2020-05-26 20:50:00 +02:00
Yuri Astrakhan 0cae7b9fd6
Upgrade to tools v5 - rm import-osm, new downloader... (#785)
Update to tools v5. See https://github.com/openmaptiles/openmaptiles-tools/releases/tag/v5.0.0 for the list of all changes. Other OMT-repo specific changes:

* removes `import-osm` docker usage, replacing it with `openmaptiles-tools`
* quickstart builds faster because it uses postgres with preloaded water, natural earth, and lake centerlines tables.

### Makefile targets
* `tools-dev` will open a shell in a docker to experiment and debug (instead of `import-sql-dev` and `import-osm-dev`)
* separated `start-maputnik` from `start-postserve`
* renamed `clean-docker` into `db-destroy` to make it more explicit
* cleaner `db-start`, `db-stop`, `db-destroy` targets
* `db-start-preloaded` is the same as `db-start`, except that it uses `postgis-preloaded` -- an image with preloaded water, natural-earth, and lake centerline data
* `db-start` will not recreate the container if it already exists -- this way if it was started as preloaded, it will not be rebuilt.
* better output messages

### Quickstart
* uses `postgis-preloaded` image by default to make quickstart quicker.  To start with a clean db, pass 2 parameters to quickstart, e.g. `./quickstart.sh albania empty`
2020-05-05 11:53:09 -04:00
adrian 460550ac78 this image has moved. its now maptiler.
https://github.com/klokantech/tileserver-gl directs to https://github.com/maptiler/tileserver-gl

(as of writing) this updates the version of tileserver-gl from 2.6.0 to 3.0.0.
2020-04-21 13:51:03 -04:00
Yuri Astrakhan 490acf9beb
Use tools v4 with on-the-fly boundary generation (#750)
* Switch OMT to use the new tools v4.0.0
* borders are dynamically generated from the PBF file instead of downloading a prepared CSV file
* all tools are executed as current user instead of root, thus files are easier to modify/delete if needed
* all data is stored in the local file system instead of docker volumes (Docker currently has a limitation of non-root operation for internal volumes). This also makes it easier to examine and test it.
* New `init-dirs` make target creates all the needed dirs - `build, data, cache`
* `make clean` deletes the whole `build` dir instead of individual files.
* `clean-docker` for backward compatibility deletes `cache` dirs (it used to be a volume)
* all `psql` calls are now done with `ON_ERROR_STOP=1`
* got rid of `pgclimb-*` targets -- same results can be done with `psql` (`pgclimb-list-views` & `pgclimb-list-tables` renamed to `list-views` and `list-tables`)
2020-03-06 13:15:54 -05:00
Yuri Astrakhan 8fe9af2327
Minor trailing whitespace cleanup (#596)
Remove extra spaces in a number of files.
2019-03-29 17:15:42 -04:00
Dalibor Janák 39415a435e
Merge pull request #564 from Phyks/patch-1
Add bc as dependency for the quickstart script
2019-03-18 12:05:27 +01:00
pathmapper e486f2b5ce
Formatting QUICKSTART.md 2019-02-12 09:38:04 +01:00
Yuri Astrakhan 00466a9040
format quickstart commands 2019-02-06 18:24:02 -05:00
Lucas Verney 71a79093b0
Also add md5sum as dependency for the quickstart script 2019-01-09 15:18:21 +01:00
Lucas Verney 893f84dd09
Add bc as dependency for the quickstart script 2019-01-04 19:36:06 +01:00
typebrook b48940f62e sync "make help" output 2018-11-05 16:41:23 +01:00
Eric Theise fc2080bed1 Correcting typos, standardizing whitespace, readability. 2018-10-12 00:51:32 -07:00
Hidenori FUJIMURA a334d5a0c1 Fix tile URL served from postserve (#333)
Fix the tile URL as coded at https://github.com/openmaptiles/postserve/blob/master/server.py#L97 . 
The tiles are served under /tiles from a postserve instance. I checked this using the actual running instance.
2017-10-19 22:10:12 -04:00
Mathieu De Brito 6f5bffa7ef Fixed a misspelled word (#295) 2017-06-28 20:07:39 -04:00
stirringhalo 239f0c6643 Fix travis (#245)
Move to the installed default docker version.
2017-05-11 19:34:25 -04:00
stirringhalo 255a4250b9 Add support for PBF tiles generated directly from postgres (#240)
* Add postserve

* Set postserve version
2017-05-10 18:35:01 -04:00
ImreSamu 3e1bc0cb46 fix #233 ( remove us from the download list ) (#234) 2017-05-01 19:28:16 -04:00
stirringhalo 067b1140d5 Update min versions 2017-04-13 20:06:46 -04:00
Tony Laidig 3897c5b65a Example for bringing your own osm PBF data (#217) 2017-04-11 20:05:21 -04:00
ImreSamu 32c858199c refresh ./quickstart <<area>> list 2017-01-20 19:39:55 +01:00
ImreSamu af09175141 add `make start-tileserver` 2017-01-08 14:08:08 +01:00
ImreSamu 6c7b44f00f 🚀 small fixes 2016-12-09 17:07:02 +01:00
ImreSamu 5c724e50ce add `docker-compose pull` 2016-12-04 16:55:25 +01:00
ImreSamu 631f7b7856 fixes , improvements 2016-11-30 05:39:06 +01:00
ImreSamu 0d826d6cc4 Operating system checks and QUICKSTART.md improvements 2016-11-30 03:34:19 +01:00
ImreSamu a4e8b4ac54 add QUICKSTART_MIN_ZOOM and QUICKSTART_MAX_ZOOM environment variables 2016-11-27 23:32:03 +01:00
ImreSamu e79ff96280 check minimal versions, add QUICKSTART.md 2016-11-27 20:01:01 +01:00