[Tile-serving] osm-carto benchmarking attempts
gravitystorm at gmail.com
Sun May 12 09:40:43 UTC 2013
Sorry to hear that it's a PITA to get the openstreetmap-carto
I've downloaded and set up a clean vagrant vm image for 12.10 64
server, and written these notes. I hope they help.
sudo apt-get install npm # pulls in nodejs as a dependency
sudo apt-get install nodejs-legacy # fix binary naming issue with
Ubuntu packaged version of node
npm install carto # installs to current working directory, in a
directory called "node_modules"
npm install millstone # ditto
sudo apt-get install git
git clone https://github.com/gravitystorm/openstreetmap-carto
sudo apt-get install unzip
sudo apt-get install gdal-bin # for ogr2ogr
./node_modules/carto/bin/carto openstreetmap-carto/project.mml >
I'd say it's about twice as complicated as strictly necessary, since
you shouldn't really need to download the shapefiles just to compile
the stylesheet, but hey-ho for now.
Let me know if that doesn't work, and I'll try again.
On 12 May 2013 09:39, Paul Norman <penorman at mac.com> wrote:
> After another couple of hours attempting to, I am now calling it quits on my
> attempts to benchmark the openstreetmap-carto stylesheet.
> The carto install docs are just too incomplete to someone who doesn't have a
> nodejs background.
> I can get renderd set up easily enough from apmon's PPA, but unless someone
> gives me an exact sequence of commands to run to install carto and any other
> dependencies needed for the osm-carto stylesheet conversion, I'm not looking
> at it again. Just for reference if someone does want to give me a set of
> commands, the VM would have apmon's PPA added and renderd, osm2pgsql,
> apache2.2, postgis, postgresql 9.1 and dependencies, all installed through
> apt-get, and was running ubuntu-server 12.10.
> In all honesty, I found it easier to set up a tile server before switch2osm
> then I find it now if you want the carto style.
> I do have a lovely set of benchmarks from osm.xml, but without something to
> compare them to they're not very useful.
> Tile-serving mailing list
> Tile-serving at openstreetmap.org
More information about the Tile-serving