public void convertPointsToShape(){
		if(allData.size()!=0) return;
		try{
			for(int i=0; i<allPoints.size(); i++){
				SeShape shape = new SeShape();
				ArrayList<SDEPoint> points = allPoints.get(i);
				
				//convert to array of SDEPoint
				SDEPoint pts[] = new SDEPoint[points.size()];
				for(int j=0; j<pts.length; j++){
					pts[j] = points.get(j);
				}
				
				ArrayList<Object>data = new ArrayList<Object>();
				
				// Add null for the first column, which is dataset_id
				data.add(null);
				data.add(allIds.get(i));
				data.add(pts);
				allData.add(data);
			}
		} catch (SeException se){
			System.out.println(se.getMessage());
		}
	}