Imported Upstream version 5.6.5

parent 0b87de46
============ ===================== =================================== ================================
Login(s) Name Email / Contact Area(s)
============ ===================== =================================== ================================
sdlime Steve Lime steve.lime at dnr.state.mn.us Overall
dan Daniel Morissette dmorissette at mapgears.com OGC Web Services, PHP MapScript
sean Sean Gillies sgillies at frii.com SWIG MapScript (retired)
assefa Assefa Yewondwossen assefa at dmsolutions.ca OGC Web Services, Flash, SVG,
julien Julien-Samuel Lacroix jlacroix at dmsolutions.ca OGC Web Services
warmerdam Frank Warmerdam warmerdam at pobox.com Raster, outputFormatObj,
hobu Howard Butler hobu.inc at gmail.com mapsde.c
pramsey Paul Ramsey pramsey at cleverelephant.ca mappostgis.c, maptile.c
jerryp Jerry Pisk jerry.pisk at gmail.com
ned Ned Harding nharding at extendthereach.com
attila Attila Csipa plists at prometheus.org.yu imagemap, mygis
fsimon Fernando Simon fsimon at univali.br maporacle
novak John Novak hetzerrrat gmail.com mapgraticule
jani Jani Averbach javerbach extendthereach com External Plugin Layers
tamas Tamas Szekeres szekerest at gmail.com MapScript C#
umberto Umberto Nicoletti umberto.nicoletti at gmail.com MapScript Java
tomkralidis Tom Kralidis tomkralidis at hotmail.com OGC, Perl Mapscript
tbonfort Thomas Bonfort thomas.bonfort at gmail.com AGG, Charting
jmckenna Jeff McKenna jmckenna at gatewaygeomatics.com Documentation
aboudreault Alan Boudreault aboudreault at mapgears.com OGR, general bug fixes
toby Toby Rahilly toby.rahilly at gmail.com OpenGL
jbourke Jonathan Bourke jonathan.bourke at mapds.com.au OpenGL
============ ===================== =================================== ================================
Portions copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
2002 by Cold Spring Harbor Laboratory. Funded under Grant
P41-RR02188 by the National Institutes of Health.
Portions copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 by
Boutell.Com, Inc.
Portions relating to GD2 format copyright 1999, 2000, 2001, 2002
Philip Warner.
Portions relating to PNG copyright 1999, 2000, 2001, 2002 Greg
Roelofs.
Portions relating to gdttf.c copyright 1999, 2000, 2001, 2002 John
Ellson (ellson@lucent.com).
Portions relating to gdft.c copyright 2001, 2002 John Ellson
(ellson@lucent.com).
Portions relating to JPEG and to color quantization copyright 2000,
2001, 2002, Doug Becker and copyright (C) 1994, 1995, 1996, 1997,
1998, 1999, 2000, 2001, 2002, Thomas G. Lane. This software is
based in part on the work of the Independent JPEG Group. See the
file README-JPEG.TXT for more information.
Portions relating to WBMP copyright 2000, 2001, 2002 Maurice
Szmurlo and Johan Van den Brande.
Permission has been granted to copy, distribute and modify gd in
any context without fee, including a commercial application,
provided that this notice is present in user-accessible supporting
documentation.
This does not affect your ownership of the derived work itself, and
the intent is to assure proper credit for the authors of gd, not to
interfere with your productive use of gd. If you have questions,
ask. "Derived works" includes all programs that utilize the
library. Credit must be given in user-accessible documentation.
This software is provided "AS IS." The copyright holders disclaim
all warranties, either express or implied, including but not
limited to implied warranties of merchantability and fitness for a
particular purpose, with respect to this code and accompanying
documentation.
Although their code does not appear in gd, the authors wish to thank
David Koblas, David Rowley, and Hutchison Avenue Software Corporation
for their prior contributions.
This source diff could not be displayed because it is too large. You can view the blob instead.
Visit http://www.mapserver.org/ for full documentation and installation
instructions.
Unix compilation instructions
-----------------------------
See README.CONFIGURE or the document on the MapServer website at
<http://www.mapserver.org/installation/unix.html>
Win32 compilation instructions
------------------------------
See README.WIN32 or the document on the MapServer website at
<http://www.mapserver.org/installation/win32.html>
This diff is collapsed.
This diff is collapsed.
#
# makefile.vc - Main MapServer makefile for MSVC++
#
# This VC++ makefile will build MAPSERVER.LIB, MAPSERV.EXE, and the other
# MapServer command-line programs.
#
# To use the makefile:
# - Open a DOS prompt window
# - Run the VCVARS32.BAT script to initialize the VC++ environment variables
# - Start the build with: nmake /f makefile.vc
#
# $Id: Makefile.vc 9284 2009-09-01 10:12:05Z tamas $
#
MAPSERVER_ROOT = .
!INCLUDE nmake.opt
BASE_CFLAGS = $(OPTFLAGS)
CFLAGS=$(BASE_CFLAGS) $(MS_CFLAGS)
CC= cl
LINK= link
#
# Main MapServer library.
#
MS_DLL = libmap.dll
MS_OBJS = maprgbapng.obj mapbits.obj maphash.obj mapshape.obj mapxbase.obj \
mapparser.obj maplexer.obj maptree.obj \
mapsearch.obj mapstring.obj mapsymbol.obj mapfile.obj \
maplegend.obj maputil.obj mapscale.obj mapquery.obj \
maplabel.obj maperror.obj mapprimitive.obj mapproject.obj\
mapraster.obj cgiutil.obj mapsde.obj mapogr.obj maptime.obj \
maptemplate.obj mappostgis.obj maplayer.obj mapresample.obj \
mapwms.obj mapwmslayer.obj mapgml.obj maporaclespatial.obj \
mapprojhack.obj mapdraw.obj mapgd.obj mapoutput.obj mapswf.obj \
mapgdal.obj mapwfs.obj mapwfs11.obj mapwfslayer.obj mapows.obj maphttp.obj \
mappdf.obj mapcontext.obj mapdrawgdal.obj mapjoin.obj mapgraticule.obj \
mapmygis.obj mapimagemap.obj mapcopy.obj maprasterquery.obj \
mapogcfilter.obj mapogcsld.obj mapthread.obj mapobject.obj \
classobject.obj layerobject.obj mapwcs.obj mapwcs11.obj \
mapgeos.obj strptime.obj \
mapcpl.obj mapio.obj mappool.obj mapsvg.obj mapregex.obj mappluginlayer.obj \
mapogcsos.obj mappostgresql.obj mapcrypto.obj mapowscommon.obj \
maplibxml2.obj mapdebug.obj mapchart.obj mapagg.obj maptclutf.obj \
maprendering.obj mapimageio.obj mapcairo.obj \
mapoglrenderer.obj mapoglcontext.obj mapogl.obj \
maptile.obj $(EPPL_OBJ) $(REGEX_OBJ) mapgeomtransform.obj $(AGG_OBJ)
MS_HDRS = mapserver.h mapfile.h
MS_EXE = mapserv.exe \
shp2img.exe legend.exe \
shptree.exe scalebar.exe sortshp.exe tile4ms.exe \
shptreevis.exe msencrypt.exe
#
#
#
default: all
all: $(MS_LIB) $(MS_EXE) mapscriptvars
$(MS_OBJS): $(MS_HDRS)
$(MS_DLL) $(MS_LIB_DLL): $(MS_LIB)
link /dll $(LDEBUG) \
$(MS_OBJS) $(EXTERNAL_LIBS) \
/out:$(MS_DLL) /implib:$(MS_LIB_DLL)
if exist $(MS_DLL).manifest mt -manifest $(MS_DLL).manifest -outputresource:$(MS_DLL);2
$(MS_LIB): $(MS_OBJS)
if exist $(GDAL_DIR)\gdal.pdb copy $(GDAL_DIR)\gdal.pdb .
lib /out:$(MS_LIB) $(MS_OBJS)
!IFDEF DLLBUILD
$(MS_EXE): $(MS_DLL) $(MS_LIB_DLL)
!ELSE
$(MS_EXE): $(MS_LIB)
!ENDIF
gd::
cd gd-1.2
nmake /f makefile.nt OPTFLAGS="$(OPTFLAGS)"
cd ..
.c.obj:
$(CC) $(CFLAGS) /c $*.c /Fo$*.obj
.cpp.obj:
$(CC) $(CFLAGS) /c $*.cpp /Fo$*.obj
.c.exe:
$(CC) $(CFLAGS) /c $*.c /Fo$*.obj
!IFDEF DLLBUILD
$(LINK) $(LDEBUG) $(LDFLAGS) $*.obj $(LIBS_DLL)
!ELSE
$(LINK) $(LDEBUG) $(LDFLAGS) $*.obj $(LIBS)
!ENDIF
if exist $@.manifest mt -manifest $@.manifest -outputresource:$@;1
clean:
del *.obj
del $(REGEX_OBJ)
del $(AGG_OBJ)
del *.lib
del *.dll
del $(MS_EXE)
del *.pdb
del *.exp
del *.ilk
del *.manifest
!IFDEF DOT_NET
cd mapscript\csharp
nmake /f makefile.vc clean
cd ..\..
!ENDIF
!IFDEF JAVA_HOME
cd mapscript\java
nmake /f makefile.vc clean
cd ..\..
!ENDIF
!IFDEF PHP_HOME
cd mapscript\php3
nmake /f makefile.vc clean
cd ..\..
!ENDIF
!IFDEF PYTHON_HOME
cd mapscript\python
-del mapscript_wrap.c
-rmdir /s /q build
cd ..\..
!ENDIF
mapscriptvars: makefile.vc nmake.opt
-del mapscriptvars
echo $(MS_CURRENT) > mapscriptvars
!IFDEF WIN64
echo $(MS_DEFS) -DWIN32 -D_WIN32 -DUSE_GENERIC_MS_NINT >> mapscriptvars
!ELSE
echo $(MS_DEFS) -DWIN32 -D_WIN32 >> mapscriptvars
!ENDIF
echo $(INCLUDES) >> mapscriptvars
echo $(LIBS_DLL) >> mapscriptvars
echo $(LIBS) >> mapscriptvars
findstr MS_VERSION mapserver.h | findstr define >> mapscriptvars
install: $(MS_DLL) $(MS_EXE) python csharp java php
-mkdir $(BINDIR)
xcopy /y /r /d /f $(MS_DLL) $(BINDIR)
copy *.exe $(BINDIR)
!IFDEF PYTHON_HOME
-mkdir $(BINDIR)\mapscript\python
xcopy /y /r /d /f .\mapscript\python\dist\*.zip $(BINDIR)\mapscript\python
!ENDIF
!IFDEF DOT_NET
-mkdir $(BINDIR)\mapscript\csharp
xcopy /y /r /d /f .\mapscript\csharp\*.dll $(BINDIR)\mapscript\csharp
xcopy /y /r /d /f .\mapscript\csharp\*.exe $(BINDIR)\mapscript\csharp
xcopy /y /r /d /f .\mapscript\csharp\*.manifest $(BINDIR)\mapscript\csharp
xcopy /y /r /d /f .\mapscript\csharp\*.config $(BINDIR)\mapscript\csharp
!ENDIF
!IFDEF JAVA_HOME
-mkdir $(BINDIR)\mapscript\java
xcopy /y /r /d /f .\mapscript\java\*.dll $(BINDIR)\mapscript\java
xcopy /y /r /d /f .\mapscript\java\*.jar $(BINDIR)\mapscript\java
!ENDIF
!IFDEF PHP_HOME
-mkdir $(BINDIR)\mapscript\php
xcopy /y /r /d /f .\mapscript\php3\*.dll $(BINDIR)\mapscript\php
!ENDIF
!IFDEF PYTHON_HOME
python: mapscriptvars $(MS_DLL) $(MS_LIB_DLL)
cd mapscript\python
$(SWIG) -python -shadow -o mapscript_wrap.c ../mapscript.i
$(PYTHON_HOME)\PCBuild\python.exe setup.py bdist
cd ..\..
!ELSE
python:
!ENDIF
!IFDEF DOT_NET
csharp: mapscriptvars $(MS_DLL) $(MS_LIB_DLL)
cd mapscript\csharp
nmake /f makefile.vc
cd ..\..
!ELSE
csharp:
!ENDIF
!IFDEF JAVA_HOME
java: mapscriptvars $(MS_DLL) $(MS_LIB_DLL)
cd mapscript\java
nmake /f makefile.vc
cd ..\..
!ELSE
java:
!ENDIF
!IFDEF PHP_HOME
php: mapscriptvars $(MS_DLL) $(MS_LIB_DLL)
cd mapscript\php3
nmake /f makefile.vc
cd ..\..
!ELSE
php:
!ENDIF
!IF DEFINED(SDE_OPT) || DEFINED(ORACLE) || DEFINED(MSSQL2008)
!IFDEF ORACLE
ORACLE_LIB=$(ORACLE_DIR)/lib/msvc/oci.lib
!ENDIF
!IFDEF SDE_OPT
!IF $(SDE_VERSION) >= 92
SDE_LIB = $(SDE_DIR)\lib\pe.lib \
$(SDE_DIR)\lib\sde.lib \
$(SDE_DIR)\lib\sg.lib
!ELSE
SDE_LIB = $(SDE_DIR)\lib\pe$(SDE_VERSION).lib \
$(SDE_DIR)\lib\sde$(SDE_VERSION).lib \
$(SDE_DIR)\lib\sg$(SDE_VERSION).lib
!ENDIF
!ENDIF
!ENDIF
plugins:
-del mapsde.obj
-del maporaclespatial.obj
-del mapmssql2008.obj
!IFDEF SDE_OPT
$(CC) $(CFLAGS) -DUSE_SDE /c mapsde.c /Fomapsde.obj
link /dll $(LDEBUG) /out:msplugin_sde_$(SDE_VERSION).dll mapsde.obj mapthread.obj mapserver_i.lib $(SDE_LIB)
if exist msplugin_sde_$(SDE_VERSION).dll.manifest mt -manifest msplugin_sde_$(SDE_VERSION).dll.manifest -outputresource:msplugin_sde_$(SDE_VERSION).dll;2
-del mapsde.obj
!ENDIF
!IFDEF ORACLE
$(CC) $(CFLAGS) -DUSE_ORACLESPATIAL /c maporaclespatial.c /Fomaporaclespatial.obj
link /dll $(LDEBUG) /out:msplugin_oracle.dll maporaclespatial.obj $(ORACLE_LIB) mapserver_i.lib
if exist msplugin_oracle.dll.manifest mt -manifest msplugin_oracle.dll.manifest -outputresource:msplugin_oracle.dll;2
-del maporaclespatial.obj
!ENDIF
!IFDEF MSSQL2008
$(CC) $(CFLAGS) $(ODBC_INC) -DUSE_MSSQL2008 -DUSE_MSSQL2008_PLUGIN /c mapmssql2008.c /Fomapmssql2008.obj
link /dll $(LDEBUG) /out:msplugin_mssql2008.dll mapmssql2008.obj $(ODBC_LIBS) mapserver_i.lib
if exist msplugin_mssql2008.dll.manifest mt -manifest msplugin_mssql2008.dll.manifest -outputresource:msplugin_mssql2008.dll;2
-del mapmssql2008.obj
!ENDIF
-------
Summary
-------
The MapServer is a system for developing web-based GIS applications.
The basic system consists of a CGI program that can be configured to
respond to a variety of spatial requests like making maps, scalebars,
and point, area and feature queries. Virtually all aspects of an
application, from web interface to map appearance can be developed
without any programming. For the more ambitious user, MapServer
applications can be enhanced using Java, JavaScript or many other web
technologies. For more information and complete documentation please
visit:
http://www.mapserver.org/
Bug reports and enhancment submissions can be reported in the MapServer
Bugzilla at the following url. If you do make changes and/or enhancements,
please let us know so that they might be incorporated into future releases.
http://trac.osgeo.org/mapserver
Join the MapServer user mailing list online at:
http://www.mapserver.org/community/lists.html
-----------
Credits
-----------
MapServer was originally written by Stephen Lime. Major funding for development of
MapServer has been provided by NASA through cooperative argreements with
the University of Minnesota, Department of Forest Resources.
PHP/MapScript developed by DM Solutions Group.
GDAL/OGR support and significant WMS support provided by DM Solutions Group
which received funding support from Canadian Government's GeoConnections
Program and the Canadian Forest Service.
Raster support developed by Pete Olson of the State of Minnesota, Land
Management Information Center, and maintained by Frank Warmerdam (DM
Solutions).
PostGIS spatial database support provided by Dave Blasby of Refractions
Research.
PDF support developed by Jeff Spielberg and Jamie Wall of Market Insite Group,
Inc.
OracleSpatial support developed by Rodrigo Cabral of CTTMAR/UNIVALI, Brazil.
Portions Copyright (c) 1998 State of Minnesota, Land Management Information
Center.
Portions derived from Shapelib, Copyright 1995-1999 Frank Warmerdam.
Supporting packages are covered by their own copyrights.
-----------
License
-----------
::
Copyright (c) 1996-2007 Regents of the University of Minnesota.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies of this Software or works derived from this Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
This diff is collapsed.
--------------------------------------------------------------------
README.WIN32 - Microsoft Visual C++ Build instructions for MapServer
--------------------------------------------------------------------
IMPORTANT - READ THIS FIRST:
----------------------------
The Win32 build process is not very friendly for unexperienced users.
So it is strongly recommended that you use one of the precompiled
binaries available on the MapServer site:
http://mapserver.gis.umn.edu/download/current/windows
There are precompiled Win32 binaries available for the last stable
release and the latest nightly build and they include the most common
options... so you shouldn't have to compile your own executables.
If for some reason you still decide to compile Win32 binaries yourself,
then don't do it unless you really know what you're doing... and
hopefully the rest of this file contains some hints that may help
you. Good Luck!
--------------------------------------------------------------------
For the developers using MSVC++, a NMAKE makefile (Makefile.vc + nmake.opt)
to build the MapServer library and executable programs is included with
the distribution.
To build the package using the Makefile.vc and NMAKE:
- Edit nmake.opt to select (or deselect) optional components of
the MapServer. Please read the notes below about each component
before you move ahead with the compilation.
- Open a DOS prompt window
- Run the VCVARS32.BAT script to initialize the VC++ environment
variables. VCVARS32.BAT is automatically generated by the MSVC++
install procedure and should be located in the BIN sub-directory of
your MSVC++ installation.
- Then start the build with:
nmake /f Makefile.vc