[Geoserver-users] very thin 1 pixel width

Hi
I’ve read in the FOSS4G2008 GeoServer MapServer performance comparision that GeoServer’s 1 pixel width is too thin and that it will be fixed in 1.7.1. But I don’t see a difference to older GS? Will it be fixed with another version?

regards
Stefan

Mit freundlichem Gruss
Stefan Ziegler
Leiter Aufsicht

Kanton Solothurn
Bau- und Justizdepartement
Amt für Geoinformation
Rötistrasse 4
4501 Solothurn
Telefon 032 627 75 96
Telefax 032 627 75 98
stefan.ziegler@anonymised.com
http://www.so.ch

Ziegler Stefan ha scritto:

Hi
I've read in the FOSS4G2008 GeoServer MapServer performance comparision that GeoServer's 1 pixel width is too thin and that it will be fixed in 1.7.1. But I don't see a difference to older GS? Will it be fixed with another version?

Ah yeah, very nasty issue.
I was thinking to actually fix it in GeoServer 2.0.
The main problem I'm facing with this change is that it will invalidate
all existing SLD that do not specify a line width or those that
do specify a line width less than 1.5 pixels, since the line will
be drawn almost twice as thick when the patch is made.
So as you can see I'm facing a backwards compatibility issue.

The same goes with the other issue we've found during that test,
that is, fonts sized in points instead of pixels. If I find a way
to get fonts sized in pixels, all font sizes will be invalidate
as well, because points are smaller than pixels.

Another option I could look into would be to provide, for the
moment, an option to setup in web.xml, something like
ENABLE_NATURAL_STROKE_SIZE=true and ENABLE_FONT_SIZE_PIXELS=true...

Suggestions?
Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hi, when i want thicker line then 1px but thinner then 2px, i just add
another symbolizer with width of 2px, but i set opacity to 20-30%...it
comes out pretty good.

hope it helps,
ivan

On Wed, Jan 14, 2009 at 2:45 PM, Andrea Aime <aaime@anonymised.com> wrote:

Ziegler Stefan ha scritto:

Hi
I've read in the FOSS4G2008 GeoServer MapServer performance comparision
that GeoServer's 1 pixel width is too thin and that it will be fixed in
1.7.1. But I don't see a difference to older GS? Will it be fixed with
another version?

Ah yeah, very nasty issue.
I was thinking to actually fix it in GeoServer 2.0.
The main problem I'm facing with this change is that it will invalidate
all existing SLD that do not specify a line width or those that
do specify a line width less than 1.5 pixels, since the line will
be drawn almost twice as thick when the patch is made.
So as you can see I'm facing a backwards compatibility issue.

The same goes with the other issue we've found during that test,
that is, fonts sized in points instead of pixels. If I find a way
to get fonts sized in pixels, all font sizes will be invalidate
as well, because points are smaller than pixels.

Another option I could look into would be to provide, for the
moment, an option to setup in web.xml, something like
ENABLE_NATURAL_STROKE_SIZE=true and ENABLE_FONT_SIZE_PIXELS=true...

Suggestions?
Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users