June 24, 2009

Set class path for java:

I almost forget how to run Java command outside Java's root folder, bin. Here are the steps to set class path for java.
1./ Go into Advanced system settings in Control Panel/System
2./ Click on Environment Variables
3./ Click on New... to create "JAVA_HOME" with value "C:\Program Files (x86)\Java\jdk1.6.0_02"
4./ Edit "Path" with value "%JAVA_HOME%\BIN"
5./ Open your new CMD.

Note: Each value in "Path" is seperated by ";"

June 21, 2009

TileCache with Geoserver

When we use many layers in one map, we should better use Tilecache which stores all of those images in temporary in local computer, hence our map will load much faster than normal. Here are some ways to configure Tilecache.
1./ you need to have Apache server installed and make sure your Geoserver is available.

2./ Define your temp folder to store those temporary images and your layers which is already generated from Geoserver in "tilecache.cfg"
//temp folder
base= C:/temp/tilecache
// layer from Geoserver
layers= mango:cam_DistrictCenter
srs= EPSG:41001
#metatile= yes

3./ Define tilecache folder in "httpd.conf"
<Directory C:\wamp\www\tilecache>
AddHandler cgi-script .cgi
Options +ExecCGI

Reference: Tilecache's docs

June 05, 2009


It is a cool program which helps you to design any website in a few minutes by some easy steps. I can only use Artisteer v2.1.0 since I haven't found the cracked for other versions yet. Artisteer supports either many technologies such as CodeCharge Studio4, WordPress(2.5-2.7), Joomla 1.5 and Drupal(5.x, 6.x) or Browsers like IE 6+, Firefox 2+, Opera 9+, Safari 1+ and Chrome 1+. You should watch it's demo then you will know how cool it is.

Here are some steps to use Artisteer v2.1.0 without trial version:
1./ You must download Artisteer v2.1.0 by this url:
Artisteer v2.1.0 and install it.

2./ Download this video which tells you how to remove trial:
Untrial artisteer video

3./ Bat file is the key file to remove it's trial.

4./ Artisteer's doc

Note You may not be able to view Artisteer's doc directly on the internet but you can download and view it in your own PC.