PNG vs GIF and Petitions too slow?

Robert Leeman rleeman at eitnl.com
Thu Jun 1 10:33:29 EDT 2006


Hi All:

Just following this discussion...  How you get MG Server to output GIF rather than PNG.

Bob Leeman

----- Original Message ----- 
  From: Traian Stanev 
  To: users at mapguide.osgeo.org 
  Sent: Thursday, June 01, 2006 11:34 AM
  Subject: RE: [mapguide-users] Petitions too slow?



  Hi, 

  Performance for PNG vs. GIF output should not be very different, especially on the local network, since map images are always generated in 32 bit color before being saved out to gif or png.

  I tried your site and searching for CASTILLO did not take 12 seconds, it took about 2 not counting the time it takes to zoom the map to that feature. Selection in the AJAX viewer is done on the server side, so it is normal for it not to be instantaneous -- it has to redraw the map with the object you selected highlighted. 

  So your speed problem is caused by slow map generation time on the server, for some reason. What is the data format for your layers -- are they SDF or SHP?


  Traian






------------------------------------------------------------------------------
  From: José Manuel Cerrejón González [mailto:gis at mapas-sll.com] 
  Sent: Thursday, June 01, 2006 6:08 AM
  To: users at mapguide.osgeo.org
  Subject: [mapguide-users] Petitions too slow?


  Hi, 

  I'm developing a gis based in MapguideOS. Here you can find a temporary example of my work:

  http://80.dot.38.dot.124.dot.203/21015

  Server: Pentium Xeon Dual Core 2.8 Ghz, 2 Ghz RAM, Windows 2003 Server (Spanish Ed) w/ SP1.
  Internet with 1 Mbits/sec.

  Tasks and their times:

  Note: A few layers, Tests under Internet Explorer 6, 1024x768 and another bandwidth with 1 Mbits/sec.

  Output in PNG24 format:

    a.. Load the Web: 15 sec. 
    b.. Search 'CASTILLO, 4' (polygon-parcel): 8 sec. 
    c.. Search 'CASTILLO' (line-street): 12 sec. 
    d.. Search 'COSO' (line-street): 11 sec. 
    e.. Search 'COSO, 12' (polygon-parcel): 5 sec. 
    f.. Select a parcel: 5 sec. 
    g.. Toolbar: Initial View, zoom rectangle: 8-11 sec. 
  Output in GIF format:

    a.. Load the Web: 15 sec. 
    b.. Search 'CASTILLO, 4' (polygon-parcel): 8 sec. 
    c.. Search 'CASTILLO' (line-street): 6 sec. 
    d.. Search 'COSO' (line-street): 7 sec. 
    e.. Search 'COSO, 12' (polygon-parcel): 4 sec. 
    f.. Select a parcel: 5 sec. 
    g.. Toolbar: Initial View, zoom rectangle: 6 sec. 
  Conclusions: Very slow. Maybe tweaking some file or parameters can help. The image in the cache show me a filesize between 80Kb with gif and double with png. So what's the server does? I can't understand this hole of time.

  I hope ideas, comments and conclusions.
  --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org For additional commands, e-mail: users-help at mapguide.osgeo.org 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060601/b3e6a61b/attachment.html


More information about the Mapguide_users mailing list