public String getGeocode(){
		// Create the request
		String request = "";
		boolean res = false;
		request+= this.getUrl();
		if(this.getFormat()!=null){
			request+= "format=" + this.getFormat();
			res = true;
		}
		if(this.getQuery()!=null){
			if(res){
				request+= "&q=" + this.getQuery(); 
			}else{
				request+= "q=" + this.getQuery();
			}
		}
		return request;
	}