maps.libre.is. Nominatim requirements
This commit is contained in:
parent
eb5e4c7ece
commit
5ab9f9c6ff
105
docs/_source/locale/en/LC_MESSAGES/maps-libre-is.po
Normal file
105
docs/_source/locale/en/LC_MESSAGES/maps-libre-is.po
Normal file
|
@ -0,0 +1,105 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) 2024, Jeff Moe
|
||||
# This file is distributed under the same license as the Libre Developers
|
||||
# Documentation package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Libre Developers Documentation 0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-09-14 10:47-0600\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: en\n"
|
||||
"Language-Team: en <LL@li.org>\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Generated-By: Babel 2.16.0\n"
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:3
|
||||
msgid "maps.libre.is"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:4
|
||||
msgid "HOWTO run your own map servers."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:8
|
||||
msgid "Debian"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:9
|
||||
msgid "Using Debian stable (12/bookworm)."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:13
|
||||
msgid "Firewall"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:14
|
||||
msgid "Open ports 80 and 443 for web."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:17
|
||||
msgid "Apache"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:18
|
||||
msgid "Install and set up Apache."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:27
|
||||
msgid ""
|
||||
"Add new apache configs to /etc/apache2/sites-available/maps-libre-is.conf:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:71
|
||||
msgid "Enable new configuration:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:82
|
||||
msgid "Nominatim"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:83
|
||||
msgid ""
|
||||
"\"Nominatim uses OpenStreetMap data to find locations on Earth by name and "
|
||||
"address (geocoding). It can also do the reverse, find an address for any "
|
||||
"location on the planet.\""
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:87
|
||||
msgid "`<https://nominatim.org/>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:89
|
||||
msgid "`<https://github.com/osm-search/Nominatim>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:91
|
||||
msgid "`<https://nominatim.org/release-docs/latest/admin/Installation/>`_"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:93
|
||||
msgid "The full installation is quite demanding:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:95
|
||||
msgid "2GB RAM minimum."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:97
|
||||
msgid "Full planet import requires 128GB of RAM or more."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:99
|
||||
msgid "Full planet needs at least 1TB of fast disk."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../_source/maps-libre-is.rst:101
|
||||
msgid "Full import of planet takes 2.5 days on NVMe, 4-5 days on SSD."
|
||||
msgstr ""
|
102
docs/_source/maps-libre-is.rst
Normal file
102
docs/_source/maps-libre-is.rst
Normal file
|
@ -0,0 +1,102 @@
|
|||
=============
|
||||
maps.libre.is
|
||||
=============
|
||||
HOWTO run your own map servers.
|
||||
|
||||
|
||||
Debian
|
||||
======
|
||||
Using Debian stable (12/bookworm).
|
||||
|
||||
|
||||
Firewall
|
||||
========
|
||||
Open ports 80 and 443 for web.
|
||||
|
||||
Apache
|
||||
======
|
||||
Install and set up Apache.
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
sudo apt install apache2 python3-certbot-apache
|
||||
certbot -d maps.libre.is -d map.libre.is
|
||||
# remove old apache configs:
|
||||
rm /etc/apache2/sites-enabled/000-default*
|
||||
|
||||
Add new apache configs to /etc/apache2/sites-available/maps-libre-is.conf:
|
||||
|
||||
.. code-block:: apache
|
||||
|
||||
<VirtualHost maps.libre.is:80>
|
||||
ServerName maps.libre.is
|
||||
ServerAlias map.libre.is
|
||||
ServerAdmin webmaster@libre.is
|
||||
DocumentRoot /var/www/html/maps-libre-is
|
||||
ErrorLog ${APACHE_LOG_DIR}/error-libre-maps-is.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access-libre-maps-is.log combined
|
||||
RewriteEngine on
|
||||
ReWriteCond %{HTTPS} off
|
||||
RewriteCond %{SERVER_NAME} =map.libre.is
|
||||
RewriteRule ^ https://maps.libre.is%{REQUEST_URI} [END,NE,R=permanent]
|
||||
ReWriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||
RewriteCond %{SERVER_NAME} =maps.libre.is
|
||||
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost maps.libre.is:443>
|
||||
ServerName maps.libre.is
|
||||
ServerAlias map.libre.is
|
||||
ServerAdmin webmaster@libre.is
|
||||
DocumentRoot /var/www/html/maps-libre-is
|
||||
ErrorLog ${APACHE_LOG_DIR}/error-ssl-libre-maps-is.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access-ssl-libre-maps-is.log combined
|
||||
RewriteEngine on
|
||||
RewriteCond %{SERVER_NAME} =map.libre.is
|
||||
RewriteRule ^ https://maps.libre.is%{REQUEST_URI} [END,NE,R=permanent]
|
||||
ReWriteCond %{HTTPS} off [OR]
|
||||
ReWriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
|
||||
ReWriteRule ^(.*)$ https://%1$1 [L,R=301]
|
||||
<Directory /var/www/html/maps-libre-is>
|
||||
Options FollowSymlinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
Include /etc/letsencrypt/options-ssl-apache.conf
|
||||
SSLCertificateFile /etc/letsencrypt/live/maps.libre.is/fullchain.pem
|
||||
SSLCertificateKeyFile /etc/letsencrypt/live/maps.libre.is/privkey.pem
|
||||
</VirtualHost>
|
||||
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
|
||||
|
||||
Enable new configuration:
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
sudo mkdir -p /var/www/html/maps-libre-is
|
||||
echo maps.libre.is | sudo tee /var/www/html/maps-libre-is/index.html
|
||||
sudo ln -s /etc/apache2/sites-available/maps-libre-is.conf /etc/apache2/sites-enabled/maps-libre-is.conf
|
||||
sudo systemctl restart apache2
|
||||
|
||||
|
||||
Nominatim
|
||||
=========
|
||||
"Nominatim uses OpenStreetMap data to find locations on Earth by name and
|
||||
address (geocoding).
|
||||
It can also do the reverse, find an address for any location on the planet."
|
||||
|
||||
`<https://nominatim.org/>`_
|
||||
|
||||
`<https://github.com/osm-search/Nominatim>`_
|
||||
|
||||
`<https://nominatim.org/release-docs/latest/admin/Installation/>`_
|
||||
|
||||
The full installation is quite demanding:
|
||||
|
||||
* 2GB RAM minimum.
|
||||
|
||||
* Full planet import requires 128GB of RAM or more.
|
||||
|
||||
* Full planet needs at least 1TB of fast disk.
|
||||
|
||||
* Full import of planet takes 2.5 days on NVMe, 4-5 days on SSD.
|
||||
|
Loading…
Reference in a new issue