Mathis Logemann
b3a34de3ce
some line endings
2020-11-25 12:17:31 +01:00
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
3990fbe1dd
add options to enable/disable utilitys
2020-11-21 12:30:34 +01:00
Mathis Logemann
e3789e219a
build utilities correctly
2020-11-21 12:24:34 +01:00
Mathis Logemann
6254f7c09e
more cmake
2020-11-21 11:34:45 +01:00
Mathis Logemann
d86a90a10a
more cmake
2020-11-20 21:15:27 +01:00
Mathis Logemann
e6f6d0f133
more cmake
2020-11-20 20:20:28 +01:00
Mathis Logemann
945e57286b
initial cmake scripts
2020-11-20 18:20:43 +01:00
Mathis Logemann
64054fade4
compiler independent warning ignore
...
Signed-off-by: Mathis Logemann <mathisloge@gmail.com>
2020-11-19 17:25:10 +01:00
Artem Pavlenko
0d693b151d
svg2png: use svgBBOX() to calculate output PNG dimensions when no valif width or height (or viewBox) is specified.
2020-02-05 15:06:11 +00:00
Mickey Rose
39202f5ac0
mapnik-config: fix substitution of environment variables
...
Simply calling str(val) doesn't work, because if the value happens to
be a SCons.Util.CLVar, it may contain not just plain strings, but also
tuples appended by SCons.Environment.ParseFlags.
For example "-isysroot /foo" becomes CLVar: [("-isysroot", "/foo")]
CLVar.__str__ supports only string elements, nothing else.
2020-01-30 15:15:14 +01:00
Artem Pavlenko
ed194a3c09
use std::round (ref: https://en.cppreference.com/w/cpp/numeric/math/round )
2020-01-23 15:48:16 +00:00
Artem Pavlenko
b6e9711add
Mark output image as premultiplied alpha
2020-01-22 10:49:10 +00:00
Artem Pavlenko
97e33ec8ca
Move 0.5 up/down rounding into rounding expression (via @lightmare 7f54e94748 (r369294323)
) (ref #4116 )
2020-01-22 10:45:15 +00:00
Artem Pavlenko
4276f01404
Init output image with transparent color and 255 alpha.
2020-01-21 15:12:18 +00:00
Artem Pavlenko
7f54e94748
Add support for scale-factor
parameter - useful for debugging SVG issues (ref #4112 )
2020-01-21 10:33:04 +00:00
Mickey Rose
f19bd188c2
2to3 last remnants of Python 2 syntax
2019-12-31 12:39:57 +01:00
Mickey Rose
d1697efe6d
install mapbox includes into subdir mapnik/deps/
2019-09-20 20:15:53 +02:00
Mickey Rose
2dcb31cd01
mapnik-config: minor cleanup
2019-09-16 23:30:01 +02:00
Mickey Rose
a3086c06a5
mapnik-config: improve mapnik-config.template.sh
...
- move template text from build.py into mapnik-config.template.sh,
so that the resulting script is simply that template file after
substitutions, instead of concatenation of two parts
- substitute using re.sub matching particular variables, instead of
format % dict; this allows putting default values in the template
2019-09-16 23:17:09 +02:00
Mickey Rose
c61d0d541d
Revert "Forgot to add prefix change to mapnik config to cairo as well"
...
This reverts commit a9712ed081
.
2019-09-15 12:30:37 +02:00
Mickey Rose
297126906d
Revert "Added an update to mapnik config so that it can provide relative path to libraries better in node mapnik."
...
This reverts commit a4aee2eb59
.
2019-09-15 12:30:28 +02:00
lightmare
a0ea7db1a7
Merge pull request #3984 from lightmare/pg-app-name
...
accept explicit parameter "application_name" in postgis and pgraster datasources
2019-08-12 12:52:34 +02:00
Artem Pavlenko
b617197aba
Merge branch 'master' of https://github.com/timmg/mapnik into timmg-master
2019-07-02 11:51:45 +01:00
Nikita Kniazev
c191e196c0
Replace MAPNIK_INIT_PRIORITY workaround
...
Spirit rules are just placeholders. They are cheap to construct and by doing
this static initialization order fiasco problem is effectively avoided.
Also had to fix name clash between geojson and generic json parsers.
2019-07-02 01:04:31 +03:00
Tim Gleason
cdcc97ac4b
Add command line options for map size to mapnik-render.
2019-05-05 12:02:47 -04:00
Mickey Rose
86e70a726d
postgres: add connect param "application_name"
2018-09-07 11:07:33 +02:00
Artem Pavlenko
65080e2a95
add support for BOOST_VERSION < 106700
2018-07-23 10:58:27 +01:00
Artem Pavlenko
664d3508de
remove reference_wrapper usage when injecting attributes into grammar ( >= boost_1_67) [skip-ci]
2018-04-18 12:53:17 +02:00
Artem Pavlenko
c12f11fe42
Merge pull request #3837 from mat007/fix-unicode-file-path-on-windows
...
Handle unicode file path on windows in command line tools
2018-02-26 12:23:11 +01:00
Artem Pavlenko
8876d13356
improve errors reporting in mapnik-index
2018-02-21 16:02:12 +01:00
Mathieu Champlon
22d0cb72fd
Handle unicode file path on windows
2018-01-20 22:24:05 +01:00
Michael Corey
e5e0b7674a
Replaced old-style exception for Python 3 compatibility.
2018-01-10 21:50:49 -08:00
Artem Pavlenko
c29f944726
Merge branch 'fix-group-symbolizer-crash' of https://github.com/lightmare/mapnik into lightmare-fix-group-symbolizer-crash
2018-01-05 12:16:41 +00:00
Artem Pavlenko
5732df452c
support SCons 3 (initial attempt)
2017-11-16 11:59:55 +01:00
Artem Pavlenko
b2f3fdb73b
Merge branch 'master' into bbox-index
2017-09-11 10:47:50 +01:00
Dane Springmeyer
8689048ba6
port #3759 to master
2017-09-10 08:19:04 -07:00
artemp
40c51c469c
shape.input/shapeindex - update to use bounding box per item *.index format.
2017-08-21 11:02:34 +01:00
artemp
6c19efa990
store box2d<float> directly in index_record to avoid conversions.
2017-08-18 16:59:58 +01:00
artemp
d81a7610d3
shapeindex - make index node 32-bytes (uint64_t, int32_t, int32_t)
2017-08-18 16:58:20 +01:00
artemp
541c1a35a0
mapnik-index - initialise quad-tree with bbox if present.
2017-08-18 13:55:04 +01:00
artemp
94ef6170d8
mapnik-index - add experimental --bbox,-b
option to limit index to provided bounding box e.g
...
```mapnik-index -b -5.51418,50.1944,-5.46256,50.2241 data.geojson```
2017-08-18 13:42:54 +01:00
artemp
2aa0ce9d74
New *.index format (bounding box per item) implementation
2017-08-18 11:16:44 +01:00
artemp
2426a44671
initial updated spatial-index implementation
2017-08-16 13:59:44 +01:00
artemp
add410e619
use arch independent types for serialised values
2017-08-15 11:14:11 +01:00
artemp
017d6cb540
cleanup
2017-06-29 09:41:16 +02:00
artemp
a6bc69359a
use SVG viewport as bounding box
2017-06-29 09:41:16 +02:00
artemp
0301399d40
svg2png - add short program options.
2017-06-29 09:41:16 +02:00
artemp
3f591af871
initial support for strict SVG parsing (WIP)
2017-06-29 09:41:16 +02:00