Commit graph

6501 commits

Author SHA1 Message Date
artemp
50069cb094 + avoid unnecessary const_cast<> 2013-02-12 19:54:36 +00:00
artemp
b247082b78 + avoid unnecessary const_cast<> 2013-02-12 19:53:16 +00:00
artemp
56c0fb6982 + clipper based polygon clipper
(FIXME: avoid leaking memory)
2013-02-12 16:45:13 +00:00
artemp
8b757a1c7e + avoid creating two coincident vertices (needs more testing) 2013-02-12 15:51:40 +00:00
Dane Springmeyer
b50330c40e make apply_to_layer public 2013-02-11 17:27:06 -08:00
Dane Springmeyer
808b07ad6c fix error output if svg geometry conversion fails 2013-02-10 06:17:04 -08:00
Dane Springmeyer
3c59eba780 ensure agg headers are always installed 2013-02-08 17:22:17 -08:00
Dane Springmeyer
9520f58c5a throw if we cannot detect image extension instead of failing silently 2013-02-08 17:14:39 -08:00
Dane Springmeyer
19e52c0136 rename simplify-tolerance -> simplify to match clip/smooth params 2013-02-05 15:48:16 -08:00
artemp
ad39c9a16a + symbolizers: add hash impl 2013-02-05 16:53:20 +00:00
artemp
79f0f18f3c + provide both symbols and copy_symbols methods 2013-02-04 19:08:10 +00:00
artemp
16ce1f5bdd + implement Map::styles method returning StyleRange object
```
  import mapnik
  m = mapnik.Map(256,256)
  ...
  for style in m.styles:
      print style
  ```
2013-02-04 18:02:52 +00:00
artemp
69e2174524 + fix return value policy 2013-02-04 17:59:31 +00:00
artemp
14fecfd778 + cleanup style.. 2013-02-04 17:59:09 +00:00
artemp
f1c9862c64 Merge remote-tracking branch 'origin/master' 2013-02-04 08:45:23 +00:00
Dane Springmeyer
41772edbd7 support reading raster-colorizer properties off of raster symbolizer as well as in standalone child element 2013-02-01 16:32:48 -05:00
artemp
418af4c7a5 Merge remote-tracking branch 'origin/master' 2013-02-01 09:45:38 +00:00
Dane Springmeyer
4c66d6dda0 fix raster resampling bug - closes #1489 and fixes mapbox/tilemill#1888 2013-01-31 18:43:06 -05:00
Dane Springmeyer
523f00c34f add testcase for broken premultiplied alpha in resampling - refs #1489 and mapbox/tilemill#1888 2013-01-31 18:37:01 -05:00
artemp
6543ff10fd + add missing EOL 2013-01-31 13:50:45 +00:00
Dane Springmeyer
1ccd250980 iwyu 2013-01-30 12:32:20 -05:00
Dane Springmeyer
1356775299 scons: remove uneeded BOOST_SPIRIT_THREADSAFE flag - closes #1706 2013-01-29 17:23:10 -05:00
Dane Springmeyer
8c8df19cc7 benchmark: add tests for expression grammar parsing - refs #1706 2013-01-29 17:04:35 -05:00
Dane Springmeyer
92b0e43d87 remove mutex around pj_transform 2013-01-29 03:36:38 -05:00
Dane Springmeyer
751258749a Merge branch 'master' of github.com:mapnik/mapnik 2013-01-29 03:31:16 -05:00
Dane Springmeyer
409b35db6f benchmark: fix iterator advance 2013-01-29 03:30:22 -05:00
Dane Springmeyer
98e974e956 fix ifdef logic 2013-01-29 03:30:01 -05:00
Dane Springmeyer
f27312cb9a Merge pull request #1705 from mapnik/lazy-proj4
Lazy proj4 - make projections faster (closes #1703)
2013-01-29 00:12:08 -08:00
Dane Springmeyer
e504383a15 benchmark: enable more transformation tests since proj4 is no longer the bottleneck for key transformations - refs #1703 2013-01-29 03:06:44 -05:00
Dane Springmeyer
afa0c8ad27 configure time option to enable proj4 2013-01-29 02:21:27 -05:00
Dane Springmeyer
7ffde8d623 Merge branch 'master' of github.com:mapnik/mapnik into lazy-proj4 2013-01-29 02:19:00 -05:00
Dane Springmeyer
b1c1c86346 make PNG and TIFF support optional - closes #1704 2013-01-29 02:17:37 -05:00
Dane Springmeyer
cf11a27a22 remove hardcoded define to enable proj4 2013-01-29 02:03:04 -05:00
Dane Springmeyer
ba4eeabcd9 Tests: use a proper transform 2013-01-29 01:04:07 -05:00
Dane Springmeyer
ef4ee9efb2 fix tests given new, expected behavior with custom merc<->longlat transformations 2013-01-29 00:55:51 -05:00
Dane Springmeyer
6c911dc43c Merge branch 'master' of github.com:mapnik/mapnik into lazy-proj4 2013-01-28 15:27:18 -05:00
Dane Springmeyer
c9635ef5a3 add more tests for transform directions and lessen strictness to account for minor rounding 2013-01-28 15:27:00 -05:00
Dane Springmeyer
b1581a1942 fall through to using proj4 if we do not have a known transformation 2013-01-28 15:10:24 -05:00
Dane Springmeyer
515ff9ee63 clip before transformations to avoid nan and determine max latitude at compile time rather than hardcoding 85.0511 2013-01-28 15:09:24 -05:00
Dane Springmeyer
5720c0d476 Merge branch 'master' of github.com:mapnik/mapnik into lazy-proj4 2013-01-28 14:03:53 -05:00
Dane Springmeyer
be3cfd5159 fix more mercator proj4 strings 2013-01-28 14:03:32 -05:00
Dane Springmeyer
cda43b42ae throw if attempting to transform between projections that require proj4 support if proj4 is not compiled in 2013-01-28 14:03:07 -05:00
Dane Springmeyer
5b8f018bc6 Merge branch 'master' of github.com:mapnik/mapnik into lazy-proj4 2013-01-28 13:49:14 -05: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
Dane Springmeyer
3969ac246d make proj4 able to be fully disabled at compile time - refs #1703 2013-01-28 13:45:41 -05:00
Dane Springmeyer
76f202732b remove file only currently present in branch 2013-01-28 11:00:13 -05:00
Dane Springmeyer
e7f648eceb enable lazy initialization of proj4 in rendering pipeline - refs #1703 2013-01-28 01:54:35 -05:00
Dane Springmeyer
f8b1520d1a refactor projection interface: 1. cleanup custom lonlat<->merc code. 2. centralize proj4 strings into constants, 3. tweak projection benchmarking to allocate objects in loop so we can test that specifically - refs #1703 2013-01-28 01:47:32 -05:00
Dane Springmeyer
95b29f82b1 iwyu 2013-01-27 23:54:31 -05:00
Dane Springmeyer
e327880eb1 forward declare when possible 2013-01-27 23:53:37 -05:00