[openstreetmap/openstreetmap-website] suggested modifications in INSTALL and CONFIGURE files
jean-claude.jouffre at univ-smb.fr
Mon Dec 5 10:33:07 UTC 2016
Le 02/12/2016 à 12:41, Tom Hughes a écrit :
> I don't really want to be telling to people to install Node.js and npm
> for something that's entirely optional and doesn't matter at all.
> I can't see anything that mentions `--no-svgo` which is good because it
> would be complete nonsense. Rails knows nothing about svgo as such.
As I am an osm beginner, when I encounter an error message, I am not
able to understand if it will have bad consequences or not.
This is the error message :
svgo worker: `svgo` not found; please provide proper binary or disable
this worker (--no-svgo argument or `:svgo => false` through options)
The only reference to svgo is the line 'svgo:' in the
config/image_optim.yml file, following other parameters configured to
false (e.g. jpegtran: false).
But when I try to set it to false ('svgo: false' in image_optim.yml),
the next time I run trails server, it fails :
(/data/openstreetmap-website/config/image_optim.yml): mapping values are
not allowed in this context at line 12 column 18 (Psych::SyntaxError)
So chances are the best choice is to have the 'svgo not found' message
at the console and keep the osm web site available.
> Try to populate the database using omsosis is not recommended and we
> should probably just remove that. As you've discovered it doesn't really
If I properly read the CONFIGURE file, an alternative could be osm2pgsql.
But I already used it to build a tile server as described here :
in the "Loading data into your server" item.
It has filled postgis tables planet_osm_xxx and not the postgres tables
described in rails port/database schema.
So, would be osm2pgsql be smart enough to fill both schemas ? Do you
advice another way to fill in the data ?
And last, if we only fill the rails port tables (for the web site), is
there a trick to automatically populate postgis tables too (for the tile
More information about the rails-dev