I'm currently using metabuffer on my tile cache engine, but I would
expect if the label buffering was done internally on the Mapnik end we
would spend less time rendering unneeded pixels and so it would be
quicker - although only slightly - which would add up when regenerating
all of the tiles for new map data.
Cheers,
Dave.
Dane Springmeyer wrote:
David,
On Apr 19, 2009, at 2:39 PM, David Leaver wrote:
Is this meant to work with
the WMS using XML styles?
I tried it soon before 0.6.0 and it didn't seem to work, although maybe
I was doing something wrong.
Good catch. No. The way the OGC Server works is to parse out the
layers and styles from the xml mapfile. Parsing out (and most notably,
carrying through and applying the 'buffer_size' for each GetMap
request) is not yet supported:
Also, the correct approach when using TileCache is to set the
TileCache metabuffer:
- Dane
Cheers,
Dave.
James McManus wrote:
Thanks!
On Thu, Apr 16, 2009 at 6:03 PM, Lennard
<[email protected]> wrote:
James McManus wrote:
Some
of my text are cut, when I use wrap_width. You can see this at:
[...]
Is
there a way I can prevent this?
Presuming you're on 0.6.0, change
<Map srs="+proj=lcc +datum=NAD83" bgcolor="steelblue">
to
<Map srs="+proj=lcc +datum=NAD83" bgcolor="steelblue"
buffer_size="128">
Or some other value instead of 128 that's large enough to make your
labels uncut. This will make mapnik fetch and render a larger bbox for
your tiles, and then discard this gutter area to create your tile.
--
Lennard
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users
--
David Leaver
SmarTrak Systems - "Always in Front"
phone: 07 857 0803
mobile: 021 876 684
email: [email protected]
fax: 07 857 0801
Innovation Park
Ruakura Rd
PO Box 7239
Hamilton East
Hamilton 3247
NEW ZEALAND
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users
--
David Leaver
SmarTrak Systems - "Always in Front"
phone: 07 857 0805
mobile: 021 876 684
email: [email protected]
fax: 07 857 0801
Innovation Park
Ruakura Rd
PO Box 7239
Hamilton East
Hamilton 3247
NEW ZEALAND
|
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users