Hi Chris,
Yes, I weren't getting the timeouts before.
Actually what I am trying to achieve is to draw the size and shape of some
features according to the zoom scale, meaning my features will be smaller
when zoomed out and larger when zoomed in within a certain range. So what I
did was to include the scale denominators within my <Rule> tags, as you can
see from the extract below:
<Rule>
<Name>History Zoomed In</Name>
<Title>History zoomed in</Title>
<MinScaleDenominator>0.1</MinScaleDenominator>
<MaxScaleDenominator>35000</MaxScaleDenominator>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>triangle</WellKnownName>
<Fill>
<CssParameter name="fill">#000000</CssParameter>
</Fill>
</Mark>
<Size>20.0</Size>
</Graphic>
</PointSymbolizer>
</Rule>
<Rule>
<Name>History Zoomed Out</Name>
<Title>History zoomed out</Title>
<MinScaleDenominator>35001</MinScaleDenominator>
<MaxScaleDenominator>700000</MaxScaleDenominator>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>star</WellKnownName>
<Fill>
<CssParameter name="fill">#000000</CssParameter>
</Fill>
</Mark>
<Size>10.0</Size>
</Graphic>
</PointSymbolizer>
</Rule>
Initially I have only one pair of <Rule> tags without the scale
denominators. Subsequently, I added in the second pair as I thought I might
need a rule for each zoom range that I want to define. This is where I
started encountering the timeouts. Is there anything which I might have done
wrong to result in the timeouts?
Thanks a lot.
Regards,
Lee Wai See
ST Electronics (Info-Software Systems) Pte Ltd
-----Original Message-----
From: geoserver-users-admin@lists.sourceforge.net
[mailto:geoserver-users-admin@lists.sourceforge.net] On Behalf Of Chris
Holmes
Sent: Wednesday, March 22, 2006 9:59 AM
To: Lee Wai See
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Operation timed out
Lee Wai See wrote:
Hi Chris,
One thing you can do is set
maxScaleDenominator values in the SLD, so that when zoomed out all
features are not drawn.
It is exactly after I added in <MinScaleDenominator> and
<MaxScaleDenominator> values that I have got the "Operation Timed Out".
Maybe it's too many features to render like what you suggested previously,
or could it be a result of me doing the denominator values wrongly?
You weren't getting the timeouts before? That's a bit odd. Perhaps the
denominator values are wrong, or maybe switched?
C
Regards,
Lee Wai See
ST Electronics (Info-Software Systems) Pte Ltd
-----Original Message-----
From: geoserver-users-admin@lists.sourceforge.net
[mailto:geoserver-users-admin@lists.sourceforge.net] On Behalf Of Chris
Holmes
Sent: Tuesday, March 21, 2006 10:59 PM
To: Lee Wai See
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Operation timed out
Lee Wai See wrote:
Hi Chris,
I suppose I get this only on large datasets.
Does it make any difference whether I use SLD-GET or SLD-POST for a same
dataset? Will SLD-POST resolve such issues, or it does not matter as the
amount of features to render would be the same?
Does not matter.
By the way, any idea where I can configure the timeout for FireFox?
I'm not sure, but I imagine that even if you configure it, it's still
going to take too long to render all the features, longer than is
reasonable for a user exploring the map. One thing you can do is set
maxScaleDenominator values in the SLD, so that when zoomed out all
features are not drawn.
best regards,
Chris
Thanks.
Regards,
Lee Wai See
ST Electronics (Info-Software Systems) Pte Ltd
-----Original Message-----
From: Chris Holmes [mailto:cholmes@anonymised.com]
Sent: Tuesday, March 21, 2006 6:21 AM
To: Lee Wai See
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Operation timed out
This can happen if you are requested a lot of features to be rendered,
and it just takes GeoServer a long time to respond. I think there may
be a way to up the timeout in firefox? Do you get this all the time, or
just on large datasets?
Lee Wai See wrote:
Hi,
What does it mean when I get an "Operation time out" in FireFox when I am
sending a GetMap request to GeoServer? There doesn't seem to have any
errors
logged. What could be the possible reasons causing this? Thank you.
Regards,
Lee Wai See
ST Electronics (Info-Software Systems) Pte Ltd
[This e-mail is confidential and may be priviledged. If you are not the
intended recipient, please kindly notify us immediately and delete the
message
from your system; please do not copy or use it for any purpose, nor
disclose
its contents to any other person. Thank you.]
---ST Electronics Group---
--
Chris Holmes
The Open Planning Project
thoughts at: http://cholmes.wordpress.com