hholzgra / ocitysmap

Fork of ocitysmap repository at savannah.nongnu.org
Other
35 stars 12 forks source link

Add "aliases" config filed #27

Closed hholzgra closed 5 years ago

hholzgra commented 5 years ago

Sometimes a stylesheet is renamed, or replaced by a different one.

By adding an "aliases" list older style names can be mapped to other supported stylesheets. This way re-running old render requests from the database should not break anymore if an alias entry for that name still exits.

Example:

[german]
name: GermanCarto
aliases: GermanMapnik,OtherOldStyle
...
hholzgra commented 5 years ago

Fixed by https://github.com/hholzgra/ocitysmap/commit/43e12a5c09713ad97000d6fb597844e25ab52c27