On Jun 12, 2010, at 12:55 PM, Matt Kenny wrote:

> Hello Everyone,
> 
> I'm working with mapnik to generate some tiles resulting from a pgRouting 
> analysis (http://mkgeomatics.com/apps/bus/bus.html). These buildings 
> currently are symbolized based on their proximity to bus stop locations.
> 
> I'd like to be able to display overlapping bus as offset lines, and have 
> found these series of patches: http://trac.mapnik.org/ticket/180
> 
> I'm currently running mapnik version 0.7.1, and am wondering if anyone has 
> tried applying these patches with that version? Any tips on exactly which 
> combination of the three available patches i should be applying?

Hi Matt,

I think you'll want the second one as the third only provides a patch for one 
specific file. If you need the better handling of spikes then do svn revert 
include/mapnik.ctrans.hpp then apply the third patch on top of the previously 
patched code.

I just tested and it seems to apply fine against Mapnik 0.7.1:

svn co http://svn.mapnik.org/tags/release-0.7.1
cd release-0.7.1
wget http://trac.mapnik.org/raw-attachment/ticket/180/offset-0.7.0.patch
patch -p0 < offset-0.7.0.patch
svn revert include/mapnik/ctrans.hpp
wget http://trac.mapnik.org/raw-attachment/ticket/180/sharp_spike_fix.patch
patch -p0 < sharp_spike_fix.patch

If you get this far and it builds fine, please do:

svn diff > mapnik0.7.1-offsets.patch

and re-post that to trac.

Thanks!

Dane



> 
> Thanks,
> Matt
> 
> -- 
> m a t t h e w k e n n y
> http://www.mkgeomatics.com
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to