datamaps icon indicating copy to clipboard operation
datamaps copied to clipboard

Specifying color for data points in large file

Open ramyaragupathy opened this issue 9 years ago • 2 comments

@ericfischer Is there an option to specify a color code for a huge dataset using encode? In my case, there is a .osm file for buildings in SF Peninsula and I want the output gif from osm-animate to be shown in some bright color.

ramyaragupathy avatar Feb 03 '16 12:02 ramyaragupathy

Datamaps is basically unmaintained at this point, and all the recent development is on Tippecanoe.

Datamaps only has one metadata field per feature, and osm-animate uses it for the time stamp, so it is not available to encode a color for each object. If you just want everything to have a color, you can use the -c option to render to specify one hex color that applies to everything.

e-n-f avatar Feb 03 '16 16:02 e-n-f