osmfj / tileman

Renamed from tilecache to "tileman": please re-config your git repository. This is OpenStreetMap "Tile-cache" and "Tile-server" recipe with Nginx and embeded Lua. A backend is Tirex, mapnik and PostGIS.
http://osm.jp/
61 stars 16 forks source link

hstore needs to be activated for tileman to work properly #39

Closed ghost closed 10 years ago

ghost commented 11 years ago

Thanks for that excellent compilation of tools!!!

I stumbled across on minor glitch: when running bootstrap.sh for the first time, hstore support is not activated for database gis:

Setting up table: planet_osm_point NOTICE: table "planet_osm_point" does not exist, skipping NOTICE: table "planet_osm_point_tmp" does not exist, skipping CREATE TABLE planet_osm_point ( osm_id int8,"access" text,"addr:housename" ...,"z_order" int4,tags hstore) failed: ERROR: type "hstore" does not exist LINE 1: ...d" text,"width" text,"wood" text,"z_order" int4,tags hstore)

This can be easily fixed by adding the following line to bootstrap.sh (around line 69)

su postgres -c "psql -d gis -c 'CREATE EXTENSION IF NOT EXISTS hstore;'"

Keep up the good work!

miurahr commented 11 years ago

Fix is comes here: https://github.com/osmfj/tileman/commit/b65615fe7c5f99724454d5f089f6f96c0b64fe67

but vagrant bootstrap installs released version not developer version, the work is not installed.

The fix https://github.com/osmfj/tileman/commit/b65615fe7c5f99724454d5f089f6f96c0b64fe67 make Vagrant bootstrap to install recent tileman utilities.

I need more work for vagrant development support.