[Benchmarking] Comparing GeoServer and MapServer styling

Andrea Aime aaime at opengeo.org
Wed Aug 11 05:18:19 EDT 2010

I've just added the sample styling requests for GeoServer on the wiki:

Comparing the first two requests:,41,2.4,42&WIDTH=800&HEIGHT=600&srs=EPSG:4326&FORMAT=image/png,41,2.4,42&WIDTH=800&HEIGHT=600

I see that MapServer styles are not limiting the scales of the point
layers labels. Is this intended?

Comparing the labeled contours one:,41.407828508849,2.1178733654021,41.414271246429&width=800&height=600&srs=EPSG:4326&FORMAT=image/png,41.407828508849,2.1178733654021,41.414271246429&width=800&height=600

I first noticed that GeoServer was not using round joins, so modified GS
  style to follow suit.

The lines in GeoServer are thicker. My guess is that is due to Java2D
antialiasing more heavily the line widths compared to AGG.
Not sure what to do here, I can try to hand tune the GS widths until
I match MapServer outputs (thinner lines should correspond to less work
both drawing and compression wise, though I have no idea of how
significant the difference would be).

I also added a new request against the same region, but using a slightly
larger area:,41.405072728518,2.1207423969804,41.41702702676&width=800&height=600&srs=EPSG:4326&FORMAT=image/png,41.405072728518,2.1207423969804,41.41702702676&WIDTH=800&HEIGHT=600

Oddly it seems MS and GS are placing the point labels in different
spots. I can understand the line labels, there are a lot of heuristics
going on there, but the point labels are odd.
Will be interesting to see where the other servers place those

Ah, the larger request shows MapServer curved labels overlapping on the
top (above the "Sierra de Vilavana" label for example)
and some odd label positioning at the bottom (see that 150? barely


More information about the Benchmarking mailing list