Zao Liu CGL Report

Thursday, November 30, 2006

Status report for Nov 29th

1. Adding a flex module on Indiana cache server, so the map server can support almost all functions like zooming, geocoding, layer changing, whiteboard scribbling concurrently on client by message passing using flex data service. The link for this sample is:
Indiana map collaboration

2. In order to run this demo, you need flash media player first installed. Downloading URL is: Flash Media Player
Installation Instructions:
(1) Installation of Adobe Flash Player may require administrative access to your PC, which is normally provided by your IT department. For the installation to succeed, you may be asked to close all open browser windows during the installation.
(2) Click the Download Now button. A dialog box will appear asking you where to save the Installer.
(3) Save the Installer to your desktop, and wait for it to download completely.
(4) An Installer icon will appear on your desktop. Double-click on it.
(5) You may be prompted to close open browser windows to continue with the installation.
(6) You can verify the version you have installed by visiting the About Flash page

3. Adding chatboard to the client. So every one who login in can chat with others in this board. (It is just a simple implementation now)

4. Next step:
The server doesn't save the status of clients, so any one who join in the session didn't know other's status, he have to wait for other's next step to join in th session. Also, anyone join the session can control the map, so it is a bit confusing. I wanna using passing baton method to solve this problem so that at a time only one person can control the map.

Wednesday, November 15, 2006

Status Report for Nov 15th

In order to implement Google map collaboration, I added a collaboration panel including whiteboard on top of Google Maps by implmenting a flex module, but that you could add on top of any application (HTML, Ajax, or Flex).

The Flex module adds the following collaboration features to Google Maps:
1. Map sharing: Maps are kept in sync (in real time) between users involved in a collaboration session.
2. Videoconferencing (Webcam sharing and VOIP): You can share your Webcam and microphone to add video and audio to your collaboration session.
3. Whiteboarding: Collaborating users can draw on the map. For example you could draw potential directions, etc. The users’ whiteboards are kept in sync in real time.
4. Cursor sharing: When you move your mouse, other users see the movements of your mouse and what you are pointing at.

The Flex features used in this example include:
1. Publish/subscribe messaging and support for real-time communication
2. Drawing API
3. Support for webcam/voice capture and streaming (Flash Media Server is required for streaming).

Run a simplified version of the application.

Thursday, November 09, 2006

Status report for Nov 8th and next steps

1. Finish caching all 17 county servers in Indiana State we know so far and add feature service for all these counties. Moreover, I will build a more stable service. It should be done by the end of this semester.

2. Use DHTML collaborative with Ajax techniques to make a white-board on the client side. Now I have build a graphic Javascript library which supports dynamically draw lines, rectangle, circle, polygon as what user wants. I am trying to solve the trouble of synchronization between multiple clients. I have discussed it with Tao. It should be a good service to add to GLOBALMMCS.

3. I am working with Ahmet Sayar to try to get his Dislin contour plot service of California integrated with a California version of my service.

Wednesday, November 01, 2006

Status Report for Nov 1th

1. Now 17 counties can be downloaded, and 13 counties has finished download. There are over 300000 tiles for one county. I wanna try to get a average time for downloading one tile, but it's hard to be estimated since the server doesn't response stable.If using time 1 sec for downloading one tile as a guess, then it almost need 4 days to download the tiles for one county (300000/60/60/24= 3.5 day). Of course, we can download those county tiles concurrently from their individual county server, but it doesn't work for downloading aerial photo layer since all tiles are all from IU server and this server is the slowest one.So I wanna suggest that we don't need to downloading the smallest scale, like Marion's largest resolution for all counties, but choose some counties, like Marion, Monroe and one or two more counties to prove that we have the capability to get better resolution than Google.

2. Re-estimate the storage for caching entire state.
There are 48410476 tiles for zoom levels 0-13(2.5-3 TB) , 162561384 tiles for 0-14 levels (nearly 12 TB).
Details:
Aerial photo layer tiles take 25~30 KB per each. Other layers (parcels, roads) are much smaller: 30~36 KB for all remaining 9 layers per tile. So we need almost 60KB * 48410476 tiles to store all map data for zoom level 0-13.Layers from Google (Hybrids, Street, Google Satellite) don’t need to be cached.

3. Update county layer ids. The layer id for query aerial photo is changed and cause the update for Monroe photo layer fails. Many blank tiles appears and need to be re-cached, so we need think about a more effective mechanism to keep concurrent with county servers. Currently I added a report error function in client side. But it is only a method to deal with damage, not a method to avoid it.

4. Adding function of querying parcel information by circle, rectangle, point. Currently we can query parcel data from MARION, HANCOCK, CASS. So it is good to show query parcel data accross the boundary of MARION and HANCOCK. Now I am working on HAMILTON and MADISON. These four counties are adjacent. I wanna to show query parcel data across four counties.

5. In order to show function of query parcel data by drawing circle, rectangle, point, a Javascript graphic library is added to support all these functions. It also support all the functions we need to implement client white-board paint functions.

6. Update the slides for IGIC Meeting.
http://www.crisisgrid.org/cgwiki/images/4/49/IGIC_Oct27_2006_Final.ppt

Link of updated client:
IndianaMashup