X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=geography%2FfGIS%2Finstall.html;fp=geography%2FfGIS%2Finstall.html;h=eeabc615e645b686f28fef89db96d87d1a45ee18;hb=e8890a31f945acef02c617264aa041a6ace03366;hp=0000000000000000000000000000000000000000;hpb=9766a16a9d842ad56bfda8c0444ffa96e14cfe37;p=sites%2Fhome_page.git diff --git a/geography/fGIS/install.html b/geography/fGIS/install.html new file mode 100644 index 0000000..eeabc61 --- /dev/null +++ b/geography/fGIS/install.html @@ -0,0 +1,66 @@ + + +fGIS installation instruction + + + + +

fGIS installation instructions

+Before compiling and installing fGIS you should have working +installation of Tcl/Tk 8.0 +

+Pre-alpha snapshots of fGIS source tree do not include correct +install target in makefile. +

+So, you must install it by hand. Source tree is organized such way that +fGIS can be loaded directly from compilation directory. +

+fGIS library directory should reside somewhere Tcl can find its packages +i.e. as subdirectory of one of directories in tcl_pkgPath. +

+Directory tree should have following structure: +

+  fgis
+    |
+    +-pkgIndex.tcl
+    +-fgis.so (fgis.dll)
+    +-fgis.rc
+    +-tcl/
+    |   |
+    |   +- various scripts
+    |
+    +--colors/
+    |   |
+    |   +-color palettes (*.clr)
+    |
+    +--symbols/
+        |
+	+-- symbol files (*.sym)
+
+
+ +fGIS initialization code uses some heuristics to find where its support +files are located, but sureest method is to set Tcl variable +fGIS_HOME to the top of fGIS library directory before loading dynamic +library. +

+your pkgIndex.tcl can look as +

+package ifneeded Fgis 1.0 {set fGIS_HOME /usr/local/lib/fgis; load /usr/local/lib/fgis/fgis.so}
+
+

+Directory tcl in fgis source tree contain two executable scripts - +mapview and hypermap. They are sample fGIS +applications. In Unix they can be easily moved to any directory in your +PATH - with correctly set up pkgIndex.tcl they'll find support files +anywhere. On windows they should be renamed to mapview.tcl and +hypermap.tcl so they could be started with double click. +

+More to follow soon.. + + + + + + +