Hello,
I have a point layer loading in png files for different zoom levels, and
text that labels these points separately for different zoom levels as well.
It looks great most of the time, but labels get chopped off once in a while
when using tilecache to generate tiled maps. It's generally when the label
should show up in a tile different than the point (right underneath for
example). I read somewhere (trying to re-find link) that shields may resolve
the issue.
How do I get started? I'm using cascadenik to stylize my points/labels.
Here's what I have as an example:
.systems[scale-denominator>=1][scale-denominator<=550000][security='20'] {
point-file:
url(/mapnik_0_6_1/example_code/eveMap/map3/images/sys10-18px.png);
point-allow-overlap: true;
}
.labels[scale-denominator>=1][scale-denominator<=550000] name {
text-face-name: "DejaVu Sans Bold";
text-size: 8;
text-fill: #fff;
text-halo-fill: #00264C;
text-halo-radius: 1;
text-placement: point;
text-wrap-width: 50;
text-avoid-edges: true;
text-dy: 10;
text-label-position-tolerance: 100;
}
Note: "systems" and "labels" read from the same shapefile.
Thank you,
Chris
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users