forked from MapServer/MapServer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://svn.osgeo.org/mapserver/trunk@4 7532c77e-422f-0410-93f4-f0b67bdd69e2
- Loading branch information
0 parents
commit abe3c7a
Showing
66 changed files
with
22,977 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
|
||
Version 3.3.007 | ||
|
||
- Initial coding. | ||
|
||
Version 3.3.008 | ||
|
||
- Changed setting of MS_TEMPLATE_EXPR to allow template files ending in .htm and .html. (map.h) | ||
|
||
- Added ellipse line symbol. (symbols/line.sym) | ||
|
||
- Initial SDE support coding, actually just the intent to code, skeleton code. (mapsde.c/Makefile) | ||
|
||
- Fixed URL based setting of class expression and text. (mapfile.c) | ||
|
||
- Added query read/write support. (map.h/mapquery.c/mapserv.h/mapserv.c) | ||
|
||
- Fixed bug with embedded scalebar/legend and queries. (mapserv.c) | ||
|
||
- Moved EMBED option for scalebar/legend to status. (map.h/mapfile.c/mapfile.h/maplexer.l/maputil.c) | ||
|
||
- Added POSTLABELCACHE option to legend/scalebar/layer. This allow the drawing of certain layers and/or map | ||
elements after the labels have been rendered. (map.h/mapfile.c/mapfile.h/maplexer.l/maputil.c/mapscale.c/maplegend.c) | ||
|
||
- Added auto detection of LAT/LON mapxy and mapext paramters to mapserv. (mapserv.c) | ||
|
||
- Fixed "off-by-one" loop error in feature projection routines. (mapproject.c) | ||
|
||
- Fixed error that cause unprojected search extent to be used with projected data. (mapsearch.c) | ||
|
||
- Found/fixed obscure bug with POLYLINE rendering that caused the feature not to be closed when drawn. | ||
As a result all closed shapes must have first vertex equal last vertex. Polygon clipper enforces this | ||
now as well. msImagePolygon function removed. (mapprimative.c/mapsymbol.c) | ||
|
||
Version 3.3.009 | ||
|
||
- Added prototypes for several core initialization/building functions in | ||
mapfile.c to map.h. (map.h and others...) | ||
|
||
- Fixed a couple of function name changes that didn't get moved into mapscript. | ||
|
||
- Changed return type for initClass() in mapfile.c. | ||
|
||
Version 3.3.010 | ||
|
||
- Fixed clipping error with inline polygon features (maputil.c). | ||
|
||
- Added URL support for changing projections (mapfile.c). | ||
|
||
- Updated PROJ support to use version 4.4 available at http://www.remotesensing.org/proj. | ||
|
||
- Integrated UMN EGIS package into core distribution. EGIS will be distributed seperately. | ||
|
||
- Fixed multiline TrueType font problems (maplabel.c). | ||
|
||
- Fixed obscure error in EPPL code related to copying an existing colormap (mapraster.c). | ||
|
||
- Added URL support for changing query parameters (mapfile.c). | ||
|
||
- Added TOLERANCEUNITS parameter to support non-image based point queries. | ||
|
||
- Added support to calculate image size based on extents (maputil.c). | ||
|
||
- Added queryObj support to mapscript. | ||
|
||
- Cleaned up Makefile to make it more robust when not using default settings. | ||
|
||
- Added Python and Java bindings for mapscript. | ||
|
||
- Modified shapeObj structure (mapprimative.h) to hold a generic type value. This allows | ||
type-based processing within mapscript under certain conditions. May well be useful for | ||
other purposes in the future. | ||
|
||
- Fixed msWhichShapesProj() function. A typo had broken spatial indexes (mapsearch.c). | ||
|
||
- Reworked several functions is mapshape.c for effeciency and to be more compatible with | ||
scripting environments. | ||
|
||
- Added several feature based comparison methods (i.e. contains, distance, and intersects) | ||
to mapscript. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Visit http://mapserver.gis.umn.edu/ for full documentation and installation | ||
instructions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
# | ||
# If you want to ignore missing datafile errors uncomment the following | ||
# line. This is especially useful with large tiled datasets that may not | ||
# have complete data for each tile. | ||
# | ||
#IGNORE_MISSING_DATA=-DIGNORE_MISSING_DATA | ||
|
||
# | ||
# Apparently these aren't as commonplace as I'd hoped. Edit the | ||
# following line to reflect the missing functions on your platform. | ||
# | ||
# STRINGS=-DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRDUP | ||
|
||
# Freetype distribution (TrueType font support). Available at http://www.freetype.org/. (RECOMMENDED) | ||
TTF_LIB=-L./gdft -lgdft -lttf | ||
TTF_INC=-I./gdft | ||
TTF=-DUSE_TTF | ||
MAKE_GDFT=gdft | ||
MAKE_GDFT_CLEAN=gdft_clean | ||
|
||
# Proj.4 distribution (cartographic projection routines). Not required for normal use. (EXPERIMENTAL) | ||
#PROJ_LIB=-lproj | ||
#PROJ_INC= | ||
#PROJ=-DUSE_PROJ | ||
|
||
# GD distribution (graphics library GIF and/or PNG support). (REQUIRED) | ||
# | ||
# - Version 1.2 is included and writes LZW GIF (-DUSE_GD_1_2). | ||
# - Versions 1.3 to 1.5 write non-LZW GIF (-DUSE_GD_1_3). | ||
# - Versions 1.6 and greater write PNG (-DUSE_GD_1_6). Add -lpng -lz to GD_LIB line. | ||
# | ||
# If you're not using the 1.2 version included in the MapServer distribution then comment | ||
# out the MAKE_GD and MAKE_GD_CLEAN entries. | ||
GDFONT_OBJ=gd-1.2/gdfontt.o gd-1.2/gdfonts.o gd-1.2/gdfontmb.o gd-1.2/gdfontl.o gd-1.2/gdfontg.o | ||
GD_INC=-I./gd-1.2 | ||
GD_LIB=-L./gd-1.2 -lgd | ||
GD=-DUSE_GD_1_2 | ||
MAKE_GD=gd | ||
MAKE_GD_CLEAN=gd_clean | ||
|
||
# TIFF distribution (raster support for TIFF and GEOTIFF imagery). (RECOMMENDED) | ||
TIFF_INC= | ||
TIFF_LIB=-ltiff | ||
TIFF=-DUSE_TIFF | ||
|
||
# JPEG distribution (raster support for grayscale JPEG images, INPUT ONLY). | ||
#JPEG_INC= | ||
#JPEG_LIB=-ljpeg | ||
#JPEG=-DUSE_JPEG | ||
|
||
# EPPL7 Support (this activates ERDAS as well) Included in the distribution. Probably the best raster alternative if | ||
# you've got EPPL7 laying around. See http://www.lmic.state.mn.us/ for more information. (RECOMMENDED) | ||
EPPL=-DUSE_EPPL | ||
EPPL_OBJ=epplib.o | ||
|
||
# ESRI SDE Support. You MUST have the SDE Client libraries and include files | ||
# on your system someplace. The actual SDE server you wish to connect to can | ||
# be elsewhere. | ||
#SDE=-DUSE_SDE | ||
#SDE_HOME=/opt/arcsde801 | ||
#SDE_LIB=-L$(SDE_HOME)/lib -lsde30 -lpe -lsg -lpthread -lsocket | ||
#SDE_INC=-I$(SDE_HOME)/include | ||
|
||
# | ||
# UofMN GIS/Image Processing Extension (very experimental) | ||
# | ||
#EGIS=-DUSE_EGIS | ||
#EGIS_INC=-I./egis/errLog -I./egis/imgSrc -I./egis | ||
#EGIS_LIB=-L./egis/errLog -lerrLog -L./egis/imgSrc -limgGEN -L./egis -legis | ||
#MAKE_EGIS=egis | ||
#MAKE_EGIS_CLEAN=egis_clean | ||
|
||
# | ||
# Pick a compiler, etc. Flex and bison are only required if you need to modify the mapserver lexer (maplexer.l) or expression parser (mapparser.y). | ||
# | ||
CC= gcc | ||
AR= ar rc | ||
RANLIB= ranlib | ||
LEX= flex | ||
YACC= bison | ||
|
||
XTRALIBS= -lm | ||
|
||
CFLAGS= -Wall -O $(IGNORE_MISSING_DATA) $(STRINGS) $(EPPL) $(PROJ) $(TTF) $(TIFF) $(JPEG) $(GD) $(EGIS) $(PROJ_INC) $(GD_INC) $(TTF_INC) $(TIFF_INC) $(JPEG_INC) $(EGIS_INC) | ||
LDFLAGS= -L. -lmap $(GD_LIB) $(PROJ_LIB) $(TTF_LIB) $(TIFF_LIB) $(JPEG_LIB) $(EGIS_LIB) $(XTRALIBS) | ||
|
||
RM= /bin/rm -f | ||
|
||
OBJS= mapbits.o maphash.o mapshape.o mapxbase.o mapparser.o maplexer.o mapindex.o maptree.o mapsearch.o mapstring.o mapsymbol.o mapfile.o maplegend.o maputil.o mapscale.o mapquery.o maplabel.o maperror.o mapprimitive.o mapproject.o mapraster.o $(EPPL_OBJ) | ||
|
||
# | ||
# --- You shouldn't have to edit anything else. --- | ||
# | ||
.c.o: | ||
$(CC) -c $(CFLAGS) $< | ||
|
||
all: $(MAKE_GD) $(MAKE_EGIS) $(MAKE_GDFT) libmap.a shp2img sym2img legend mapserv shpindex shptree scalebar sortshp perlvars | ||
|
||
gd:: | ||
cd gd-1.2; make; cd .. | ||
|
||
gdft:: | ||
cd gdft; make CC=$(CC) GD=$(GD); cd .. | ||
|
||
egis:: | ||
cd egis/errLog; make; cd .. | ||
cd egis/imgSrc; make; cd .. | ||
cd egis; make; cd .. | ||
|
||
maplexer.o: maplexer.c map.h mapfile.h | ||
|
||
maplexer.c: maplexer.l | ||
$(LEX) -i -omaplexer.c maplexer.l | ||
|
||
mapparser.o: mapparser.c map.h | ||
|
||
mapparser.c: mapparser.y | ||
$(YACC) -d -omapparser.c mapparser.y | ||
|
||
lib: libmap.a | ||
libmap: libmap.a | ||
libmap.a: map.h $(OBJS) | ||
$(AR) libmap.a $(OBJS) | ||
$(RANLIB) libmap.a | ||
|
||
shp2img: libmap.a shp2img.o map.h | ||
$(CC) $(CFLAGS) shp2img.o $(LDFLAGS) -o shp2img | ||
|
||
sym2img: libmap.a sym2img.o map.h | ||
$(CC) $(CFLAGS) sym2img.o $(LDFLAGS) -o sym2img | ||
|
||
legend: libmap.a legend.o map.h | ||
$(CC) $(CFLAGS) legend.o $(LDFLAGS) -o legend | ||
|
||
scalebar: libmap.a scalebar.o map.h | ||
$(CC) $(CFLAGS) scalebar.o $(LDFLAGS) -o scalebar | ||
|
||
mapserv: mapserv.h libmap.a mapserv.o cgiutil.o map.h | ||
$(CC) $(CFLAGS) mapserv.o cgiutil.o $(LDFLAGS) -o mapserv | ||
|
||
shpindex: libmap.a shpindex.o map.h | ||
$(CC) $(CFLAGS) shpindex.o $(LDFLAGS) -o shpindex | ||
|
||
shptree: libmap.a shptree.o map.h | ||
$(CC) $(CFLAGS) shptree.o $(LDFLAGS) -o shptree | ||
|
||
sortshp: sortshp.o | ||
$(CC) $(CFLAGS) sortshp.o $(LDFLAGS) -o sortshp | ||
|
||
perlvars: | ||
touch perlvars | ||
pwd > perlvars | ||
echo $(IGNORE_MISSING_DATA) $(STRINGS) $(EPPL) $(PROJ) $(TTF) $(TIFF) $(JPEG) $(GD) >> perlvars | ||
echo -I. $(PROJ_INC) $(GD_INC) $(TTF_INC) $(TIFF_INC) $(JPEG_INC) >> perlvars | ||
echo $(LDFLAGS) >> perlvars | ||
|
||
gd_clean: | ||
cd gd-1.2; make clean; cd .. | ||
|
||
gdft_clean: | ||
cd gdft; make clean; cd .. | ||
|
||
egis_clean: | ||
cd egis/errLog; make clean; cd .. | ||
cd egis/imgSrc; make clean; cd .. | ||
cd egis; make clean; cd .. | ||
|
||
clean: $(MAKE_GD_CLEAN) $(MAKE_GDFT_CLEAN) $(MAKE_EGIS_CLEAN) | ||
rm -f libmap.a *.o shp2img mapserv sym2img legend shpindex shptree scalebar sortshp perlvars | ||
|
||
sorta-clean: | ||
rm -f *.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
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. MapServer is now distributed with MapScript a Perl module | ||
that provides access to the basic MapServer C API and allows developers | ||
to add mapping functions to their Perl scripts. In addition, MapScript | ||
provides a basic interface for reading/writing ESRI shapefiles. For more | ||
information and complete documentation please visit: | ||
|
||
http://mapserver.gis.umn.edu/ | ||
|
||
Send comments and bug reports to [email protected]. If | ||
you do make changes and/or enhancements, please let us know so that they | ||
might be incorporated into future releases. | ||
|
||
Join the MapServer user mailing list by sending mail to: | ||
|
||
[email protected] | ||
|
||
with the first line of the message body containing "subscribe mapserver-users". | ||
|
||
Please let us know how you are using the MapServer. Drop us a note at: | ||
|
||
[email protected]. | ||
|
||
CREDITS | ||
|
||
The MapServer was written by Stephen Lime. Raster access module developed by | ||
Pete Olson of the State of Minnesota, Land Management Information Center and | ||
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. | ||
|
||
Portions copyright (c) 1998 State of Minnesota, Land Management Information Center. | ||
|
||
Portions copyright (c) 1995-1999 Frank Warmerdam. | ||
|
||
LICENSE | ||
|
||
Copyright (c) 1996-1999 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. | ||
|
Oops, something went wrong.