Artem Pavlenko
a65d65a5ab
Update .clang-format to BraceWrapping: BeforeCatch : true
...
run `pre-commit`
2022-11-10 15:57:38 +00:00
Mathis Logemann
4fbaa032f0
format dir demo
2022-01-27 00:12:13 +01:00
Artem Pavlenko
bd961c4da2
update copyright year [skip ci]
2021-01-05 14:39:07 +00:00
artemp
333ef9fde1
update copyright year
2017-05-05 13:02:01 +02:00
artemp
5745bedbd9
update copyright year to 2016
2016-12-20 17:57:22 +01:00
artemp
7c45556138
update font path
2016-08-16 16:00:24 +01:00
Germán Larraín
503d4eaea1
fix shapefiles encoding in demo for C++
...
Mapnik builds without `boost_regex_icu` (see #3440 ) and the C++ demo does not run:
```
/mapnik# demo/c++/rundemo `mapnik-config --prefix`
running demo ...
### std::exception: could not create converter for latin1
```
2016-05-31 12:40:27 -03:00
Frederik Ramm
8af8737272
Fix DejaVu font directory
...
Fonts in Mapnik tree are now 2.35 not 2.34
2016-05-25 10:12:53 +02:00
artemp
8c6bf0eef6
update copyright notice
2015-06-16 12:49:16 +02:00
Blake Thompson
22a384ef33
Moved image_data_rgba8 to image_rgba8. Ref #2633
2015-01-21 20:31:02 -06:00
Blake Thompson
93f835177b
Removed all the code for the previous type of image and image_32. Ref #2633
2015-01-21 17:57:16 -06:00
Dane Springmeyer
4856886284
fix compile of rundemo.cpp
2015-01-20 19:37:31 -08:00
Blake Thompson
badb0c9a97
This is a complete removal of code that utilizes image_32 in the library. It is a sweeping change that does some of the following:
...
* Changes all agg_renderers to use a image_data_any variant (only image_data_rgba8 is implemented currently)
* Changes the marker and marker_cache to use image_data_any images
* Changes the symbolizers so that they must be aware of the source data type they are attempting to render and the render type that is expected to be rendered into.
* Moves many utilities into image_utils, that were previously in image_32.
The kicker is that this still isn't working perfectly yet, but I am commiting so I don't have tears in case everything is lost on my computer.
Ref #2633
2015-01-20 18:30:10 -06:00
Blake Thompson
42ee4ec90d
Moved cairo out of the image_util.*pp files and now have created a cairo_io.*pp files.
...
Ref #2622
2015-01-09 16:49:31 -05:00
Dane Springmeyer
fbecd5ff33
always pass image_data to save_to_string/file
2015-01-08 13:54:43 -08:00
Dane Springmeyer
acb3bb0821
trim down image_32 - refs #2627
2015-01-08 13:16:32 -08:00
artemp
333965b588
update copyright year
2014-11-20 15:25:50 +01:00
artemp
f686d3de1b
update dejavu-fonts-ttf path (v 2.34)
2014-10-23 11:35:20 +01:00
Dane Springmeyer
4621fd6445
fix srs in c++ demo
2014-10-23 00:15:33 -07:00
Dane Springmeyer
aae4a20ec9
fix various -Wunused-parameter warnings
2014-10-21 20:23:17 -07:00
Dane Springmeyer
c26c60e48e
remove set_old_style_expression
2014-10-09 20:51:43 -07:00
Dane Springmeyer
822d3a5bce
break apart symbolizer.hpp + fwd declars + svg output grammar impl
2014-09-30 12:50:08 -07:00
Dane Springmeyer
492e084714
add copy ctor to rule: avoids last copy of syms in load_map - closes #1293
2014-09-04 22:03:54 -07:00
artemp
8502019310
more format_properties expessions
2014-07-23 18:09:18 +01:00
artemp
e67f046a0e
start re-factoring char_property (TODO: change name!)
2014-07-23 16:19:14 +01:00
artemp
4afd98a34a
text_properties : store 'orientation' parameter in symbolizer_base::value_type
2014-07-11 14:43:56 +01:00
artemp
b6bab7d0bb
move cairo renderer into its own subdir
2014-06-06 13:38:00 +01:00
Dane Springmeyer
8c1e69fdb8
static grammars
...
- construct on first use
- allows for faster map loading and unloading of xml loading tree
- modified expression and transform grammars to not take args/not crash
- simplifies interfaces, allows fast parsing from python without passing grammar instance
2014-04-30 00:11:27 -07:00
Dane Springmeyer
ef837eb92f
c++11 optimizations for faster map loading
2014-04-28 17:10:00 -07:00
Dane Springmeyer
e9ca9c8790
symbolizer-expressions replayed against latest master
2013-11-27 22:50:15 -08:00
Dane Springmeyer
86dfa0778a
fix cairo reference counting and add more cairo context tests - closes #2031
2013-10-28 12:46:44 -07:00
Dane Springmeyer
9f5b7f3fb0
improve the c++ and python demo apps to conditionally output image formats
2013-09-18 14:32:43 -07:00
Dane Springmeyer
ca1171aa80
no need to cache config error specifically
2013-05-09 18:12:49 -07:00
Dane Springmeyer
47ab9913ee
make consistent the proj4 string used for spherical mercator across tests and docs
2013-01-28 13:48:13 -05:00
artemp
9659349d8a
+ c++ demo: use the same map/layer srs settings as in Python demo
2013-01-11 14:50:49 +00:00
artemp
4a07a62bfd
+ use proper mapnik installation path aka prefix
...
```./rundemo /usr/local```
2013-01-10 20:48:56 +00:00
Dane Springmeyer
f135bd325e
fix compile of rundemo - now using new cairo internal interface that drops cairomm depedency
2013-01-09 12:48:05 -08:00
Dane Springmeyer
3378166b64
iwyu
2013-01-03 18:58:44 -08:00
artemp
967d6110bf
+ singleton: return ref from instance() method
2012-09-07 16:23:03 +01: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
b4f3d6da11
include what you use
2012-07-24 18:35:41 -07:00
Artem Pavlenko
aad7c5e384
+ implement compositing for text
...
+ refactor image_32
2012-05-09 12:39:23 +01: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
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
40da9e5618
add 'tiff' output to python/c++ demos
2011-11-29 11:13:27 +00:00
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
2e3fd34f13
correct string encoding
2011-11-16 12:07:09 +00:00
Dane Springmeyer
39d199aa49
code formatting
2011-11-13 19:54:32 -08:00
kunitoki
f1fb0c1939
- fix copyright to 2011 (script to do this will follow)
2011-10-23 15:04:25 +02:00