[mapguide-users] DWF Viewer progress bar?

Walt Welton-Lair walt.welton-lair at autodesk.com
Mon Feb 12 11:52:20 EST 2007


The progress bar measures the total download progress for the map
update.  Here's what happens in detail:

1/ the DWF Viewer requests a map update from the server
   => hourglass cursor is shown, but no progress bar yet

2/ the response from the server (an EMapTransaction DWF) begins
streaming in
   => the progress bar is turned on and starts updating

3/ the EMapTransaction is a compressed file containing a sequence of
resources:
   a descriptor, graphic resources (W2Ds), and object definition data
(attributes)
   => while a resource is being downloaded the progress bar updates
   => once a resource is fully downloaded it's immediately processed
      * the progress bar does not update during processing
      * depending on the size of the resource it may take some time
        to process it, e.g. a layer with dense graphical data
   => after the resource processing completes the next resource in the
server
      response is read
      * the progress bar updates some more

As far as the dual progress indicators, those are used in the context of
multi-page EPlot and EModel DWFs.  One of the bars indicates the
progress for loading the current page, while the other indicates
progress for loading the entire DWF.  EMaps don't have multiple pages,
and so the two indicators always have the same position.

Walt

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Joel
Carranza
Sent: Tuesday, February 06, 2007 10:05 PM
To: MapGuide Users Mail List
Subject: [mapguide-users] DWF Viewer progress bar?

Perhaps this is a silly question, but here is goes:

Does anybody know exactly how the progress bar in the DWF operates? On 
each map request, there seems to be three stages...

1) No progress bar (no significant CPU activity)
2) Progress bar appears with very tiny amount of progress (CPU starts 
working)
3) Progress bar updating and map updating (CPU is working)

There are actually two different progress bars (one on top of each 
other) which are working in tandem with each other. Does anyone know 
precisely how to interpret them? The Below URL explains for a 
multi-sheet DWF.

http://dwf.blogs.com/beyond_the_paper/2006/09/dwf_progress_ba.html

How does one interpret them in the context of a DWF map? Specifically, 
we are wondering about the pause at stage #2. Is that when the client 
has started recieving data, recieved all data? Is the pause at stage #2 
utterly insignificant? Anybody know?

--joel


_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



More information about the mapguide-users mailing list