responseFileName = "map.svg";
IStreamEncoder encoder = null;
File tmpFile = null;
if(outputFormat.equalsIgnoreCase(GeoEngineConstants.JPEG)) {
encoder = new SVGMapConverter();
responseFileName = "map.jpeg";
}else if(outputFormat.equalsIgnoreCase(GeoEngineConstants.PDF)){
encoder = new SVGMapConverter();
BufferedInputStream bis = null;
String dirS = System.getProperty("java.io.tmpdir");
File imageFile = null;
bis = new BufferedInputStream( new FileInputStream(maptmpfile) );