Mercurial > mxd2map
annotate INSTALL.txt @ 212:011ec33e84b4
* website/.htaccess, website/buildhtml.mk, website/switch.php:
added an rsync-switch to transfer symlinks as files (-L), reworked
the details language-switch inside the PHP-script.
author | Stephan Holl <stephan.holl@intevation.de> |
---|---|
date | Fri, 22 Jul 2011 13:35:25 +0200 |
parents | 1e3a5019c4ed |
children | 64cd6a115372 |
rev | line source |
---|---|
188
43f1cbdcd597
Modified and beautified the documentation:
Stephan Holl <stephan.holl@intevation.de>
parents:
182
diff
changeset
|
1 .. index:: installation, requirements, apache, UMN MapServer, compile, jar |
43f1cbdcd597
Modified and beautified the documentation:
Stephan Holl <stephan.holl@intevation.de>
parents:
182
diff
changeset
|
2 |
140
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
3 ------------ |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
4 Requirements |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
5 ------------ |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
6 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
7 The current version of the converter only runs on Windows. This is because |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
8 the ArcObjects JDK API is not running properly on Linux though. |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
9 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
10 To run the converter you need at least the following componentes: |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
11 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
12 * Sun Java6 SDK to build, JRE to run |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
13 * ArcGIS Desktop10.x or ArcEngine10.x with a valid licence enabled |
202
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
14 * UMN MapServer with Java MapScript-bindings (>=6.0.1 or recent development-version) |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
15 * Apache2 Webserver for displaying the resulting Mapfiles |
140
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
16 * Optional: MapServer compiled with ArcSDE-plugin |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
17 * Optional: GDAL/OGR compiled with ArcSDE-support |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
18 * Optional: GDAL/OGR compiled with FileGeodatabase-support |
202
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
19 * Optional: Other GDAL/OGR-related tools. |
140
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
20 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
21 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
22 ------------ |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
23 Installation |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
24 ------------ |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
25 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
26 Compile the converter-sources |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
27 ----------------------------- |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
28 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
29 To compile the sources you need to have a properly configured |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
30 ant-environmet available. ArcGIS SDK provides an ant-installation which |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
31 suffices:: |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
32 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
33 ant jar |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
34 |
182
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
35 or:: |
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
36 |
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
37 ant jar-norevision |
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
38 |
140
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
39 Install Apache Webserver |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
40 ------------------------ |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
41 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
42 Install Apache webserver by exedcuting the .msi-file and follow the |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
43 install-dialogs:: |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
44 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
45 httpd-2.2.19-win32-x86-openssl-0.9.8r.msi |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
46 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
47 Make sure that you install apache as a service so it will be available |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
48 directly after system bootup. |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
49 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
50 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
51 Install UMN MapServer |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
52 --------------------- |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
53 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
54 The current documentation uses the Windows binary-builds from http://www.gisinternals.com/sdk/ |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
55 |
202
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
56 1. Unzip the ZIP-file at ``c:/ms_6.1-dev`` |
140
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
57 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
58 #. Configure Apache Webserver to find the cgi-bin-folder:: |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
59 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
60 ScriptAlias /cgi-bin/ "C:/ms_6.1-dev/bin/" |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
61 |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
62 <Location "/cgi-bin"> |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
63 Options None |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
64 Order allow,deny |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
65 Allow from all |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
66 </Location> |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
67 |
202
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
68 #. Copy mapserv.exe from ``c:/ms_6.1-dev/bin/apps/ms`` to ``c:/ms_6.1-dev/bin/`` |
140
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
69 |
182
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
70 |
140
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
71 Create run-environment |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
72 ---------------------- |
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
73 |
182
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
74 The current version of MXD2map needs a few steps to run properly. |
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
75 The following steps assume the runtime folder to be c:/mxd2map/. This path can |
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
76 be changed. |
140
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
77 |
202
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
78 1. Copy ``mxd2map.jar`` to ``c:/mxd2map/``. |
140
0ebaec057f15
* INSTALL.txt: added a hint how to install the converter and its
Stephan Holl <stephan.holl@intevation.de>
parents:
diff
changeset
|
79 |
202
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
80 #. Copy folder "conf" from repository to ``c:/mxd2map/`` |
182
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
81 |
202
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
82 #. Create folder ``c:/mxd2map/lib/`` |
182
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
83 |
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
84 #. Get log4j from http://logging.apache.org/log4j/1.2/download.html |
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
85 |
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
86 #. Get jargs http://jargs.sourceforge.net/ (Version 1.0) |
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
87 |
202
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
88 #. Build the libraries and copy the resulting jar-files to ``c:/mxd2map/lib/`` |
182
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
89 |
202
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
90 #. Copy mapscript.jar and mapscript.dll to ``c:/mxd2map/lib/`` |
182
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
91 |
202
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
92 #. Create a folder ``c:/mxd2map/logs/`` |
182
91e2d46d7968
Added functionality, restrictions and how to build runtime enviroment
Raimund Renkert <rrenkert@intevation.de>
parents:
140
diff
changeset
|
93 |
202
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
94 #. Create or copy a converter.properties file to ``c:/mxd2map/`` |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
95 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
96 Setup environment-variables |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
97 --------------------------- |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
98 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
99 For running the converter it is necessary to set up some environment |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
100 variables and adjust the path accordingly. |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
101 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
102 The following example shows the minimum env-vars needed:: |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
103 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
104 @echo off |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
105 if "%1" == "setenv" goto setenv |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
106 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
107 %comspec% /k SDKShell.bat setenv %1 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
108 goto exit |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
109 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
110 :setenv |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
111 @echo Setting environment for using the GDAL and MapServer tools. |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
112 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
113 if "%2"=="hideoci" goto hideoci |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
114 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
115 set ocipath=0 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
116 set _path="%PATH:;=" "%" |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
117 for %%p in (%_path%) do if not "%%~p"=="" if exist %%~p\oci.dll set ocipath=1 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
118 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
119 if "%ocipath%"=="0" goto hideoci |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
120 @echo WARNING: If you encounter problems with missing oci libraries then type: |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
121 @echo SDKShell hideoci |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
122 goto setenv2 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
123 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
124 :hideoci |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
125 @echo Hiding the OCI plugin library. |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
126 if not exist %CD%\bin\gdal\plugins-optional mkdir %CD%\bin\gdal\plugins-optional |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
127 if exist %CD%\bin\gdal\plugins\ogr_OCI.dll move %CD%\bin\gdal\plugins\ogr_OCI.dll %CD%\bin\gdal\plugins-optional\ogr_OCI.dll |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
128 if exist %CD%\bin\gdal\plugins\gdal_GEOR.dll move %CD%\bin\gdal\plugins\gdal_GEOR.dll %CD%\bin\gdal\plugins-optional\gdal_GEOR.dll |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
129 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
130 :setenv2 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
131 SET PATH=C:\Program Files\ArcGIS\DeveloperKit10.0\java\jre\bin;C:\Program Files\ArcGIS\Engine10.0\bin;%CD%\bin;%CD%\bin;%CD%\bin\gdal\python\osgeo;%CD%\bin\proj\apps;%CD%\bin\gdal\apps;%CD%\bin\ms\apps;%CD%\bin\gdal\csharp;%CD%\bin\ms\csharp;%CD%\bin\curl;%CD%\bin\ms\java;C:\Program Files\Vim\vim71;C:\Program Files\TortoiseHg;%PATH% |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
132 SET GDAL_DATA=%CD%\bin\gdal-data |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
133 SET GDAL_DRIVER_PATH=%CD%\bin\gdal\plugins |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
134 SET PYTHONPATH=%CD%\bin\gdal\python\osgeo |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
135 SET PROJ_LIB=%CD%\bin\proj\SHARE |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
136 SET CURL_CA_BUNDLE=C:\ms4w\Apache\conf\ca-bundle\cacert.pem |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
137 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
138 :exit |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
139 |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
140 The above batch-script ``SDKShell.bat`` needs to be sources before working |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
141 with MXD2map. |
1e3a5019c4ed
* INSTALL.txt, LICENCE.txt, doku/source/LICENCE.txt,
Stephan Holl <stephan.holl@intevation.de>
parents:
188
diff
changeset
|
142 |