Hello Thomas, 2012/4/4 Thomas Petazzoni <[email protected]>: > So this means that we no longer have a configuration file, but rather > an exhaustive list of the stylesheets we support. The user is supposed > to make symbolic links to the stylesheet installation directory, as you > suggest.
Yes. > I would add something else to this: ocitysmap should gracefully ignore > a stylesheet for which the symbolic link is missing, so that users are > not forced to install *all* stylesheets to get a working > ocitysmap/maposmatic combination. I agree. > However, all this requires Django to pass the current website language > when calling the "get stylesheet list", "get layout list" and "get > papersize list" from ocitysmap, but this is certainly doable. Another possibility: we move this Python code into maposmatic module and ocitysmap imports it. Not sure the result is not a mess. ;-) Best regards, d.
