Skip to content

Commit

Permalink
Remove outdated Lua test scripts
Browse files Browse the repository at this point in the history
They don't work any more with the new flex Lua output. And they are
have not been maintained anyway.
  • Loading branch information
joto committed Oct 19, 2024
1 parent adc5f50 commit e47a438
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 198 deletions.
6 changes: 3 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
This document describes how to manually configure your system for running OpenStreetMap Carto. If you prefer quick, platform independent setup for a development environment, without the need to install and configure tools by hand, follow a Docker installation guide in [DOCKER.md](DOCKER.md).

## OpenStreetMap data
You need OpenStreetMap data loaded into a PostGIS database (see below for [dependencies](#dependencies)). These stylesheets expect a database generated with osm2pgsql using the pgsql backend (table names of `planet_osm_point`, etc), the default database name (`gis`), and the [lua transforms](https://osm2pgsql.org/doc/manual.html#lua-tag-transformations) documented in the instructions below.
You need OpenStreetMap data loaded into a PostGIS database (see below for [dependencies](#dependencies)). These stylesheets expect a database generated with osm2pgsql using the flex backend.

Start by creating a database
Start by creating a database, we are using the database name `gis` here:

```sh
sudo -u postgres createuser -s $USER
Expand Down Expand Up @@ -89,7 +89,7 @@ To display *any* map, a database containing OpenStreetMap data and some utilitie

* [PostgreSQL](https://www.postgresql.org/)
* [PostGIS](https://postgis.net/)
* [osm2pgsql](https://github.com/openstreetmap/osm2pgsql#installing) to [import your data](https://switch2osm.org/serving-tiles/updating-as-people-edit/) into a PostGIS database
* [osm2pgsql](https://github.com/openstreetmap/osm2pgsql#installing) (>= 1.8.0) to [import your data](https://switch2osm.org/serving-tiles/updating-as-people-edit/) into a PostGIS database
* Python 3 with the psycopg2, yaml, and requests libraries (`python3-psycopg2`, `python3-yaml`, `python3-requests` packages on Debian-derived systems)
* `ogr2ogr` for loading shapefiles into the database (`gdal-bin` on Debian-derived systems)

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker-startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ EOF
--slim \
--drop \
--output flex \
--style openstreetmap-carto-flex.style \
--style openstreetmap-carto-flex.lua \
$OSM2PGSQL_DATAFILE

# Downloading and importing needed shapefiles
Expand Down
5 changes: 0 additions & 5 deletions scripts/lua/README.md

This file was deleted.

1 change: 0 additions & 1 deletion scripts/lua/openstreetmap-carto.lua

This file was deleted.

188 changes: 0 additions & 188 deletions scripts/lua/test.lua

This file was deleted.

0 comments on commit e47a438

Please sign in to comment.