Earth Tile Server is the tile server made for Earth WebGL. It parses GET requests for coordinates and generates images (tiles) for response.
- libmicrohttpd
- curl
- gcc/clang/mingw
- Install all dependencies.
- Build via make command.
There are two possible run options.
When file root directory is not set, any request is treated as tile request.
When file root directory is set, only requests /tile are treated as tile requests. Rest requests are treated as file requests, and tile application acts like web server.
To install sources on Ubuntu 18.04 use following script:
sudo apt update
sudo apt install git
sudo apt install gcc
sudo apt install libcurl4-openssl-dev
sudo apt install libmicrohttpd-dev
PATH=/usr/include/x86_64-linux-gnu:$PATH
mkdir dev
cd dev
git clone https://github.com/Shtille/earth-tileserver.git earth-tileserver
cd earth-tileserver
git submodule init
git submodule update
makeTo run the binary earth-tileserver.app use following script with chosen port number to listen:
cd bin
./earth-tileserver.app --port %PORT%To run in link with Earth WebGL just specify the site file root directory:
cd bin
./earth-tileserver.app --port %PORT% --root %PATH_TO_EARTH_WEBGL%Use test.html as test browser page for tiles loading.
Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
Please log bugs under Issues on github.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.