Hermann Kraus
|
5578bdb6f9
|
Remove has_dimensions and dimensions from text_placement_info.
This functionality is better provided by placement_finder.additional_boxes.
|
2012-03-04 16:38:40 +01:00 |
|
Hermann Kraus
|
46272d836b
|
Move more variables from text_placements_info to placement_finder.
Refs #1048.
|
2012-03-04 13:32:10 +01:00 |
|
Hermann Kraus
|
4638b28c36
|
Store pointer to char_info in text_path instead of pointer to char_properties.
|
2012-03-04 03:53:39 +01:00 |
|
Hermann Kraus
|
b4eddaab24
|
Move variables from text_placements_info to placement_finder.
Reuse placement_finder objects.
Pass feature to placement_finder.
Refs #1048.
|
2012-03-04 01:49:01 +01:00 |
|
Hermann Kraus
|
36918e4a8b
|
Remove warning. Empty expressions might exist in real applications without being an error.
|
2012-03-03 17:41:43 +01:00 |
|
Hermann Kraus
|
f8c784b0a6
|
Correctly center text.
|
2012-03-03 13:53:08 +01:00 |
|
Dane Springmeyer
|
7163806cda
|
c++ style
|
2012-03-02 18:51:19 -08:00 |
|
Hermann Kraus
|
2bf9d9dbdf
|
Fix handling of empty XML nodes.
Closes #1106.
|
2012-03-03 01:12:23 +01:00 |
|
Hermann Kraus
|
cc547385e6
|
Avoid adding the same text to detector twice.
|
2012-03-02 12:39:38 +01:00 |
|
Artem Pavlenko
|
726724b3c7
|
pass by ref
move conversions impl into .cpp
|
2012-03-01 18:36:13 +00:00 |
|
Hermann Kraus
|
9e397ae55e
|
Add iterator increment which I forgot in 96d8dfb356 .
|
2012-02-28 02:05:44 +01:00 |
|
Hermann Kraus
|
df4eae2f71
|
Merge branch 'master' of github.com:mapnik/mapnik
Conflicts:
src/symbolizer_helpers.cpp
|
2012-02-28 01:48:26 +01:00 |
|
Hermann Kraus
|
66ef7a450a
|
Add marker to collision detector.
Refs #1106.
|
2012-02-28 01:47:24 +01:00 |
|
Dane Springmeyer
|
82bd78d9a5
|
use boost::make_shared instead of new as per mapnik coding conventions
|
2012-02-27 16:39:34 -08:00 |
|
Dane Springmeyer
|
a5d7239cfc
|
fix minor spelling in code comments
|
2012-02-27 16:15:36 -08:00 |
|
Hermann Kraus
|
96d8dfb356
|
Improve code a bit.
size() can be O(n) but empty() is always O(1).
|
2012-02-28 00:52:02 +01:00 |
|
Dane Springmeyer
|
1ed193728d
|
add missing update_detector() - refs #1106
|
2012-02-27 15:15:27 -08:00 |
|
Dane Springmeyer
|
2f134657b4
|
speed up xml loading by avoiding repeated grammar creation - refs #1028 (TODO - still need to handle text/shield expressions)
|
2012-02-24 16:34:39 -08:00 |
|
Hermann Kraus
|
1906cddf04
|
Improve error messages.
|
2012-02-25 00:57:05 +01:00 |
|
Dane Springmeyer
|
a917b7b410
|
fix the ability of external libraries to link mapnik on windows
|
2012-02-24 11:32:16 -08:00 |
|
Artem Pavlenko
|
917e684bdd
|
dummy decrement() and advance(p) to compile with vc10 (untested)
|
2012-02-24 18:07:13 +00:00 |
|
Hermann Kraus
|
99a3c9fec9
|
Remove multiple consecutive empty <xmltext> nodes.
|
2012-02-24 12:37:23 +01:00 |
|
Dane Springmeyer
|
6db1ba176b
|
fix compile on windows by including round() from global.hpp
|
2012-02-23 11:46:53 -08:00 |
|
Hermann Kraus
|
2955983264
|
Fix #1095.
|
2012-02-23 18:10:50 +01:00 |
|
Dane Springmeyer
|
56aeae1b52
|
fix broken python linking after 6a0ce99e22
|
2012-02-22 16:45:02 -08:00 |
|
Dane Springmeyer
|
4a192c319b
|
ensure mean_sort_cmp adheres to strict weak ordering requirement - more properly fixes #1087
|
2012-02-22 14:54:10 -08:00 |
|
Dane Springmeyer
|
f17031084c
|
use new conversions header - refs #1055
|
2012-02-21 10:59:11 -08:00 |
|
Dane Springmeyer
|
8568c62e8e
|
Merge branch 'master' of github.com:mapnik/mapnik
|
2012-02-20 22:54:09 -08:00 |
|
Dane Springmeyer
|
9213dd5426
|
fixup multi-symbolizer processing function
|
2012-02-20 22:53:54 -08:00 |
|
Dane Springmeyer
|
6a0ce99e22
|
maintain compile with boost <= 1.47
|
2012-02-20 17:09:14 -08:00 |
|
Hermann Kraus
|
a05faceb11
|
Fix ShieldSymbolizer line placement.
Refs #1078, https://github.com/MapQuest/MapQuest-Mapnik-Style/issues/8.
|
2012-02-21 00:06:54 +01:00 |
|
Hermann Kraus
|
46f80cc6aa
|
Use double instead of int and avoid rounding when possible.
Closes #1078.
|
2012-02-20 19:32:34 +01:00 |
|
Artem Pavlenko
|
6f5d16bfe3
|
+ make feature_collection_parser a template so we can
instantiate with different iterator types
e.g std::string::const_iterator and
boost::spirit::multi_pass<std::istreambuf_iterator<char> >
|
2012-02-20 16:23:31 +00:00 |
|
Artem Pavlenko
|
6e498ad062
|
+ update to use new names
+ add geometry_generator
|
2012-02-20 12:03:56 +00:00 |
|
Artem Pavlenko
|
3953a94636
|
+ geojson generator interface
|
2012-02-20 10:53:58 +00:00 |
|
Hermann Kraus
|
2ea6ab216c
|
Fix text height calculation.
Closes #1078.
|
2012-02-18 16:43:05 +01:00 |
|
Hermann Kraus
|
6efdb3969e
|
Handle text position differently.
Should fix part of the ShieldSymbolizer problems.
Refs #1078.
|
2012-02-18 14:39:13 +01:00 |
|
Hermann Kraus
|
2843ff3da8
|
Fix placement_finder.hpp includes.
|
2012-02-18 14:03:21 +01:00 |
|
Hermann Kraus
|
bb3ad18c95
|
Rename starting_{x,y} to center to reflect actual meaning.
|
2012-02-18 13:07:23 +01:00 |
|
Hermann Kraus
|
980cdd9e92
|
Use text_placements registry.
|
2012-02-18 00:39:14 +01:00 |
|
Hermann Kraus
|
6db956ca83
|
Split file.
|
2012-02-17 20:53:00 +01:00 |
|
Hermann Kraus
|
481e172b8e
|
Add placement registry.
|
2012-02-17 20:15:16 +01:00 |
|
Hermann Kraus
|
2c6502e791
|
Merge branch 'master' of github.com:mapnik/mapnik
|
2012-02-17 19:52:38 +01:00 |
|
Hermann Kraus
|
7c98b8c9c0
|
Add XML name registry.
Allows users to add new types to XML styles.
|
2012-02-17 19:45:13 +01:00 |
|
Hermann Kraus
|
f06bda1c1c
|
Split file.
|
2012-02-17 15:50:24 +01:00 |
|
Artem Pavlenko
|
b5bc17304c
|
Merge remote-tracking branch 'origin/master'
|
2012-02-17 10:48:49 +00:00 |
|
Artem Pavlenko
|
c6a091937f
|
+ add get_optional to mapnik::feature_impl
returns -> boost::optional<mapnik::value const&>
+ use get_optional in feature_kv_iterator to avoid
throwing exceptions
|
2012-02-17 10:46:29 +00:00 |
|
Hermann Kraus
|
7b22d69932
|
Revert "+ fix shield/text positioning - we still need to floor both text and shield"
floor is removed from position calculation now, resulting in better marker and text matching.
Refs #1078.
This reverts commit 009a1e45a7 .
|
2012-02-17 00:59:20 +01:00 |
|
Hermann Kraus
|
465a7621bc
|
Merge pull request #1091 from kkaefer/character-spacing
Support character-spacing along a line.
Closes #721.
|
2012-02-16 15:08:56 -08:00 |
|
Hermann Kraus
|
44beaf1bdf
|
Make ShieldSymbolizer variables doubles.
Refs #1078.
|
2012-02-17 00:03:46 +01:00 |
|