Installation

REQUIREMENTS and INSTALLATION of demoCW3gge cartoweb project:

exportGge 0.92 alpha has been tested on cartoweb 3.4.0 RC1 ( http://cartoweb.org/downloads.html ) and ms4w 2.2.4 ( http://www.maptools.org/ms4w/index.phtml?page=downloads.html ).

REQUIREMENTS :

  • cartoweb 3.4.0 RC1 . Some features won't work correctly on previous versions.
  • curl extension ( for <NetworkLink> to work in generated KML files )
  • cgi-bin mapserver binary available (for <NetworkLink> to work in generated KML  files )
  • KML graphics will be rendered fine on Google Earth Client 4.1.7087.5048 (beta) . I noticed some rendering problems that only disapeared after a restart of Google Earth client on previous Google Earth versions.

INSTALLATION of demoCW3gge cartoweb project:

  • extract archive so you have something like :

        demoCW3gge/client_conf
                            /coreplugins
                            /htdocs
                            /plugins
                            /po
                            /server_conf
                            /templates
                            /tests
                            /todo.txt
                            /license.txt
                            /install.txt
                            /features.txt
                            /demoCW3gge.php.move-me
                            /customize.txt

  • if needed change $MAPSERVER_CGI_BIN variable in demoCW3gge/plugins/exportGge/htdocs/php/mapserver_cgi_bin.inc.php to fit to your mapserver cgi-bin installation :
    •   on windows $MAPSERVER_CGI_BIN will default to "/cgi-bin/mapserv.exe?"
    •   on other OS $MAPSERVER_CGI_BIN will default to "/cgi-bin/mapserv?"
  • copy demoCW3gge directory into CARTOWEB_HOME/projects/ directory
  • rename CARTOWEB_HOME/projects/demoCW3gge/demoCW3gge.php.move-me
      to demoCW3gge.php and move it inside CARTOWEB_HOME/htdocs/
  • deploy demoCW3gge using command line :
    php cw3setup.php --install --project demoCW3gge --base-url http://localhost/cartoweb3/htdocs
      (change localhost and cartoweb3 part of url according to your environment;
      don't forget to put "htdocs" at the end)
  • launch http://localhost/cartoweb3/htdocs/demoCW3gge.php in your browser