Commit graph

243 commits

Author SHA1 Message Date
Artem Pavlenko
14700dba16 switch back from mapnik2 to mapnik
add mapnik2 module which redirects to mapnik and issues DeprecationWarning
2011-11-23 11:33:58 +00:00
Artem Pavlenko
b689670ffd switch back from mapnik2 to mapnik
add mapnik2 module which redirects to mapnik and issues DeprecationWarning
2011-11-23 11:33:58 +00:00
Dane Springmeyer
baebf4f1f2 scons: get linking correct to sqlite dependecies if linking is static 2011-11-15 12:07:46 -08:00
Dane Springmeyer
a6608814d0 scons: get linking correct to sqlite dependecies if linking is static 2011-11-15 12:07:46 -08:00
Dane Springmeyer
39d199aa49 code formatting 2011-11-13 19:54:32 -08:00
Dane Springmeyer
4654312d00 code formatting 2011-11-13 19:54:32 -08:00
Dane Springmeyer
f5d0f8c351 catch more directories in the formatting script 2011-11-13 19:39:43 -08:00
Dane Springmeyer
01bd36623c catch more directories in the formatting script 2011-11-13 19:39:43 -08:00
Dane Springmeyer
1c2530cdad fix compile of pgsql2sqlite 2011-11-13 15:02:29 -08:00
Dane Springmeyer
cccacb3f2c fix compile of pgsql2sqlite 2011-11-13 15:02:29 -08:00
Dane Springmeyer
1dc734f6fe strip whitespace in emacs config 2011-11-09 16:26:37 -08:00
Dane Springmeyer
a4439c1efa strip whitespace in emacs config 2011-11-09 16:26:37 -08:00
Dane Springmeyer
15949b077a quadtree: remove unused variable 2011-11-02 13:30:40 -04:00
Dane Springmeyer
cb12defd2c quadtree: remove unused variable 2011-11-02 13:30:40 -04:00
Dane Springmeyer
2a374e270b tweak the mapnik-speed-check script to allow being customized to test load times 2011-10-28 15:13:52 -07:00
Dane Springmeyer
f71149ca53 tweak the mapnik-speed-check script to allow being customized to test load times 2011-10-28 15:13:52 -07:00
Dane Springmeyer
d8f19fab05 always link to boost system - closes #931 2011-10-25 19:29:51 -07:00
Dane Springmeyer
e3b0e56ff4 always link to boost system - closes #931 2011-10-25 19:29:51 -07:00
kunitoki
f85965142d - small script to keep copyright aligned in all files (bindings have different copyright owners, need to understand if we need to keep those as they are) 2011-10-23 15:11:14 +02:00
kunitoki
873a4112b0 - small script to keep copyright aligned in all files (bindings have different copyright owners, need to understand if we need to keep those as they are) 2011-10-23 15:11:14 +02:00
kunitoki
90cc117fb2 - added --git-revision to mapnik-config
- related to #903
2011-10-19 00:22:47 +02:00
kunitoki
31f42bd5c1 - added --git-revision to mapnik-config
- related to #903
2011-10-19 00:22:47 +02:00
kunitoki
f28da245f3 - fix mapnik-config --version
- closes #903
2011-10-19 00:13:38 +02:00
kunitoki
8ed3b4aa0d - fix mapnik-config --version
- closes #903
2011-10-19 00:13:38 +02:00
Dane Springmeyer
7616cd45db move epydoc stuff out of docs/ folder and into utils 2011-10-12 12:17:26 -07:00
Hermann Kraus
f08f8ce008 Update upgrade_map scripts to support new Text/ShieldSymbolizer syntax. 2011-09-15 23:22:55 +00:00
Artem Pavlenko
c1929716a0 + don't link to LIBMAPNIK_LIBS 2011-09-13 11:54:27 +00:00
Artem Pavlenko
5476e8410b + amend input plug-ins to use new wkb interface 2011-09-13 11:54:20 +00:00
Dane Springmeyer
19ee3ae8af provide fix for #807 in upgrading map xml script 2011-09-12 20:28:35 +00:00
Dane Springmeyer
6752760c9a rename the 'howfast.py' script to a more user friendly name 'mapnik-speed-check' 2011-09-10 18:27:31 +00:00
Dane Springmeyer
962b2afb85 fix ms output 2011-09-10 18:22:57 +00:00
Dane Springmeyer
a9fa9ca8b3 output in milliseconds for min and avg 2011-09-09 23:47:27 +00:00
Dane Springmeyer
ec8588ffad scons: fix spacing between cppaths and cxxflags 2011-09-01 15:06:11 +00:00
Dane Springmeyer
22c39d91ba scons: rename all SConscript files to more friendly name of 'build' with a python extension for quick syntax detection in editors 2011-08-30 05:32:01 +00:00
Dane Springmeyer
ba03f91d26 scons: maintain cairo/cairomm cflags in 'mapnik config --cflags' output 2011-08-30 05:17:50 +00:00
Dane Springmeyer
ecbfc4cdb4 scons: fix cxxflags concatenation 2011-08-29 23:02:57 +00:00
Dane Springmeyer
6cb31bd109 scons: better propagation of libmapnik build flags to command line utilities and mapnik-config - also remove conditional flags on specific cairo rendering .cpp files as this was not working right - closes #837 2011-08-29 21:12:22 +00:00
Dane Springmeyer
6b83382f2e scons/mapnik-config: if agg is built and linked internally do not advertise as a depedency link because it will not be available 2011-08-22 16:58:40 +00:00
Dane Springmeyer
23fab382d6 scons: refactor mapnik-config, breaking out --libs, --ldflags, and --dep-libs and offering json output of core config - closes #789 2011-08-13 17:07:05 +00:00
Dane Springmeyer
3974f333a7 scons: add missing import 2011-08-12 21:36:12 +00:00
Dane Springmeyer
97f6add14e scons: fix a few more scons files 2011-08-12 21:32:16 +00:00
Dane Springmeyer
3e67c1d694 scons: centralize install path info 2011-08-12 21:31:28 +00:00
Dane Springmeyer
9ae28abe50 scons: copy to avoid duplicate libs 2011-08-12 19:58:49 +00:00
Dane Springmeyer
915a77a2f7 scons: use different constructions environment to avoid potential conflict when building libmapnik.a 2011-08-12 17:09:22 +00:00
Artem Pavlenko
3436fe0f05 + handle null shapes 2011-08-12 16:43:12 +00:00
Dane Springmeyer
af62ad9c27 scons: collect and propogate the libs used to link libmapnik 2011-08-11 21:11:11 +00:00
Dane Springmeyer
8f1d434e0e make mapnik-config executable in place and fix missing cairo flags - a bug that snuck in after r2996 2011-08-04 20:32:40 +00:00
Dane Springmeyer
f30a9c67c1 better support for possible manifestations of text-transform in 0.7.2 2011-07-07 21:22:02 +00:00
Dane Springmeyer
191f14d33c include cairo/cairomm libs and cflags in mapnik-config output - closes #723 and #787 2011-06-29 14:44:40 +00:00
Dane Springmeyer
b578c02c54 make renderer type a template argument of agg svg renderer 2011-05-17 06:18:06 +00:00
Dane Springmeyer
c5f587c29c remove unecessary linking to boost_thread 2011-05-13 03:12:38 +00:00
Dane Springmeyer
c19ede5070 remove last references to boost_iostreams dependency 2011-05-10 15:57:45 +00:00
Dane Springmeyer
1070b293ad tabs -> spaces 2011-05-04 15:53:36 +00:00
Dane Springmeyer
78fe0364b9 remove iostreams linkage, no longer used 2011-05-02 16:48:41 +00:00
Dane Springmeyer
9da2d701a5 further template the svg_renderer based on pixfmt 2011-04-26 17:38:18 +00:00
Artem Pavlenko
d1903cb463 + don't link to boost::iostreams 2011-04-07 15:34:33 +00:00
Artem Pavlenko
0e0b7a578c + implement memory mapping using boost::interprocess
+ cache mapped memory regions for re-use
2011-04-06 13:02:31 +00:00
Tom Hughes
c9472e650c Link svg2png against libagg directly as some recent distributions
like Fedora 14 don't allow the linker to resolve symbols indirectly
anymore.
2011-04-05 22:09:43 +00:00
Dane Springmeyer
d2a455a0fb pgsql2sqlite: leverage common functions in sql_utils, vaccuum db when finished 2011-04-04 03:51:29 +00:00
Dane Springmeyer
a73bb9d2cd pgsql2sqlite: better error output, limit 'table' param to flag option rather than positional arg so the two do not conflict 2011-04-04 03:48:39 +00:00
Dane Springmeyer
649e4498c1 handle return of system call 2011-04-01 23:55:19 +00:00
Jon Burgess
80557f7b16 Fix setting of minimum-version if map already has minimum_version. Before this fix the value would be overwritten by the underscore2dash(root) step. 2011-03-15 22:49:08 +00:00
Dane Springmeyer
a5284bada6 add missing DEFINES to mapnik-config cflags that C++ programs need that compile against mapnik headers including expressions 2011-03-04 22:05:29 +00:00
Dane Springmeyer
6ff45e91fe add handling of markers_symbolizer to upgrade_map_xml.py script 2011-02-15 18:41:20 +00:00
Dane Springmeyer
5876abcc30 handle potential xinclude nesting 2011-02-09 23:36:09 +00:00
Dane Springmeyer
af8e859d66 simplify the svg2png command line tool 2011-02-09 06:50:27 +00:00
Dane Springmeyer
93214f83a7 update mapnik2 upgrade script to help with handling r2582 2011-02-05 03:21:02 +00:00
Dane Springmeyer
c5833a6db8 remove unmaintained autotools scripts 2011-02-04 22:22:16 +00:00
Dane Springmeyer
50532801f3 change min_distance and min_padding to minimum_distance and minimum_padding to match python and mimimum_version 2011-02-02 04:20:53 +00:00
Dane Springmeyer
ec0270ad05 enable rendering a list of svg like $ svg2png *svg 2011-01-26 09:14:57 +00:00
Dane Springmeyer
7686af3b7b no need for fancy transforms 2011-01-26 01:27:16 +00:00
Robert Coup
ed306d7cbe #654 add svg2png utility 2011-01-26 01:19:01 +00:00
Dane Springmeyer
b4d092722d fixup return types for mapnik-config and add test of basic returns 2011-01-05 20:52:08 +00:00
Dane Springmeyer
65e96cf2b7 more cleanup after removal of unneeded cpp file 'shapefile.cpp' 2011-01-05 02:07:12 +00:00
Dane Springmeyer
0bc3c1bf33 do not use DESTDIR when reporting install values in mapnik-config 2010-12-22 06:58:21 +00:00
Dane Springmeyer
20349d42f6 touchup and actuall install the 'howfast.py' little performance testing script 2010-12-16 16:32:06 +00:00
Dane Springmeyer
d11a180bb8 add draft xml dtd for validating xml stylesheets - thx manelclos - #684 2010-12-13 17:53:25 +00:00
Dane Springmeyer
798c1d3aba set the minimum_version of mapnik to 0.7.2 for the upgrade script so that we don't break styles that will likely be compatible with 0.7.2 - thanks ebrelsford for reporting this issue 2010-12-02 00:33:25 +00:00
Dane Springmeyer
b24dd5df91 scons: make sure to only create install targets if actually installing - needed to prevent installing during uninstall action if not previously installed 2010-11-29 20:21:02 +00:00
Dane Springmeyer
d927e89bd0 add very basic script for timing rendering of single map given iterations and bbox 2010-11-24 02:03:09 +00:00
Dane Springmeyer
4060f80841 expose the SVN_REVISION in mapnik-config 2010-11-17 19:43:03 +00:00
Dane Springmeyer
a17c91c647 append input/ dir 2010-11-16 23:59:03 +00:00
Dane Springmeyer
704596ff97 fix input_plugins variable 2010-11-16 23:57:16 +00:00
Dane Springmeyer
4068eca05c typo 2010-11-16 23:53:06 +00:00
Dane Springmeyer
86e2fb3f31 actually catch the SYSTEM_FONTS variable this time 2010-11-16 23:50:51 +00:00
Dane Springmeyer
8045d32608 mapnik-config: correctly honor any customization of the fonts path such as passing SYSTEM_FONTS 2010-11-16 23:22:51 +00:00
Dane Springmeyer
46fe1e3e7c fix argument name of mapnik-config so that we can query input-plugins 2010-11-15 22:14:43 +00:00
Lucio Asnaghi
e53b490167 - added verbose option to shapeindex 2010-11-10 11:55:22 +00:00
Dane Springmeyer
61940db92f tweak the upgrade logic so that we don't loose existing attributes - allows upgrading a partially compliant xml 2010-11-08 19:54:28 +00:00
Dane Springmeyer
16ee468c78 set the minimum_version when upgrading 2010-11-08 19:12:29 +00:00
Artem Pavlenko
ab101401cd + simplify geometry implementation
+ removed multiple geometry typedefs
+ use geometry_type
+ revert to storing vertices in vector_vertex
  (previous implementation using std::vector was
   fragmenting heap causing performance issues with large geometries)
+ FIXME: hit_test is broken!
2010-11-03 13:19:15 +00:00
Dane Springmeyer
9ec12e731e make sure not to let the user overwrite their style when upgrading 2010-10-22 00:23:02 +00:00
Dane Springmeyer
6ebb182c11 actually add fix for #621 2010-09-26 11:52:06 +00:00
Dane Springmeyer
3549fea396 enable upgrading xml for attribute changes (e.g text_convert -> text_transform) 2010-09-18 19:33:13 +00:00
Dane Springmeyer
523b09701e Add the ability to pass custom CXXFLAGS and LDFLAGS that will be prioritized above other compiler and linker flags 2010-09-18 18:02:15 +00:00
Dane Springmeyer
3f2f9fb4e5 avoid serializing xml to a string but rather write directly from tree (tree.tostring() is buggy with everything except lxml) 2010-08-26 21:44:43 +00:00
Dane Springmeyer
b4e989a85a only support reading xinclude if we are using lxml 2010-08-26 20:45:08 +00:00
Dane Springmeyer
594b019879 refactor upgrade_map_xml.py script to avoid custom dependency on lxml.objectify 2010-08-26 20:42:50 +00:00
Dane Springmeyer
410981c9fb add indenting support to upgrade_map_xml.py and add wally's alternative that is able to do the black magic needed to maintain entities 2010-08-20 22:20:45 +00:00
Dane Springmeyer
930b2cc7b6 better handling and error reporting around ogr layer names and indexes, renamed ogr plugins index file to 'ogrindex' to avoid collision with shape plugins index (when using common shapefile between each as the indexes appear incompatible) 2010-08-20 21:20:55 +00:00