Mathis Logemann
f432018bdb
added cache variable for lib/bin/archive output
2020-11-25 12:16:06 +01:00
Mathis Logemann
68528ffb28
cmake improvements
2020-11-22 22:01:33 +01:00
Mathis Logemann
9a132080b5
add proj required define
2020-11-21 12:50:11 +01:00
Mathis Logemann
e3789e219a
build utilities correctly
2020-11-21 12:24:34 +01:00
Eric
45168024a9
Update main.cpp
...
Qt::AA_EnableHighDpiScaling was added in Qt 5.6.
2019-06-04 10:47:31 -04:00
Artem Pavlenko
cdb301b357
enable high dpi scaling
2018-02-20 11:43:55 +01:00
Artem Pavlenko
5732df452c
support SCons 3 (initial attempt)
2017-11-16 11:59:55 +01:00
Jiri Drbalek
4952baf494
fix linking of viewer
2017-10-09 11:35:24 +00:00
artemp
333ef9fde1
update copyright year
2017-05-05 13:02:01 +02:00
artemp
bb19ff948e
remove QMAKE_MAC_SDK version requirement - just build with what is available
2017-03-16 12:16:54 +00:00
artemp
6e3dc91325
remove demo/python (moved to python-mapnik)
2017-01-05 16:51:59 +01: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
artemp
deb5102aac
convert shapefiles to use UTF-8 encoding in DBF files via @glarrain
...
( ref https://github.com/mapnik/mapnik/pull/3441 )
2016-06-02 16:08:31 +02:00
artemp
86d8b6ef5f
Merge branch 'patch-1' of https://github.com/glarrain/mapnik into glarrain-patch-1
2016-06-02 16:06:53 +02:00
artemp
d30143c60f
remove unsupported ESRI data files
2016-06-02 16:04:43 +02:00
Germán Larraín
a876070ccb
Fix markdown issue in C++ demo README
...
Commands were rendered incorrectly due to missing spaces, causing that `mapnik-config --prefix` was rendered without backticks, which are necessary.
2016-05-31 13:14:27 -03: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
Tom Hughes
7262b2a256
Correct FSF address in various files
2016-01-26 09:54:42 +00:00
artemp
b918047c4b
make python3 compatible
2015-11-03 10:48:06 +00:00
artemp
cd708859b6
python rundemo.py - make python3 compatible
2015-11-03 10:46:01 +00:00
Dane Springmeyer
a938ca58a9
consistently catch by const ref [skip ci]
2015-10-15 18:06:33 -07:00
artemp
faad6d8543
catch std::exception
2015-10-14 10:32:29 +01:00
artemp
3ec7310f98
re-enable (partially) features at point interface
2015-10-08 14:52:41 +01:00
artemp
58dad1bc30
viewer - fix building on OS X 10.11
2015-10-07 17:39:00 +01:00
artemp
df87dc5ed7
fix CAIRO=no build
2015-09-30 15:31:56 +01:00
artemp
8c6bf0eef6
update copyright notice
2015-06-16 12:49:16 +02:00
artemp
6d4a4139b3
is_switchable to control switchabilty of vertex_converters -- revive stroke_tag
...
fix vertex_converter in cairo/agg
2015-05-04 14:49:17 +02:00
artemp
470da20d53
fix remanining cAmEl case names
2015-05-04 12:49:11 +02:00
artemp
c5c5fc9e62
update viewer
2015-02-20 17:03:55 +01:00
artemp
7031099b76
Merge branch 'master' into mapnik-geometry
2015-02-20 17:03:46 +01:00
artemp
fec1d75e8e
add basic cairo support
2015-02-19 12:03:15 +01:00
artemp
2e4e1f71b8
adapt to use mapnik::new_geometry::geometry (shape.input only)
2015-02-18 13:21:16 +01:00
Dane Springmeyer
89a58c5879
Merge branch 'master' of github.com:mapnik/mapnik into release/image_data_any
2015-02-11 10:01:42 -08:00
artemp
5e6468f9bf
update viewer to use vertex_adapter
2015-02-09 10:01:31 +01: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
03440c0108
Merge branch 'master' into release/image_data_any
2015-01-14 15:36:03 -06:00
artemp
8063fa0f5e
viewer - use new image APIs and fix compilation
2015-01-13 11:46:20 +01:00
artemp
c2bba2b622
fix noncopyable usage
2015-01-13 11:45:07 +01: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
Dane Springmeyer
63ccb4c36c
remove try/except around 'import mapnik' which is more trouble than help
2015-01-08 10:32:24 -08:00
artemp
5361d21beb
move mapnik::noncopyable to mapnik::util::noncopyable where it belongs
2015-01-07 13:11:09 +01:00
artemp
18554ec0b1
remove static_visitor usage and rely on automatic result type deduction
...
(NOTE: expression_evaluator requires ```using result_type = T1;``` )
Conflicts:
src/image.cpp
2015-01-07 11:39:06 +01:00
artemp
38da080f82
make concrete image_data type names more expressive and explicit about color channels/depth:
...
image_data_32 -> image_data_rgba8
image_data_8 -> image_data_gray8
image_data_16 -> image_data_gray16
image_data_float32 -> image_data_gray32f
NOTE: currently image_data_gray16::pixel_type = std::int16_t (signed 16 bit int) to match GDAL
should we support unsigned types?
2014-12-04 11:02:42 +01: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
520bab27be
remove pycairo from python demo - closes #2533
2014-10-23 00:15:19 -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
artemp
7c5cdc8e2c
fix viewer compilation
2014-10-01 14:07:27 +01: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
1ac0ebdd83
rename coord_transform to transform_path_adapter and move implementation into separate header
2014-08-28 10:59:08 +01:00
artemp
ecfaec1027
rename ctrans.hpp to view_transform.hpp
2014-08-28 10:29:04 +01:00
artemp
de22d5900c
rename CoordTransform to view_transform to better reflect its purpose and be consistent
2014-08-28 10:17:15 +01:00
artemp
455168c6af
topojson - use bulk-loading packing algorithm for rtree creation
...
(http://www.boost.org/doc/libs/1_56_0/libs/geometry/doc/html/geometry/spatial_indexes/introduction.html )
use unique_ptr where appropriate
2014-08-21 11:14:33 +01:00
artemp
95cea92a4a
convert all boost::variant to util::variant
...
apart from topojson (TODO)
2014-08-12 13:40:45 +01:00
artemp
27ee642bbe
fix cairo_renderer usage in demo/viewer + revert aac69d0b34
2014-08-11 13:40:12 +01:00
Dane Springmeyer
868885a52d
update python rundemo.py - refs #2324
2014-07-30 16:51:12 -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
81f7e69088
coord_arrat<T> : add support for range based for loop interface
...
update wkb parser to use it ^^
2014-07-08 16:22:24 +01:00
artemp
fe215a684e
c++11 style : replace (almost) all typedef with type alias's
2014-07-07 18:23:15 +01:00
Dane Springmeyer
d0b357cab7
scons: support MAPNIK_NAME option to customize libmapnik name for custom packaging
2014-06-09 13:55:56 -07: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
artemp
7267874cdd
use mapnik::auto_cpu_timer
2013-12-02 10:14:11 +00:00
artemp
f454a45092
c++11 : use std::chrono
2013-12-02 09:52:08 +00:00
Dane Springmeyer
e9ca9c8790
symbolizer-expressions replayed against latest master
2013-11-27 22:50:15 -08:00
Dane Springmeyer
08fa9fd8ec
Merge branch '2.3.x' of github.com:mapnik/mapnik
...
Conflicts:
bindings/python/mapnik_building_symbolizer.cpp
bindings/python/mapnik_debug_symbolizer.cpp
bindings/python/mapnik_line_pattern_symbolizer.cpp
bindings/python/mapnik_line_symbolizer.cpp
bindings/python/mapnik_markers_symbolizer.cpp
bindings/python/mapnik_point_symbolizer.cpp
bindings/python/mapnik_polygon_symbolizer.cpp
bindings/python/mapnik_python.cpp
bindings/python/mapnik_raster_symbolizer.cpp
bindings/python/mapnik_shield_symbolizer.cpp
bindings/python/mapnik_symbolizer.cpp
2013-11-07 09:21:05 -08:00
Dane Springmeyer
d0619bc402
update copyright year for scons build files
2013-11-05 16:54:13 -08:00
Dane Springmeyer
0d58a8aee4
merge with 2.3.x
2013-10-28 14:45:52 -07: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
986f47e959
remove demo/test files which were moved to tests/python_tests in c84ddc825e
- refs #1460
2013-10-25 19:01:09 -07:00
Dane Springmeyer
710d558218
scons: simplify linkflags/ldflags setting / attempt to fix #2025
2013-10-22 16:35:46 -04:00
artemp
3edfc69c81
== c++11
...
use std::tuple with std::get<>
2013-10-11 12:36:04 +01:00
artemp
09ce29489e
use const std::unique_ptr<> instead of boost::scoped_ptr<>
2013-09-20 14:22:58 +01:00
artemp
62af2e6765
+ replace <boost/shared_ptr.hpp> with <memory>
2013-09-20 14:13:23 +01:00
artemp
b315eb2167
+ use std::shared_ptr and std::make_shared
2013-09-20 14:01:27 +01:00
Dane Springmeyer
9bd3dd0e21
fix viewer compile
2013-09-19 18:39: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
580ad4fb07
viewer: leverage mapnik-config --cxx for QMAKE_CXX and QMAKE_LINK
2013-09-18 12:32:08 -07:00
Dane Springmeyer
844baa8c5b
scons: when linking statically on linux always link -ldl
2013-07-30 02:51:07 -04:00
Dane Springmeyer
4f01eb05b1
scons: correctly propagate DEFINES across builds
2013-07-23 20:03:00 -04:00
Dane Springmeyer
0f8ecc2ed3
scons: static linking on linux needs -dl for executables
2013-07-14 15:17:32 -04:00
Dane Springmeyer
39eee919e5
link mapnik first (needed static linking on linux)
2013-07-14 13:00:53 -04:00
Dane Springmeyer
0365d3e081
start centralizing filesystem operations in mapnik::util::fs - refs #1177
2013-06-02 19:28:24 -07:00
Dane Springmeyer
db7e5919d2
Fix example of building vs files with gyp on windows
2013-05-24 14:29:11 -06:00
Dane Springmeyer
d1d688bb8a
fix typo
2013-05-24 13:26:52 -07:00
Dane Springmeyer
47e62804be
rundemo.gyp now working on windows
2013-05-23 00:46:55 -07:00
Dane Springmeyer
9ede00abf8
rundemo standalone build fixes
2013-05-23 00:15:18 -07:00