Closed ger-benjamin closed 4 years ago
https://jira.camptocamp.com/browse/GSSDI-27
If we use this lib not directly (I means, if the lib is in the nodes_modules), the current fallback path will be always false. Now we can set the path to symbol file via the class:
const mapFileParser = MapfileStyleParser();
mapFileParser.symbolsPath = 'my/path/to/symbols.sym';
Default to ${process.cwd()}/symbols.sym (process.cwd() => path of the folder where the node command executed.)
${process.cwd()}/symbols.sym
Or via the command line options:
mapfile-symbols-path=my/path/to/symbols.sym
This change was require to use geostyler-cli (see: #28 )
https://jira.camptocamp.com/browse/GSSDI-27
If we use this lib not directly (I means, if the lib is in the nodes_modules), the current fallback path will be always false. Now we can set the path to symbol file via the class:
const mapFileParser = MapfileStyleParser();
Default to
${process.cwd()}/symbols.sym
(process.cwd() => path of the folder where the node command executed.)Or via the command line options:
This change was require to use geostyler-cli (see: #28 )