private File invokeOsmarenderXsltProc() throws IOException, InterruptedException {
		final String osmarender = "lib/osmarender.xsl";
		File osmarenderOutput = File.createTempFile("map", ".svg");
		
		String[] command = new String[5];
		command[0] = "xsltproc";
		command[1] = "-o";
		command[2] = osmarenderOutput.getCanonicalPath();
		command[3] = osmarender;
		command[4] = styleFile.getCanonicalPath();
		
		Runtime runtime = Runtime.getRuntime();
		Process process = runtime.exec(command);
		// Consume streams to prevent locking
		new ShellStreamConsumer(process.getInputStream(), Type.STDOUT);
		new ShellStreamConsumer(process.getErrorStream(), Type.STDERR);
		
		int returnValue = process.waitFor();
		if(returnValue!=0){
			throw new RuntimeException("Map generation failed");
		}
		
		return osmarenderOutput;
	}