source: subversion/applications/utils/tirex/bin/tirex-renderd-wms @ 21037

Last change on this file since 21037 was 21037, checked in by jochen, 10 years ago

Further changes in preparation for a more flexible rendering backend structure. Not fully functional yet.
--This line, and those below, will be ignored-

M Makefile
M etc/renderer/test.conf.dist
M etc/maps/test.conf.dist
AM bin/tirex-renderd-test
AM bin/tirex-renderd-manager
AM bin/tirex-renderd-wms
M lib/Tirex/Manager/Bucket.pm
A lib/Tirex/Backend.pm
A lib/Tirex/Backend
A lib/Tirex/Backend/WMS.pm
A lib/Tirex/Backend/Test.pm
M lib/Tirex.pm
M debian/tirex-renderd.install
AM test/renderd-test.sh

  • Property svn:executable set to *
File size: 2.3 KB
Line 
1#!/usr/bin/perl
2#-----------------------------------------------------------------------------
3#
4#  Tirex Tile Rendering System
5#
6#  tirex-renderd-wms
7#
8#-----------------------------------------------------------------------------
9#  See end of this file for documentation.
10#-----------------------------------------------------------------------------
11#
12#  Copyright (C) 2010  Frederik Ramm <frederik.ramm@geofabrik.de> and
13#                      Jochen Topf <jochen.topf@geofabrik.de>
14
15#  This program is free software; you can redistribute it and/or
16#  modify it under the terms of the GNU General Public License
17#  as published by the Free Software Foundation; either version 2
18#  of the License, or (at your option) any later version.
19
20#  This program is distributed in the hope that it will be useful,
21#  but WITHOUT ANY WARRANTY; without even the implied warranty of
22#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23#  GNU General Public License for more details.
24
25#  You should have received a copy of the GNU General Public License
26#  along with this program; If not, see <http://www.gnu.org/licenses/>.
27#
28#-----------------------------------------------------------------------------
29
30use strict;
31use warnings;
32
33use Tirex;
34use Tirex::Backend::WMS;
35
36#-----------------------------------------------------------------------------
37
38my $backend = Tirex::Backend::WMS->new($0);
39$backend->main();
40
41#-----------------------------------------------------------------------------
42
43__END__
44
45=head1 NAME
46
47tirex-renderd-wms - WMS renderer
48
49=head1 SYNOPSIS
50
51tirex-renderd-wms
52
53=head1 DESCRIPTION
54
55Simple "renderer" that gets the map image from a WMS server. The WMS server
56must support the right SRS (EPSG:3785 or the informal EPSG:900913).
57
58Config parameters for the map file:
59
60=over 8
61
62=item url url prefix
63
64=item layers list of comma-separated layers
65
66=item srs spatial reference system, 'EPSG:3785' etc.
67
68=back
69
70=head1 FILES
71
72=over 4
73
74=item F</etc/tirex/renderer/wms.conf>
75
76The configuration file.
77
78=back
79
80=head1 DIAGNOSTICS
81
82Exits with exit code 1 if something went wrong.
83
84=head1 AUTHORS
85
86Frederik Ramm <frederik.ramm@geofabrik.de>, Jochen Topf
87<jochen.topf@geofabrik.de> and possibly others.
88
89=cut
90
91#-- THE END ------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.