Visualizzazione post con etichetta mapserver. Mostra tutti i post
Visualizzazione post con etichetta mapserver. Mostra tutti i post

martedì 16 febbraio 2010

Prove MapServer con FastCGI su Dcarto3

PROVE: INSTALLAZIONE MS4W + FASTCGI su DCARTO3


  • Copiato MS4W in d:\

  • Configurato la porta 88 per apache (in httpd.conf su D:\ms4w\Apache\conf)

  • Installato apache come servizio (apache-install.bat)

  • Installato Visual C++ 2008 Redistributable Package (salvato in e:\installa\vcredist_x86.exe)

  • Open /ms4w/Apache/conf/httpd.conf in a text editor

  • Uncomment line#128,

    • LoadModule fcgid_module modules/mod_fcgid.so
  • At the bottom of the file you will see a commented "" section. If you want to use FastCGI directives (listed on the mod_fcgid page) you can uncomment the section and add your directives, such as:


    •    FcgidMinProcessesPerClass 0
    •    FcgidIdleScanInterval 1
    •    FcgidProcessLifeTime 10
    •  
  • To benefit from the persistence of mapserv.exe in fastCGI mode you should add the following line to the LAYER sections in your map files with expensice connections (e.g. PostGIS, ArcSDE, etc):

    • PROCESSING "CLOSE_CONNECTION=DEFER"

installazione mapserver 5.6

10/02/2010

Installato Mapserver 5.6 su dcarto3:

effettuate prove:
  1. modificare mapfile per sostituire “#--------------------- MAP ---------------------------” con MAP
  2. modificare _creamapfileCS.asp
  3. Problemi con label con campi concatenati: al momento non ci sono layer con label concatenate
  4. la dimensione delle label è maggiore
  5. PROBLEMA: se impostato parametro &SLD= con SLD vuoto 5.6 dà errore: modificati programmi
  6. modificati mapfiles statici:
  • \mapfiles\polis\polis.map
  • \mapfiles\sigmater\s3wms_agp_rer.map
  • \mapfiles\sigmater\s3_comge.map
  • \mapfiles\sigmater\Sigma3_comge.map
  • \mapfiles\vincoli\vincoli.map
  • \Natura2000ADM\habitat.map
  • \Natura2000ADM\habitatCLASSI.map
  • \Natura2000ADM\specie.map
  • \mapfiles\repertoriocartografico\pianificazione\1199bis.map