comparison INSTALL.txt @ 324:5e7e6d99f997

Make mapserver install location version independent * src/java/de/intevation/mxd/writer/MapScriptWriter.java, mxd/connections/SDE/sde_areas.txt, contrib/installer/bin/ms_6.1-dev/Readme.txt, contrib/installer/bin/MXD2map-Shell.bat, INSTALL.txt HowTo-Release.txt: Make mapserver install location version independent s/ms-6.1-dev/mapserver/g
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 15 Oct 2012 09:02:01 +0000
parents 6e5fce16b495
children 02d3c1665a46
comparison
equal deleted inserted replaced
323:4051c39757db 324:5e7e6d99f997
51 --------------------- 51 ---------------------
52 52
53 It is recommended to use the latest binary release version from http://www.gisinternals.com/sdk/ 53 It is recommended to use the latest binary release version from http://www.gisinternals.com/sdk/
54 as the MapServer for MXD2Map. 54 as the MapServer for MXD2Map.
55 55
56 1. Unzip the MapServer ZIP-file at ``c:\ms_6.1-dev`` 56 1. Unzip the MapServer ZIP-file at ``c:\mapserver``
57 57
58 #. Modify the Apache configuration (e.g. ``c:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf``) 58 #. Modify the Apache configuration (e.g. ``c:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf``)
59 by adding:: 59 by adding::
60 60
61 ScriptAlias /cgi-bin/ "C:/ms_6.1-dev/bin/" 61 ScriptAlias /cgi-bin/ "C:/mapserver/bin/"
62 62
63 <Location "/cgi-bin"> 63 <Location "/cgi-bin">
64 Options None 64 Options None
65 Order allow,deny 65 Order allow,deny
66 Allow from all 66 Allow from all
67 </Location> 67 </Location>
68 68
69 SetEnv PROJ_LIB "c:/ms_6.1-dev/bin/proj/SHARE" 69 SetEnv PROJ_LIB "c:/mapserver/bin/proj/SHARE"
70 SetEnv PATH "c:/ms_6.1-dev/bin" 70 SetEnv PATH "c:/mapserver/bin"
71 SetEnv PATH "c:/ms_6.1-dev/bin/gdal/python/osgeo" 71 SetEnv PATH "c:/mapserver/bin/gdal/python/osgeo"
72 72
73 # set GDAL_DATA environment variable to location of supporting gdal files 73 # set GDAL_DATA environment variable to location of supporting gdal files
74 SetEnv GDAL_DATA "c:/ms_6.1-dev/bin/gdaldata" 74 SetEnv GDAL_DATA "c:/mapserver/bin/gdaldata"
75 75
76 # set GDAL_DRIVER_PATH environment variable for gdal plugins 76 # set GDAL_DRIVER_PATH environment variable for gdal plugins
77 SetEnv GDAL_DRIVER_PATH "c:/ms_6.1-dev/bin/gdal/plugins" 77 SetEnv GDAL_DRIVER_PATH "c:/mapserver/bin/gdal/plugins"
78 78
79 79
80 #. Copy mapserv.exe from ``c:\ms_6.1-dev\bin\ms\apps`` to ``c:\ms_6.1-dev\bin\`` 80 #. Copy mapserv.exe from ``c:\mapserver\bin\ms\apps`` to ``c:\mapserver\bin\``
81 81
82 #. Optional: Add additional Libraries (DLL's) to ``c:\ms_6.1-dev\bin`` for Oracle, SDE etc. 82 #. Optional: Add additional Libraries (DLL's) to ``c:\mapserver\bin`` for Oracle, SDE etc.
83 83
84 Install the Converter 84 Install the Converter
85 ------------ 85 ------------
86 The following steps assume the runtime folder to be c:\mxd2map. 86 The following steps assume the runtime folder to be c:\mxd2map.
87 87
101 101
102 #. Copy the jar-files of log4j, jargs and commons codec to ``c:\mxd2map\lib\`` 102 #. Copy the jar-files of log4j, jargs and commons codec to ``c:\mxd2map\lib\``
103 103
104 #. Remove the version numbers of the jar file names in lib, or adopt the build.xml accordingly! 104 #. Remove the version numbers of the jar file names in lib, or adopt the build.xml accordingly!
105 105
106 #. Copy mapscript.jar and mapscript.dll from your MapServer Installation (e.g. ``c:\ms_6.1-dev\bin\ms\java``) to ``c:\mxd2map\lib\`` 106 #. Copy mapscript.jar and mapscript.dll from your MapServer Installation (e.g. ``c:\mapserver\bin\ms\java``) to ``c:\mxd2map\lib\``
107 107
108 #. Copy the converter.properties.sample file to ``c:\mxd2map\converter.properties`` and edit it 108 #. Copy the converter.properties.sample file to ``c:\mxd2map\converter.properties`` and edit it
109 according to your needs. 109 according to your needs.
110 110
111 Compile the converter-sources 111 Compile the converter-sources
134 rem ###########################EDIT HERE############################# 134 rem ###########################EDIT HERE#############################
135 135
136 rem Set the following Path variables according to your installation: 136 rem Set the following Path variables according to your installation:
137 137
138 set MXD2MAP_PATH=c:\mxd2map 138 set MXD2MAP_PATH=c:\mxd2map
139 set MAPSERVER_PATH=c:\ms_6.1-dev 139 set MAPSERVER_PATH=c:\mapserver
140 set ARCGISSDK_PATH=c:\Program Files\ArcGIS\DeveloperKit10.0 140 set ARCGISSDK_PATH=c:\Program Files\ArcGIS\DeveloperKit10.0
141 set ARCGISENGINE_PATH=c:\Program Files\ArcGIS\Engine10.0 141 set ARCGISENGINE_PATH=c:\Program Files\ArcGIS\Engine10.0
142 142
143 rem No editing should be necessary below this line (in an ideal world) 143 rem No editing should be necessary below this line (in an ideal world)
144 rem ################################################################## 144 rem ##################################################################
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)