Mercurial > mxd2map
annotate contrib/sh/test_mxd.cgi @ 257:1ac277053049
Set map size after setting map extent to avoid the extent to be modified
by mapscript.
author | raimund renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 15 Aug 2011 15:28:05 +0200 |
parents | 4dc2b9aa3c57 |
children |
rev | line source |
---|---|
37
c14a92c7628d
Added a new mapserver wrapper cgi script for testing of generated map from
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
1 #!/bin/sh |
256
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
2 # |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
3 # Copyright (c) 2011 by Intevation GmbH, Germany <info@intevation.de> |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
4 # |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
5 # This file is part of MXD2map. |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
6 # |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
7 # This program is free software under the LGPL (>=v2.1) |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
8 # Read the file LICENCE.txt coming with the software for details |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
9 # or visit http://www.gnu.org/licenses/ if it does not exist. |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
10 # |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
11 # MXD2map has been developed on behalf of the |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
12 # Bundesamt fuer Seeschifffahrt und Hydrographie (BSH) in Hamburg |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
13 # by Intevation GmbH. |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
14 # |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
15 # Authors: |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
16 # Raimund Renkert <raimund.renkert@intevation.de> |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
17 # Bjoern Schilberg <bjoern.schilberg@intevation.de> |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
18 # Stephan Holl <stephan.holl@intevation.de> |
4dc2b9aa3c57
Added LGPL header.
raimund renkert <raimund.renkert@intevation.de>
parents:
37
diff
changeset
|
19 |
37
c14a92c7628d
Added a new mapserver wrapper cgi script for testing of generated map from
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
20 # SLES compatible |
c14a92c7628d
Added a new mapserver wrapper cgi script for testing of generated map from
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
21 MS_MAPFILE=/tmp/test.map |
c14a92c7628d
Added a new mapserver wrapper cgi script for testing of generated map from
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
22 export MS_MAPFILE |
c14a92c7628d
Added a new mapserver wrapper cgi script for testing of generated map from
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
23 /srv/www/cgi-bin/mapserv |