Commit graph

9156 commits

Author SHA1 Message Date
artemp
ff8819efc3 + update clipper to latest (5.1.0) 2013-02-19 09:03:25 +00:00
artemp
f3e5c57e4c + add polgon close converter 2013-02-18 17:01:38 +00:00
Dane Springmeyer
54ed804e93 Merge branch 'master' of github.com:mapnik/mapnik 2013-02-13 16:39:10 -08:00
Dane Springmeyer
987e6b1262 fix unsigned/signed comparison gcc warnings 2013-02-13 16:38:56 -08:00
artemp
79ba830347 + test original (un-moded) clipper 2013-02-13 10:23:29 +00:00
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