[FWTools] Help for SHP->KML batch conversion

Matt Wilkie matt.wilkie at gov.yk.ca
Thu Apr 8 10:30:25 EST 2010


Are there spaces in the path/filename? perhaps %%f needs to be quoted: "%%f"

matt wilkie
--------------------------------------------
Geomatics Analyst
Information Management and Technology
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------


On 08/04/2010 7:50 AM, Luca Moiana wrote:
>
> Hi there,
>
>
> Here is right away my problem:
>
>
> 38 .SHP files to convert in .KML, no projection needed, on a windows 
> machine.
>
>
> I wrote a tiny .bat file in order to do that:
>
>
> @echo off
> call "C:\Programmi\FWTools2.2.8\setfw"
> for %%f IN (*.SHP) do ogr2ogr -f KML %%f PRJ\%%f
>
> where PRJ is my output directory and get this error message:
>
> %%f non atteso
>
> Where’s the problem?
>
> L
>
>
>   By not printing this email you've helped save paper, ink, and 
> millions of trees. www.printgreener.com/saveatree.php
>
>
>
> ------------------------------------------------------------------------
> Hotmail: Powerful Free email with security by Microsoft. Get it now. 
> <https://signup.live.com/signup.aspx?id=60969>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20100408/18f2bd83/attachment.htm 


More information about the FWTools mailing list