[Mapserver-users] Re: [Mapserver-users] Prototype of MapServer application

armin.burger@libero.it armin.burger at libero.it
Tue Mar 25 23:24:52 PST 2003


Tyler,

it's "all" Mapserver, using PHP/Mapscript. The zoombox is DHTML using DOM. The application uses HTML frames. For every zoom/pan action the central map.php file is loaded into the mapFrame  via JavaScript. Here the necessary parameters like zoom type, zoomextent or zoom point are passed via the URL. Also the session ID for PHP. All central settings for PHP are saved and re-read in sessions. Some Javascript variables are saved in hidden input tags. 

The map.php reads these parameters and processes the map. I think it should be similar to how the ROSA applet works. In the same way as pan/zoom of the main map, the reference map, scale bar, scale, and layer list/legend are updated via javascript.

The data are only shapefiles and tiffs. I tested it also with PostgIS layers on Linux. The application now runs on Windows using the DM Solutions binary with GD2 from 10 February or so. The limitation is for this version that it cannot find truetype fonts (also not when using absolutue font paths) so at the moment only bitmap fonts are used. 

Armin


Hi Armin,
Nice looking work.  Can you tell us more about what's behind it all?  What
kinds of data sources are you using?  Is it "all" mapserver?


                                                                                                                                                 
                      "armin.burger at libero.it"                                                                                                   
                      <armin.burger                       To:       "mapserver-users" <mapserver-users at lists.gis.umn.edu>                        
                      Sent by:                            cc:                                                                                    
                      mapserver-users-admin at lists.        Fax to:                                                                                
                      gis.umn.edu                         Subject:  [Mapserver-users] Prototype of MapServer application                         
                                                                                                                                                 
                                                                                                                                                 
                      03/25/2003 06:35 AM                                                                                                        
                                                                                                                                                 





More information about the MapServer-users mailing list