Contact: devloic at gmail dot com

Installation

REQUIREMENTS and INSTALLATION of demoCW3gge cartoweb project:

exportGge 0.93 alpha has been tested on cartoweb 3.5.0 ( http://cartoweb.org/downloads.html ) and ms4w 2.2.9 ( http://www.maptools.org/ms4w/index.phtml?page=downloads.html ).

REQUIREMENTS :

  • cartoweb 3.5.0
  • curl extension ( for <NetworkLink> to work in generated KML files )
  • apache mod_rewrite ( for google maps KML/geoRSS export only )
  • 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.
  • add
    <900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs  <>
    to proj/nad/epsg
  • add an EPSGXXXXX.js file in demoCW3gge/plugins/exportGge/htdocs/js/api/soap/proj/ that coresponds
    to the project used by your mapfile and include
    <script type="text/javascript" src="{r type=js plugin=exportGge}api/soap/proj/EPSGXXXXX.js{/r}"></script>
    in demoCW3gge/plugins/exportGge/templates/api/soap/soap.tpl

INSTALLATION of demoCW3gge cartoweb project:

  • extract archive so you have something like :

    demoCW3gge/client_conf
    /coreplugins
    /htdocs
    /plugins
    /po
    /server_conf
    /templates
    /tests
    /changelog.txt
    /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

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code language="LANGUAGE">...</code> tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.