You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-22Lines changed: 6 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,35 +33,19 @@ limitations under the License.
33
33
34
34
## 📖 How do I use Apache Baremaps?
35
35
36
-
You can find the documentation on the project's [website](https://baremaps.apache.org/). The following pages showcase the main uses of Apache Baremaps.
37
-
38
-
- The [OpenStreetMap](https://baremaps.apache.org/documentation/examples/import-osm-into-postgis) example is a good introduction to Baremaps, it shows how to produce high resolution vector tiles.
39
-
- The [NaturalEarth](https://baremaps.apache.org/documentation/examples/import-naturalearth-into-postgis) example shows how to produce low resolution vector tiles.
40
-
- The [Contour](https://baremaps.apache.org/documentation/examples/import-contour-into-postgis) example shows how to produce contour lines from a digital elevation model.
41
-
- The [IP to location](https://baremaps.apache.org/documentation/examples/ip-to-location) example shows how to create and serve an IP to location service in a simple web application.
42
-
- The [Geocoding](https://baremaps.apache.org/documentation/examples/geocoding) example shows how to create and serve a geocoding service in a simple web application.
36
+
You can find a [getting started](https://baremaps.apache.org/documentation/getting-started/) and [additional examples] on the project's [website](https://baremaps.apache.org/).
43
37
44
38
## 👩💻 How do I contribute?
45
39
46
-
There are many places where you can contribute to Apache Baremaps such as the code, the documentation, the website or the examples.
47
-
48
-
The official documentation is located in a separate [repository](https://github.com/apache/incubator-baremaps-site).
49
-
50
-
If you want to contribute to the code you can refer to the following developer guides available in the documentation.
There are many places where you can contribute to Apache Baremaps and your contributions are more than welcome.
58
41
59
-
You can also contribute in the following ways.
42
+
The [developer manual](https://baremaps.apache.org/documentation/additional-examples/) provides a good starting point on how to build and run the project from source.
60
43
44
+
You can contribute in the following ways:
61
45
- Improve the code: Report [a bug or submit a feature request](https://github.com/apache/incubator-baremaps/issues), or [submit a pull request](https://github.com/apache/incubator-baremaps/pulls) in the [incubator-baremaps](https://github.com/apache/incubator-baremaps/) repository.
62
46
- Improve the documentation: Report [documentation issue](https://github.com/apache/incubator-baremaps-site/issues) or [submit a pull request](https://github.com/apache/incubator-baremaps-site/pulls) in the [incubator-baremaps-site](https://github.com/apache/incubator-baremaps-site/) repository.
63
-
-[Join the mailing list](https://lists.apache.org/list.html?dev@baremaps.apache.org): Initiate or participate in project discussions on the mailing list
64
-
- Write a post: Write a post to share your use cases and experiences with Apache Baremaps
47
+
-[Join the mailing list](https://lists.apache.org/list.html?dev@baremaps.apache.org): Initiate or participate in project discussions on the mailing list.
48
+
- Write a post: Write a post to share your use cases and experiences with Apache Baremaps.
65
49
66
50
Finally, check out [CONTRIBUTING](CONTRIBUTING.md) and [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md).
If you plan on importing the whole planet, you will need a powerful machine with a lot of storage. You may also want to modify the `postgresql.conf` file to increase some of the default settings.
38
+
39
+
```
40
+
work_mem = 4GB
41
+
shared_buffers = 4GB
42
+
maintenance_work_mem = 16GB
43
+
autovacuum_work_mem = 4GB
44
+
max_worker_processes = 16
45
+
max_parallel_workers_per_gather = 8
46
+
max_parallel_workers = 16
47
+
wal_level = minimal
48
+
checkpoint_timeout = 10min
49
+
max_wal_size = 20GB
50
+
min_wal_size = 80MB
51
+
checkpoint_completion_target = 0.9
52
+
max_wal_senders = 0
53
+
```
54
+
37
55
## Importing the data
38
56
39
-
Assuming that the necessary requirements have been installed, the database can be populated with the following command.
57
+
Assuming that the necessary requirements have been installed, the database can be populated with the following command. The import workflow will download openstreetmap (osm.pbf) and other data sources into the database.
40
58
41
59
```
42
60
baremaps workflow execute --file import.js
43
61
```
44
62
45
63
## Updating the data
46
64
47
-
The data can be updated with the following command. The update workflow will download the latest changes from the OpenStreetMap API and apply them to the database.
65
+
The data can periodically be updated with the following command. The update workflow will download the latest changes from OpenStreetMap (osc.xml) and apply them to the database.
0 commit comments