Artem Pavlenko
9655491b7f
+ remove debug print
2012-06-14 15:11:46 +01:00
Artem Pavlenko
2ac6384992
+ use rtree index
2012-06-14 12:16:25 +01:00
Artem Pavlenko
de7d3383d1
+ make feature's optional: -(feature % lit(','))
2012-06-14 11:49:47 +01:00
Artem Pavlenko
f35584c8ab
+ geojson input plugin (thanks, @tmcw!)
2012-06-13 13:37:29 +01:00
Artem Pavlenko
b8f375a0cd
Merge branch 'metawriter-renderer' of github.com:mapnik/mapnik into metawriter-renderer
2012-06-12 14:02:53 +01:00
Artem Pavlenko
9125ff33ba
+ remove debug printouts
2012-06-12 14:01:14 +01:00
Artem Pavlenko
5f30f85357
+ fix GeoJSON output in metawriter_json
...
(FIXME: output proper geometry types - don't shortcut to Multi***)
2012-06-12 14:01:14 +01:00
Artem Pavlenko
a3c4813d73
+ remove unused impl
2012-06-12 14:01:13 +01:00
Artem Pavlenko
203e0fd392
+ allow empty arrays in "coordinates" property
2012-06-12 14:01:13 +01:00
Artem Pavlenko
49b49362a8
+ impl process for point_symbolizer
2012-06-12 14:01:13 +01:00
Artem Pavlenko
4c45d3c478
+ add_box - fix Polygon json output
2012-06-12 14:01:13 +01:00
Artem Pavlenko
a942388bd1
+ cleanup
2012-06-12 14:01:13 +01:00
Artem Pavlenko
d3b86bbbc6
+ impl metawriter_renderer - initial stub
2012-06-12 14:01:13 +01:00
Artem Pavlenko
b1eacdc527
+ remove debug printouts
2012-06-12 13:58:27 +01:00
Artem Pavlenko
24dc1f60e2
+ fix GeoJSON output in metawriter_json
...
(FIXME: output proper geometry types - don't shortcut to Multi***)
2012-06-12 13:56:39 +01:00
Artem Pavlenko
e22b422455
+ remove unused impl
2012-06-12 13:56:13 +01:00
Artem Pavlenko
1f15012c3c
+ allow empty arrays in "coordinates" property
2012-06-12 13:55:15 +01:00
Artem Pavlenko
bca033e358
+ impl process for point_symbolizer
2012-06-11 15:26:06 +01:00
Artem Pavlenko
9c98ced7ad
+ add_box - fix Polygon json output
2012-06-11 15:24:27 +01:00
Artem Pavlenko
6f14cc4b63
+ cleanup
2012-06-11 12:59:09 +01:00
Artem Pavlenko
b37212d9a0
+ impl metawriter_renderer - initial stub
2012-06-08 13:24:15 +01:00
Artem Pavlenko
51650b0ea6
Merge pull request #1246 from mirecta/transform_expr
...
set transform expression from python
2012-06-07 10:14:37 -07:00
Mickey Rose
2a7634693f
add python test: set ShieldSymbolizer's transform
2012-06-07 17:12:38 +02:00
Mickey Rose
1e3c48afb1
split parse_transform.hpp, set dynamic transform expression from python
2012-06-07 17:06:45 +02:00
Artem Pavlenko
03e6f9d023
Merge pull request #1245 from simonsonc/png-exceptions
...
Catch and throw PNG exceptions - fixes #1213
2012-06-07 04:00:40 -07:00
Artem Pavlenko
013f0aa62f
+ add templated ctor and avoid including agg_trans_affine.h
2012-06-07 11:51:23 +01:00
Artem Pavlenko
6a4c207254
+ make it compile against latyest master (FIXME)
2012-06-07 11:46:50 +01:00
Artem Pavlenko
11c34b1599
Merge branch 'transform_expr' of https://github.com/mirecta/mapnik
2012-06-07 10:20:05 +01:00
Dane Springmeyer
f374d01896
only mark deprecated api names for removal at major versions to ensure we are semver compatible - thanks @migurski - closes #1129
2012-06-06 17:32:16 -07:00
Dane Springmeyer
957c40f763
move to int32 for grid rendering buffer - closes #1196
2012-06-06 16:36:38 -07:00
Dane Springmeyer
c29c18e8df
expose a get_pixel method on mapnik::grid (for testing purposes)
2012-06-06 16:34:45 -07:00
Dane Springmeyer
76211243a4
remove now unused blending modes as they have been replaced with AGG compositing modes - refs #1206
2012-06-06 16:16:30 -07:00
Carl Simonson
cd7ad3e15e
Catch and throw PNG exceptions - fixes #1213
...
The png library uses setjmp/longjmp to throw exceptions when reading. If this
is not set up, the png library calls abort(). This change handles the errors
and throws a C++ exception instead.
This issue was found by testing images from pngsuite at
http://www.schaik.com/pngsuite/ . These images are included and a unit test was
added to test both images that should be successful and images that should
throw an exception.
2012-06-06 17:52:41 -05:00
Mickey Rose
bd9609c370
new feature: transform expressions are now dynamic
...
(cherry picked from commit 173c402b5c142310087246b0ea54dbec54edcac8)
Conflicts:
include/mapnik/vertex_converters.hpp
src/agg/process_markers_symbolizer.cpp
src/agg/process_point_symbolizer.cpp
src/agg/process_polygon_pattern_symbolizer.cpp
src/load_map.cpp
2012-06-06 17:34:26 +02:00
Mickey Rose
dad0bdacfc
add value_null operators, improve is_null, move mapnik::value definition into separate namespace
...
(cherry picked from commit 653bca6bea1abb2e45c66e76fd5e4fe7dc10a91a)
2012-06-06 17:34:17 +02:00
Mickey Rose
d346c57e17
agg::trans_affine: add static const identity
, make mul/div operators const
...
(cherry picked from commit db47a6c9bad5828fe62b5c1c05661118e23ad218)
2012-06-06 17:34:08 +02:00
Mickey Rose
46c2d1c710
add operators for computing the envelope of a transformed box2d
...
(cherry picked from commit 9ad342cbed150948561c08e98957bc014dedc7f3)
2012-06-06 17:34:02 +02:00
Dane Springmeyer
291bc9b8ba
explicitly include projection header
2012-06-04 17:16:44 -07:00
Dane Springmeyer
eb779b1580
only link libjpeg if we are building with jpeg support
2012-06-04 15:23:08 -07:00
Dane Springmeyer
11e81fdb03
finish exposing markers symbolizer in python - closes #612
2012-06-04 13:42:51 -07:00
Dane Springmeyer
f3073f3693
agg/grid renderers - match cairo by using buffered detector dimensions for placement_finder collision tests
2012-06-04 13:41:35 -07:00
Dane Springmeyer
c8c2d98c0e
avoid compiler warnings with msvc
2012-06-04 11:36:27 -07:00
Dane Springmeyer
857a6950f7
fix warning message for pending features for markers
2012-06-04 11:11:29 -07:00
Artem Pavlenko
024ebfdfe3
+ better not to use errno (via perror) for std::iostreams
...
(it works with gcc and friends but non-standard)
2012-06-01 12:19:42 +01:00
Artem Pavlenko
edd5148aa4
Merge pull request #1239 from simonsonc/viewer-wheel-event
...
viewer: add mouse wheel zooming
2012-06-01 01:10:12 -07: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
Dane Springmeyer
9f83f84983
Merge pull request #1238 from simonsonc/viewer-exceptions
...
viewer: show more exception messages
2012-05-31 16:38:14 -07: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
404ddf329d
Revert "+ avoid copying"
...
This reverts commit de71db7d38
.
Conflicts:
include/mapnik/vertex_converters.hpp
2012-05-31 15:55:20 +01:00
Artem Pavlenko
bf7500a8b0
Merge pull request #1234 from mirecta/unary_expr
...
unary minus operator on mapnik::value and in expression_grammar
2012-05-31 05:51:07 -07:00