<?php
include ('tme\TME_MySQL_DataConnector.php');
include ('tme\TME_Engine.php');
$dataConnector = new DataConnector();
$dataStore = $dataConnector->getDataStore(68, 2005, 0);
$parameters = array( 'mapType' => 'choropleth','indicator' =>
68,'year' => 2005,'classification' => 'equal' );
$map = new ThematicMap($dataStore, $parameters);
$file = $map->getKML();
?>
Message displayed in browser :
Warning: imagepng() [function.imagepng]: Unable to open 'tmp/files/
legend1263551295.png' for writing: No such file or directory in C:
\xampp\htdocs\tme\TME_Engine.php on line 892
Warning: imagecreatefrompng(files/logo.png)
[function.imagecreatefrompng]: failed to open stream: No such file or
directory in C:\xampp\htdocs\tme\TME_Engine.php on line 977
Warning: imagecopy() expects parameter 2 to be resource, boolean given
in C:\xampp\htdocs\tme\TME_Engine.php on line 978
Warning: imagepng() [function.imagepng]: Unable to open 'tmp/files/
logo1263551295.png' for writing: No such file or directory in C:\xampp
\htdocs\tme\TME_Engine.php on line 996
--------------
i have not seen a simple example link or script anywhere in website.
is there or not. can any one tell me a smooth working example. i
guesss some image files are missed in bundled api.
-------------
Your question is about the Thematic Mapping Engine, and this is the
forum for the Thematic Mapping API, which is a different application.
Are you sure that you have write access to your disk? It seems that
TME are not able to store images on disk.
TME forum: http://groups.google.com/group/thematic-mapping-engine
Bjørn