Display progress bar while waiting for data

Ed McNierney ed at TOPOZONE.COM
Tue May 17 12:35:28 EDT 2005


Dejan -

I'll second Frank's scepticism here.  Most of the "Image Loading"
animations you see on mapping sites are just that - animations.  They're
standalone animated GIFs and the like which cause pixels to twinkle on
the user's screen but which have no relationship to the actual progress
of the application.  The server could burst into flames and the "Image
Loading" graphic would keep dancing.

The site Regina mentions falls into this category.  IMHO, these kinds of
graphics are primarily used to try to cover up slow map servers, and not
to give users meaningful progress feedback.

I think by far the best feedback mechanism for image load time is the
map image itself.  If you simply display the image in a format that
browsers can easily render incrementally, then the user can see the
image begin to appear and will get a good feel for how long it will take
just by watching it.  JPEG is NOT a good choice for this, but GIF and
PNG images should render properly on most browsers.

For example, look at this image:

http://www.topozone.com/images/MtMonadnockTopo.gif

Over a slow connection.  You should see the large map image load
incrementally, so you know things are working.  If the image were
smaller and in a frame (to define the final output size) it would be
relatively easy to assess how much progress is being made.

        - Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 
 

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Dejan Gambin
Sent: Monday, May 16, 2005 5:06 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Display progress bar while waiting for
data

Hi,

Is it possible to create some kind of progress bar while waiting for
raster data to be displayed. I have some raster data in GeoTIFF format
that some users with a slow connection must wait for. I am wondering if
I can show them a progress bar indicating "estimated" time they have to
wait so they know and they can wait or cancel the process.

Does anyone have a suggestion on what is the best way to inform users?

thanks very much

dejan



More information about the mapserver-users mailing list