Merge branch 'master' into multi-tile-policy

This commit is contained in:
Matt Amos 2011-10-18 13:40:35 +01:00
commit 49e872049c
212 changed files with 1175 additions and 8929 deletions

9
.gitignore vendored
View file

@ -5,20 +5,21 @@
*.a
*.dylib
plugins/input/*.input
demo/c++/rundemo
bindings/python/mapnik/paths.py
config.cache
config.log
config.py
.sconf_temp/
.sconsign.dblite
demo/viewer/viewer.ini
tests/cpp_tests/font_registration_test
tests/python_tests/raster_colorizer_test.png
tests/python_tests/raster_colorizer_test_save.xml
utils/mapnik-config/mapnik-config
utils/mapnik-config/mapnik2.pc
utils/shapeindex/shapeindex
utils/pgsql2sqlite/pgsql2sqlite
utils/svg2png/svg2png
demo/python/demo*
demo/python/map.xml
demo/python/map.xml

View file

@ -1,17 +0,0 @@
syntax: glob
.sconf_temp
.sconsign.dblite
*.input
*.pyc
*.sw[p,o]
*.orig
*.o
*.os
*.so
agg/libagg.a
config.*
utils/shapeindex
bindings/python/mapnik/paths.py
demo/python/demo*
demo/python/map.xml

71
AUTHORS
View file

@ -1,71 +0,0 @@
# $Id: AUTHORS 746 2008-09-24 dane $
Committers
==========
- Artem Pavlenko <artem.mapnik -at- gmail.com>
- Lucio Asnaghi (OGR, Oracle, SQLite plugins)
- Jon Burgess (Core)
- Jean-Francois Doyon (Python API, OGCServer) <jfdoyon -at- gmail.com>
- Dominic Hargreaves (Stable releases)
- Hermann Kraus (MetaWriters)
- Tom Hughes (Cairo)
- Carlos López (SVG Renderer)
- Ben Moores (PDF branch)
- Marcin Rudowski (graphics)
- David Siegel (XML)
- Vince Spader (TextSymbolizer)
- Dane Springmeyer (Python API, SCons) <dane.springmeyer -at- gmail.com>
- David Leaver (Label Placement)
- Alberto Valverde (GlyphSymbolizer, Python API)
- Andreas Volz (Autotools)
- Nick Whitelegg (OSM plugin)
Patches
=======
- Andy Allen
- AJ Ashton
- Justin Bronn
- Christopher Brown
- Toby Collet
- Robert Coup
- Berteun Damman
- Craig de Stigter
- David Eastcott
- Krzysztof Godlewski
- Beau Gunderson
- John Hague
- Aubrey Holland
- Konstantin Käfer
- Mak Kolybabi
- Peter Körner
- Stella Laurenzo
- Dennis Luxen
- Tom MacWright
- Michal Migurski
- Andrii Mishkovskyi
- Dražen Odobašić
- Martijn van Oosterhout
- Cameron Patrick
- Igor Podolskiy
- Reid Priedhorsky
- Brian Quinion
- Christopher Schmidt
- Andreas Schneider
- Vincent Schut
- Ehud Shabtai
- Steve Singer
- Paul Smith
- Philipp Spitzer
- Dave Stubbs
- River Tarnell
- Oliver Tonnhofer
- Lennard voor den Dag
- Shaun Walbridge
- Leslie Wu
Community Wiki
==============
- http://trac.mapnik.org/stractistics

61
AUTHORS.md Normal file
View file

@ -0,0 +1,61 @@
## Mapnik Contributors
Mapnik is written by Artem Pavlenko with contributions from:
Andy Allen
AJ Ashton
Matt Amos
Lucio Asnaghi
Justin Bronn
Christopher Brown
Jon Burgess
Toby Collet
Robert Coup
Berteun Damman
Craig de Stigter
Jean-Francois Doyon
David Eastcott
Krzysztof Godlewski
Beau Gunderson
John Hague
Dominic Hargreaves
Aubrey Holland
Tom Hughes
Konstantin Käfer
Mak Kolybabi
Peter Körner
Hermann Kraus
Stella Laurenzo
David Leaver
Carlos López
Dennis Luxen
Tom MacWright
Michal Migurski
Andrii Mishkovskyi
Ben Moores
Dražen Odobašić
Cameron Patrick
Igor Podolskiy
Reid Priedhorsky
Brian Quinion
Marcin Rudowski
Christopher Schmidt
Andreas Schneider
Vincent Schut
Ehud Shabtai
David Siegel
Steve Singer
Paul Smith
Vince Spader
Philipp Spitzer
Dane Springmeyer
Dave Stubbs
River Tarnell
Oliver Tonnhofer
Alberto Valverde
Martijn van Oosterhout
Andreas Volz
Lennard voor den Dag
Shaun Walbridge
Nick Whitelegg
Leslie Wu

View file

@ -11,7 +11,16 @@ Developers: Please commit along with changes.
For a complete change history, see the SVN log.
Mapnik Trunk
Mapnik 2.1.0
------------
- New CSV plugin - reads tabular files - autodetecting geo columns, newlines, and delimiters. Uses in-memory featureset for fast rendering and is not designed for large files (#902)
- Fixed bug in shield line placement when dx/dy are used to shift the label relative to the placement point (Matt Amos) (#908)
Mapnik 2.0.0
------------
- Add minimum-path-length property to text_symbolizer to allow labels to be placed only on lines of a certain length (#865)

View file

@ -1,3 +1,14 @@
```
_/ _/ _/ _/
_/_/ _/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/ _/ _/_/_/ _/_/_/ _/ _/ _/ _/ _/
_/
_/
```
Mapnik is an open source toolkit for developing mapping applications.
At the core is a C++ shared library providing algorithms/patterns
for spatial data access and visualization.

View file

@ -102,7 +102,9 @@ PLUGINS = { # plugins with external dependencies
# plugins without external dependencies requiring CheckLibWithHeader...
'shape': {'default':True,'path':None,'inc':None,'lib':None,'lang':'C++'},
'csv': {'default':False,'path':None,'inc':None,'lib':None,'lang':'C++'},
'raster': {'default':True,'path':None,'inc':None,'lib':None,'lang':'C++'},
'csv': {'default':False,'path':None,'inc':None,'lib':None,'lang':'C++'},
'kismet': {'default':False,'path':None,'inc':None,'lib':None,'lang':'C++'},
}
@ -317,7 +319,8 @@ opts.AddVariables(
('PREFIX', 'The install path "prefix"', '/usr/local'),
('PYTHON_PREFIX','Custom install path "prefix" for python bindings (default of no prefix)',''),
('DESTDIR', 'The root directory to install into. Useful mainly for binary package building', '/'),
('PATH_INSERT', 'A custom path to append to the $PATH env to prioritize usage of shell programs like pkg-config will be used if multiple are present on the system', ''),
('PATH', 'A custom path (or multiple paths divided by ":") to append to the $PATH env to prioritize usage of command line programs (if multiple are present on the system)', ''),
('PATH_REMOVE', 'A path prefix to exclude from all know command and compile paths', ''),
# Boost variables
# default is '/usr/include', see FindBoost method below
@ -381,7 +384,7 @@ opts.AddVariables(
BoolVariable('FULL_LIB_PATH', 'Use the full path for the libmapnik.dylib "install_name" when linking on Mac OS X', 'True'),
ListVariable('BINDINGS','Language bindings to build','all',['python']),
EnumVariable('THREADING','Set threading support','multi', ['multi','single']),
EnumVariable('XMLPARSER','Set xml parser ','libxml2', ['tinyxml','spirit','libxml2']),
EnumVariable('XMLPARSER','Set xml parser','libxml2', ['libxml2','ptree']),
('JOBS', 'Set the number of parallel compilations', "1", lambda key, value, env: int(value), int),
BoolVariable('DEMO', 'Compile demo c++ application', 'False'),
BoolVariable('PGSQL2SQLITE', 'Compile and install a utility to convert postgres tables to sqlite', 'False'),
@ -432,7 +435,8 @@ pickle_store = [# Scons internal variables
'PYTHON_IS_64BIT',
'SAMPLE_INPUT_PLUGINS',
'PKG_CONFIG_PATH',
'PATH_INSERT',
'PATH',
'PATH_REMOVE',
'MAPNIK_LIB_DIR',
'MAPNIK_LIB_DIR_DEST',
'INSTALL_PREFIX',
@ -1014,9 +1018,10 @@ if not preconfigured:
if env['PKG_CONFIG_PATH']:
env['ENV']['PKG_CONFIG_PATH'] = os.path.realpath(env['PKG_CONFIG_PATH'])
# otherwise this variable == os.environ["PKG_CONFIG_PATH"]
if env['PATH_INSERT']:
env['ENV']['PATH'] = os.path.realpath(env['PATH_INSERT']) + ':' + env['ENV']['PATH']
if env['PATH']:
env['ENV']['PATH'] = os.path.realpath(env['PATH']) + ':' + env['ENV']['PATH']
if env['SYSTEM_FONTS']:
if not os.path.isdir(env['SYSTEM_FONTS']):
color_print(1,'Warning: Directory specified for SYSTEM_FONTS does not exist!')
@ -1072,7 +1077,6 @@ if not preconfigured:
env.AppendUnique(CPPPATH = os.path.realpath(inc_path))
env.AppendUnique(LIBPATH = os.path.realpath(lib_path))
conf.parse_config('FREETYPE_CONFIG')
# check if freetype links to bz2
@ -1083,12 +1087,10 @@ if not preconfigured:
if 'bz2' in temp_env['LIBS']:
env['EXTRA_FREETYPE_LIBS'].append('bz2')
if env['XMLPARSER'] == 'tinyxml':
env['CPPPATH'].append('#tinyxml')
env.Append(CXXFLAGS = '-DBOOST_PROPERTY_TREE_XML_PARSER_TINYXML -DTIXML_USE_STL')
elif env['XMLPARSER'] == 'libxml2':
if conf.parse_config('XML2_CONFIG'):
env['HAS_LIBXML2'] = True
# libxml2 should be optional but is currently not
# https://github.com/mapnik/mapnik/issues/913
if conf.parse_config('XML2_CONFIG'):
env['HAS_LIBXML2'] = True
LIBSHEADERS = [
['m', 'math.h', True,'C'],
@ -1252,8 +1254,8 @@ if not preconfigured:
# we link locally
if env['INTERNAL_LIBAGG']:
env.Prepend(CPPPATH = '#agg/include')
env.Prepend(LIBPATH = '#agg')
env.Prepend(CPPPATH = '#deps/agg/include')
env.Prepend(LIBPATH = '#deps/agg')
else:
env.ParseConfig('pkg-config --libs --cflags libagg')
@ -1565,8 +1567,19 @@ if not HELP_REQUESTED:
env['ENV']['PKG_CONFIG_PATH'] = os.path.realpath(env['PKG_CONFIG_PATH'])
# otherwise this variable == os.environ["PKG_CONFIG_PATH"]
if env['PATH_INSERT']:
env['ENV']['PATH'] = os.path.realpath(env['PATH_INSERT']) + ':' + env['ENV']['PATH']
if env['PATH']:
env['ENV']['PATH'] = os.path.realpath(env['PATH']) + ':' + env['ENV']['PATH']
if env['PATH_REMOVE']:
p = env['PATH_REMOVE']
if p in env['ENV']['PATH']:
env['ENV']['PATH'].replace(p,'')
def rm_path(set):
for i in env[set]:
if p in i:
env[set].remove(i)
rm_path('LIBPATH')
rm_path('CPPPATH')
# export env so it is available in build.py files
Export('env')
@ -1596,7 +1609,7 @@ if not HELP_REQUESTED:
# Build agg first, doesn't need anything special
if env['RUNTIME_LINK'] == 'shared' and env['INTERNAL_LIBAGG']:
SConscript('agg/build.py')
SConscript('deps/agg/build.py')
# Build the core library
SConscript('src/build.py')

View file

@ -1,6 +1,6 @@
#
# This file is part of Mapnik (C++/Python mapping toolkit)
# Copyright (C) 2009 Artem Pavlenko, Dane Springmeyer
# Copyright (C) 2009 Artem Pavlenko
#
# Mapnik is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License

View file

@ -2,7 +2,7 @@
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko, Jean-Francois Doyon, Dane Springmeyer
* Copyright (C) 2006 Artem Pavlenko, Jean-Francois Doyon
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public

View file

View file

Some files were not shown because too many files have changed in this diff Show more