On Fri, February 29, 2008 17:28, [EMAIL PROTECTED] wrote: > Hi, > > > I am trying to get osmosis to work for me for the first time. I'm not > sure I have it installed properly because I try this : > > java -mx1024m -jar osmosis.jar --read-xml file=uk-080227.osm > --bounding-polygon file="MyArea.txt" --write-xml > file="MyArea.osm"
Those three lines are seperate lines in the script called "do_it", right? Please add a backslash after the first two lines, otherwise the shell assumes that it has to run three commands, one calles "java", the next called "--bounding-polygon" and the third called "file=". Your script should look like: --- cut here --- java -mx1024m -jar osmosis.jar --read-xml file=uk-080227.osm \ --bounding-polygon file="MyArea.txt" --write-xml \ file="MyArea.osm" --- cut here --- > And I get: > [EMAIL PROTECTED]:~/osmosis-0.24$ sh do_it > ... > gnu.java.lang.MainThread.run(libgcj.so.70) do_it: 2: --bounding-polygon: > not found [EMAIL PROTECTED]:~/osmosis-0.24$ This output supports my theory about your shell script. Regards, Hakan -- The key to immortality is first living a life worth remembering... _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

