Commit graph

12963 commits

Author SHA1 Message Date
Andreas Volz
f0cca52c3b optional build with libxml2 2007-10-02 21:43:13 +00:00
David
bc11d0a5e5 - added some tests
- added missing disclaimers
2007-09-25 21:06:52 +00:00
David
b2df387a9d - merged strict-xml-branch r530:532 to trunk:
- libxml2 support
    - strict error handling while parsing XML map files
    - implemented save_map()
    - removed some duplicate defaults
    - all symbolizers with icons share a common base class now
2007-09-25 18:47:12 +00:00
Andreas Volz
49e6d1d7bf - added option to build included libagg as static library 2007-09-23 22:20:21 +00:00
Andreas Volz
c8e4029971 add exec bit 2007-09-21 19:54:17 +00:00
Artem Pavlenko
066c8dfa1a Fixed envelope() method to return borrowed connection
NOTE : Always wrap connection into PoolGuard !!!
 
PoolGuard<shared_ptr<Connection>,shared_ptr<Pool<Connection,ConnectionCreator> > > guard(conn,pool);
2007-09-18 14:00:27 +00:00
Artem Pavlenko
13d741f400 added size method : returns (unused,used) size pair
useful for debugging
2007-09-18 13:58:01 +00:00
Artem Pavlenko
bb9f426dd9 don't check for boost_system by default 2007-09-18 10:54:44 +00:00
Andreas Volz
670862879b build plugins without .so extension 2007-09-17 20:16:43 +00:00
Artem Pavlenko
8e071f84c7 1. Changed internal geometry representation (explicit support for multi geometries)
(FIXME : label_spacing is still, too slow!!) 
2. Re-use some agg objects.
3. placement_finder cleanups! 
4. Added support for 'building_symbolizer' - extruded polygons
2007-09-16 11:23:51 +00:00
Andreas Volz
d38dedad68 + added GNU autotools build environment
+ raster and gdal input isn't tested. Not working currently...
+ *-input.so plugins created. Change loader in source or link plugin to correct place
+ use pkg-config uninstalled feature
  -> define project root to PKG_CONFIG_PATH to use mapnik without installation
+ added various library checks
+ don't install fonts
+ don't use included AGG
  -> check for a installed libagg
+ Added Makefile for c++ demo
+ don't build any python wrapper stuff
  -> this follows if all other building works
+ added Anjuta file
  -> not needed to build anything, but helps much if you use Anjuta
2007-09-14 23:07:16 +00:00
Artem Pavlenko
b835bac9ba user for loops instead of while, some cleanups 2007-09-11 11:26:10 +00:00
Artem Pavlenko
9b2b2a5691 clip query bbox to layer's extent 2007-09-11 11:06:20 +00:00
Artem Pavlenko
92b22558fd use 'limit 0' when gathering metadata, also we don't need getFieldSize at all 2007-09-07 15:50:40 +00:00
Artem Pavlenko
ef6f1060d3 link to fribidi on Darwin 2007-09-07 15:46:51 +00:00
svn
b98faab018 respect 'THREADING' flag 2007-09-01 09:50:06 +00:00
svn
63ca9a0b41 use non const char* on Linux 2007-09-01 09:48:01 +00:00
Artem Pavlenko
2ad4634034 added encoding='latin1' parameter to display text correctly 2007-08-29 15:23:39 +00:00
Artem Pavlenko
edb4150b33 restored iconv support 2007-08-29 15:21:32 +00:00
Artem Pavlenko
388eb1761f we don't need those 2007-08-29 15:19:33 +00:00
Artem Pavlenko
4e427f978c fixed bug introduced in r495 2007-08-29 14:06:35 +00:00
Artem Pavlenko
beebee468b fixed is_datasource_plugin predicate 2007-08-28 10:19:48 +00:00
Artem Pavlenko
76572994b5 Applied mapnik-r511.patch from David Siegel:
plugins/input/postgis/SConscript:
- added boost_thread-mt to darwin builds

demo/c++/rundemo.cpp:
- setBackground() is now set_background()

bindings/python/SConscript:
- added boost_thread-mt to darwin builds
- changed builder to LoadableModule which builds a so called "bundle"
   on darwin and a shared library on all other systems.
- LDMODULEPREFIX = '' 

SConstruct:
- freetype-config is now searched in the path.
2007-08-28 10:12:38 +00:00
Andreas Volz
8b3f5ef483 only minor docs 2007-08-15 20:46:12 +00:00
Artem Pavlenko
7f3bbace30 check if file ends with '.input' before attempting to load it 2007-08-15 17:23:45 +00:00
Artem Pavlenko
0f07bbd945 corrected docs 2007-08-13 09:59:52 +00:00
Artem Pavlenko
7411a5d2f7 applied patch from JonB - use platform dependend lib prefix when installing bindings (e.g. lib64 on x86_64) 2007-08-13 09:18:07 +00:00
Artem Pavlenko
e05f730122 applied changes overwritten betweed r504-505 2007-08-13 09:15:41 +00:00
Artem Pavlenko
b36a802107 added layer_info dialog
improved style_model
2007-08-13 09:13:58 +00:00
Andreas Volz
59977745a0 - doxygen documentation files
- added first docs to map.hpp
2007-08-12 21:05:45 +00:00
Artem Pavlenko
99d04bbf08 removed set_alpha 2007-08-09 20:23:09 +00:00
Artem Pavlenko
c3dc93ed14 added symbilizer node to the Layer TreeView 2007-08-09 14:14:51 +00:00
Artem Pavlenko
b47bfa185a couple optimizations 2007-08-09 14:13:41 +00:00
Artem Pavlenko
19daab2461 provide both const/non-const iterators 2007-08-09 08:06:47 +00:00
Artem Pavlenko
7953b07095 added missing scons 2007-08-08 09:32:37 +00:00
Artem Pavlenko
6752dda07e upgrade to the latest scons (0.97) 2007-08-07 15:50:34 +00:00
Artem Pavlenko
8887b9eb99 Mapnik Viewer - initial import 2007-08-07 15:09:41 +00:00
Artem Pavlenko
80566ea1ba added accesor to styles 2007-08-07 12:02:24 +00:00
Artem Pavlenko
a53fbf2ca3 applied patch that makes sure names of vertical roads are
rendered in a consistent direction (from Cameron Patrick)
2007-08-01 10:57:27 +00:00
Artem Pavlenko
d959701d5a 1. added boost::optional<T> to/form Python converter
2. make background color optional (Map object)
3. exposed 'blend' method for Image object
2007-08-01 09:59:23 +00:00
Artem Pavlenko
d78ccbaed0 small fix 2007-08-01 08:52:18 +00:00
Artem Pavlenko
8eac22911a applied mapnik_line_displacement patch from Cameron Patrick 2007-07-26 21:09:40 +00:00
Artem Pavlenko
7c8a9f3075 added support for min_distance in shield/text symbolizer 2007-07-25 14:36:08 +00:00
Artem Pavlenko
738941cae5 removed *.xml (esri??) files, fixed COPYRIGHT.txt to use unix style line endings 2007-07-25 09:23:47 +00:00
vspader
9fe4a94c98 Added minimum_distance property to text symbolizers. This prevents the same label from appearing within N pixels (across features).
Shield symbolizer is now a subclass of text symbolizer.
Some small improvements to text rendering.
Fixed up placement finder for horizontal placement.
Cleaned up placement finder.
2007-07-02 13:39:08 +00:00
vspader
560de0b9b1 Fix so labels stay within the road. 2007-06-21 15:29:47 +00:00
Artem Pavlenko
f3ae318ca3 1. added 'allow_overlap' in load_map from xml
2. added overlap_ field to TextSymbolizer (ignored by renderer at the moment)
2007-06-20 21:08:23 +00:00
Artem Pavlenko
cc3b5bece1 applied patch from jonb - glob for all *.ttf 2007-06-20 20:20:16 +00:00
Artem Pavlenko
ab149257ad added save_to_file method that works with Image object. 2007-06-12 19:30:58 +00:00
Artem Pavlenko
8010d5433f 1. Removed srid from geometry class
2. Pass resolution to bbox query
3. Use variant<int,double,string> as parameter value e.g in Python:
	ds = Raster(file="/path/to/file",lox = 12312.4,.....)
   Added extractor facility to work with mapnik::parameter (C++):
	
	mapnik::parameters params;
	params["parameter0"] = 123.456;
	params["parameter1"] = "123.456"; // initialize with string extract double later
	
	boost::optional<double> val0 = params.get<double>("parameter0");
	if (val0) 
	{
	   std::cout << *val0;
        }
	
	
	// with default value. NOTE: there is no 'parameter2' in params
	boost::optional<double> val2 = params.get<double>("parameter2",654.321);
	std::cout << * val2;
        
	// 
4. Added Gdal factory method in __init__.py

        ds =  Gdal(file="/tmp/file.tiff")
2007-06-12 08:59:54 +00:00