Are you using an older build of FME? We made some fixes recently to standardize the use of odd characters in transformers. I just tried the latest beta and it gave me this error message:
"Escape sequence '\' is invalid" as soon as I depressed 'OK', but '\\' works.
Please see http://www.safe.com/support/beta/index.php if you would like to try a 2007 beta - now build 4171.
Regards,
Dan Iseminger
Safe Software
Hello all,
I'm working with a workspace where I have a road network and a
dataset with administrative areas (Norwegian "Kommuner", similar to
county). I'm using a tester to select spesific roads, a buffer on top
og these roads, and a clipper to create a list of Kommuner that lies
within the buffer.
So far, so good. But then I want to create a batch-file that executes
some spesific actions for each Kommune. For instance, create a
directory.
I have been experimenting with a concatenator that creates the DOS-
command as an attribute, and then output it to a csv-file.
Example:
I have Identified three Kommuner:
Fylke Kommune Name
02 0219 Bærum
02 0220 Asker
06 0626 Lier
I then want to create a DOS-batchfile that looks like this:
MKDIR C:\DATA\VEKTOR\02\22-FKB\0219\SOSI
MKDIR C:\DATA\VEKTOR\02\22-FKB\0220\SOSI
MKDIR C:\DATA\VEKTOR\06\22-FKB\0626\SOSI
And here's my problem: The concatenator doesn't accept the use
of "\". Instead I have been using "/", and replaced it in the
textfile afterwards.
Does anyone have a better solution for me?
Thanks in adwance!
KJ
7![]()
__._,_.___
For insights into what's up at Safe Software and what's on the development horizon, visit Safe's blog at spatial-etl.blogspot.com.
Safe Software has also made slides available that outline enhancements planned for FME 2007. The slides are from the "Road Ahead" presentation given on Day 2 of the FME Worldwide Users Conference. To view these slides, visit www.safe.com/2006uc.
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
