Dane,

Dane Springmeyer wrote:
Latest nik2img adds geotiff output (georeferenced tiff) to the list of 
one-liner output formats.

While you're at it, I have a little request. nik2img fooled me a number of times with this. When I do a normal request:

nik2img map.xml parameter parameter parameter...

it works fine. Then I put this in a shell wrapper like this:

cat list-of-mapfiles | while read mapfile
do
   nik2img $mapfile parameter parameter parameter ...
done

and suddenly: Nothing but complaints about not being able to parse the map file!

Turns out that somehow nik2img tries to magically detect if a map file can be read from stdin; in the second invocation, it actually inherits the pipe on stdin from the shell loop and tries to read its map file from stdin.

It would be good if that could be fixed somehow. Maybe by just dropping support for reading mapfiles from stdin, or if you want that you should explicitly specify "-" on the command line.

Bye
Frederik

--
Frederik Ramm  ##  eMail [email protected]  ##  N49°00'09" E008°23'33"
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to