On Dec 23, 2010, at 1:05 PM, Michael Corey wrote:
> Hi guys -- thanks for the quick response.
>
> Here's the command I'm running:
>
> $ cascadenik-compile.py cascadeniktest.mml > output.xml
>
> And here's the response:
>
> Usage: cascadenik-compile.py [options] <mml> <xml>
>
> cascadenik-compile.py: error: Please specify .mml and .xml files
Ah, try this:
$ cascadenik-compile.py cascadeniktest.mml output.xml
The reason we changed it in version 1.0 from a pipe-to-file to an explicit
argument is that there is a bunch of path magic now happening in Cascadenik
that's designed to make it more resilient to relative directory paths and to
take advantage of a bunch of work Dane did to the Mapnik core.
Used to be that these three commands would all result in identical output files:
$ cascadenik-compile.py cascadeniktest.mml > output.xml
$ cascadenik-compile.py cascadeniktest.mml > .../output.xml
$ cascadenik-compile.py cascadeniktest.mml > /tmp/output.xml
Now, these may result in slightly different output files:
$ cascadenik-compile.py cascadeniktest.mml output.xml
$ cascadenik-compile.py cascadeniktest.mml .../output.xml
$ cascadenik-compile.py cascadeniktest.mml /tmp/output.xml
Hope that helps.
-mike.
----------------------------------------------------------------
michal migurski- [email protected]
415.558.1610
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users