karte_cgi 
---------
(map_cgi) is interactively calculating maps via a web-interface. It is
written in C. With recent hardware you will be able to show the progress of
your worldwide sailing tour, your cross continent bike race or whatever geo
referenced data you like to share.

The map projections are done by libproj. This way you can incorporate any of
their projections with almost no effort at all. 
---------
Homepage: http://ma3s.de/karte/ 

The packet consists of:

source code to generate
    karte_cgi                       - cgi program

and data files
    karte.html                      - standard output 
    help.html                       - help page
    welt.png                        - standard map related to karte.html
    gelb_lonlat.txt, rot_lonlat.txt - waypoints of the sailing project
                                      Berlin-Sydney 2000 
---------
karte_cgi is based on rmap (http://www.reza.net/rmap/) and uses the same public
domain vector data file earth.rez donated by the CIA (USA) :-) and
contributed by Reza Naima. You will find earth.rez at

http://www.reza.net/rmap or
http://www.rarf.riken.go.jp/archives/X11/acontrib/sunclock/earth/

karte_cgi depends on:

libgd (gd-2.0.1) - graphic library for creating output images
(http://www.boutell.com/gd/)

libcgic (cgic107) - cgi helper library
(http://www.boutell.com/cgic/)

libproj (proj-4.4.3) - map projections library
(http://www.remotesensing.org/proj/)

For installation notes look at INSTALL. 

Any comments, bug reports, questions report to ml@ma3s.de .

-----------------------------------------------------------------------------

If you like to use karte_cgi on a big endian machine, you should bitflip the
data in earth.rez. They are all BIT32 (look at karte.h):

void bitflip (BIT32 *x) {
        BIT32 y=0;
        
        y |= 0xFF000000 & ((0x000000FF & *x) << 24);
        y |= 0x00FF0000 & ((0x0000FF00 & *x) << 8);
        y |= 0x0000FF00 & ((0x00FF0000 & *x) >> 8);
        y |= 0x000000FF & ((0xFF000000 & *x) >> 24);
        *x = y;
}

-----------------------------------------------------------------------------

Copyright (C) 2001  Marcus Lindemann (ml@ma3s.de)

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program (file LICENSE); if not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330, 
Boston, MA  02111-1307  USA

-----------------------------------------------------------------------------


