Commit graph

175 commits

Author SHA1 Message Date
Dane Springmeyer
3378166b64 iwyu 2013-01-03 18:58:44 -08:00
artemp
f7ad2f18fa + commenting out grid rendering - not sure how to display 'long long' values. 2013-01-02 15:39:36 +00:00
Dane Springmeyer
bb27156df0 use internal noncopyable class to speed up compile times slightly 2012-12-16 18:19:52 -08:00
Dane Springmeyer
ccda92fed1 Revert "finish moving symbolizers out of rule"
This reverts commit 20a317860d.
2012-10-10 10:51:06 -07:00
Dane Springmeyer
20a317860d finish moving symbolizers out of rule 2012-10-10 10:02:45 -07:00
Hermann Kraus
99265b22ac Add simple render script. 2012-09-10 02:42:59 +02:00
artemp
967d6110bf + singleton: return ref from instance() method 2012-09-07 16:23:03 +01:00
Dane Springmeyer
28063e28aa update the demo/tests - refs #1460 2012-09-03 15:33:14 -07:00
Colin Rundel
dc3763885c More parser clean up - color parser
Dropped color_factory class in favor of single color_parser function. Moved implementation to new color_factory.cpp since it is odd to have two headers (color.hpp, color_factory.hpp) and only one source file.
2012-08-29 16:41:48 -04:00
Dane Springmeyer
ac418a7d4e remote the last references 2012-08-27 16:43:40 -07:00
Dane Springmeyer
d9fa1cb0c2 remove old $ cruft 2012-08-24 13:49:28 -07:00
Dane Springmeyer
6c254999ae rundemo.cpp - no need to link to boost_program_options - closes #1406 2012-08-17 09:32:55 -07:00
artemp
1b92d81459 + add missing header 2012-08-16 10:41:48 +01:00
Dane Springmeyer
e95886f327 catch exceptions upon startup 2012-07-31 10:45:38 -07:00
Dane Springmeyer
b4f3d6da11 include what you use 2012-07-24 18:35:41 -07:00
artemp
7b10400be9 + update rendering code to work with new labeling methods
+ rename num_points() to size()
+ rename get_vertex() to vertex()
2012-07-19 16:36:44 +01:00
artemp
6cde3e6864 + add scale_factor_ UI (QDoubleSpinBox) 2012-07-10 16:58:43 +01:00
Dane Springmeyer
b365923772 use clang++ and mapnik-config by default to build viewer 2012-07-06 12:58:42 -07:00
Dane Springmeyer
d8c719f05e finish exposing scale_factor to cairo_renderer 2012-07-05 14:54:58 -07:00
Artem Pavlenko
6a4c207254 + make it compile against latyest master (FIXME) 2012-06-07 11:46:50 +01:00
Carl Simonson
c696c85dd4 viewer: add mouse wheel zooming
This change makes the viewer zoom in and out when using the scroll wheel.
The zoom tracks the position of the mouse pointer when zooming in so that
the map will be centered under the mouse after a zoom.
2012-05-31 19:27:19 -05:00
Carl Simonson
963cd83f98 viewer: show more exception messages
When trying to render the map widget in the viewer, we catch exceptions
and print out the message to stderr. The only exceptions that are printed
are mapnik::config_error messages. mapnik can throw more errors, so this
change makes it catch all std::exceptions.
2012-05-31 18:11:10 -05:00
Artem Pavlenko
500f57cf60 + make vertex() and rewind() methods const
+ remove unused coord_transforms
+ rename coord_transform2 to coord_transform
2012-05-31 12:13:09 +01:00
Artem Pavlenko
1077b79a63 Revert "initialise blur radius's to 1 for real this time"
This reverts commit f76c6ee25f.
2012-05-24 11:37:24 +01:00
Artem Pavlenko
f76c6ee25f initialise blur radius's to 1 for real this time 2012-05-23 20:38:42 +01:00
Artem Pavlenko
aad7c5e384 + implement compositing for text
+ refactor image_32
2012-05-09 12:39:23 +01:00
Artem Pavlenko
b5721181cd + experimental grid vis (TODO: assigned pallete colours)
useful to testing grid output
2012-05-03 17:18:02 +01:00
Artem Pavlenko
0bec7f56d3 + support multiple renderers
+ add QComboBox to switch between renderers
2012-05-03 15:21:17 +01:00
Artem Pavlenko
a72ee4ba66 Merge branch 'master' into compositing
Conflicts:
	include/mapnik/image_compositing.hpp
	include/mapnik/util/conversions.hpp
	include/mapnik/value.hpp
	src/agg/agg_renderer.cpp
	src/agg/process_line_symbolizer.cpp
	src/agg/process_polygon_symbolizer.cpp
	src/png_reader.cpp
	src/svg_parser.cpp
	utils/svg2png/svg2png.cpp
2012-05-01 12:35:49 +01:00
Artem Pavlenko
ad16d5da33 work-around: QT moc compiler bug 2012-04-18 12:15:50 +01:00
Dane Springmeyer
3e3bdf6607 compile rundemo even during install 2012-04-04 15:18:28 -07:00
Dane Springmeyer
b5af9e3639 use default env compiler 2012-04-04 15:17:52 -07:00
Dane Springmeyer
d6c4e7f7fc fix encoding of rundemo.cpp (windows1 -> utf8) and correctly declare the encoding of the boundaries shapefile (fixing white background to be green) 2012-04-04 15:17:37 -07:00
Artem Pavlenko
d855568400 + use smooth=1.0 for water polygons 2012-03-14 17:06:23 +00:00
Artem Pavlenko
0c537ed9ee + add: #include mapnik/config_error.hpp 2012-03-14 14:55:14 +00:00
Artem Pavlenko
207ecfd597 remove camel-case names from layer.[h,c]pp 2012-03-12 15:39:59 +00:00
Hermann Kraus
52702d3a20 Rename filter_factory to expression. 2012-02-12 13:06:39 +01:00
Dane Springmeyer
7b1643f0e3 whitespace fixes 2012-02-01 17:38:18 -08:00
Artem Pavlenko
7f083bd974 output argb32 and rgb24 using pycairo 2012-01-18 10:39:10 -05:00
Artem Pavlenko
aa1976c824 update 'info' tool to work with new feature impl 2012-01-13 17:19:03 +00:00
Artem Pavlenko
0eb8e2d246 temp fix to compile FIXME 2012-01-12 10:04:49 +00:00
Artem Pavlenko
4d849e15d8 add 'tiff' output to python/c++ demos 2011-11-29 11:13:27 +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
Artem Pavlenko
38c0f0ca1b correct string encoding 2011-11-16 12:07:09 +00:00
Dane Springmeyer
4654312d00 code formatting 2011-11-13 19:54:32 -08:00
kunitoki
2e23eee24c - small comment fix in viewer 2011-10-23 16:09:12 +02:00
kunitoki
596757a269 - fix copyright to 2011 (script to do this will follow) 2011-10-23 15:04:25 +02:00
Artem Pavlenko
7468c95084 + use 'class' 2011-09-08 08:21:48 +00:00
Artem Pavlenko
6325868003 + fix missing header 2011-09-08 08:21:41 +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