Hi,

On Fri, Mar 27, 2009 at 2:13 PM, Josh Hevenor <[email protected]> wrote:
> Hi list,
> I've been working on an upgrade from 1.0 to 1.5 and have run into some
> trouble with my SLD's.
>
> My setup:  My WMC is generated from a server side script. I use the
> query string to pass filter values which an SLD uses to restrict the
> points shown. The result has worked wonderfully on FF3 and IE 7.  On IE6
> I don't get an error message but I don't get any points returned either.

I assume you are using WMS to render your layer? In this case my guess
would be that the url gets too long. IE has a limit of ~2000
characters for a get request.

> More background...When I first tried the upgrade I got errors that
> namespaces in my SLD weren't matched, etc (something I don't remember
> seeing in 2006 when I first wrote the application).  Here's an example
> layer from my WMC that works in FF3/IE7,  not IE6:
>
> <SLD>
>    <StyledLayerDescriptor  version="1.0.0">
>        <NamedLayer>
>            <Name>Icewatch</Name>
>            <UserStyle>
>                <FeatureTypeStyle>
>                    <Rule>
>                        <Filter>
>                              <PropertyIsEqualTo>
>                                 <PropertyName>visit_year</PropertyName>
>                                 <Literal>2004</Literal>
>                              </PropertyIsEqualTo>
>                        </Filter>
>                        <PointSymbolizer>
>                            <Graphic>
>                                <Mark>
>                                    <WellKnownName>snowflake</WellKnownName>
>                                    <Fill>
>                                        <CssParameter
> name="fill">#00FFFF</CssParameter>
>                                    </Fill>
>                                </Mark>
>
>                                <Size>20</Size>
>                            </Graphic>
>                        </PointSymbolizer>
>                    </Rule>
>                 </FeatureTypeStyle>
>            </UserStyle>
>        </NamedLayer>
>    </StyledLayerDescriptor>
> </SLD>
>
> I'm interested in hearing from the list if others have had the same
> problem. I'm also interested some best practices,  receiving links to
> helpful material, whatever you think is useful.

What WMS server are you using? Some WMS (GeoServer, probably also
Mapserver) support CQL filters, which will create shorter URLs. See
http://geoserver.org/display/GEOSDOC/WMS+vendor+parameters#WMSvendorparameters-CQLFILTER
for more details.

Regards,
Andreas.

------------------------------------------------------------------------------
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to