I have a set of layers which represent grids from street directories, running off a postGIS database. The grids are actually represented by polygons, not lines.
They are meant to display as WMS overlays with the grid reference centred in the grid. However, I find that the labels repeat, appearing up to four times in each polygon, but rather randomly, sometimes right on the line. According to the documentation I have read, labels should be centered on the centroid of polygons, and should not repeat by default. I have tried checking the data to see if there are other geometry types in the table that might be confusing the representation, but there doesn't seem to be anything. The only unusual thing is that the polygons are actually stored as multipolygons. This is presumably because the data came originally from MapInfo TAB files, which only supports the "MULTI" versions of polygons and linestrings. So each row has geometry like: MULTIPOLYGON(((16390211.3882335 -5362787.10375356,16390897.8955332 -5362785.11420676,16390895.8917824 -5362096.14445555,16390209.3844827 -5362098.13385489,16390211.3882335 -5362787.10375356))). All the same, I don't think this should affect the labels. Can anyone explain why this is happening? Rohan Parkes Melbourne Australia
------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
