I set Rules to Ortho-photo layer as
<MinScaleDenominator>1</MinScaleDenominator>
<MaxScaleDenominator>10000</MaxScaleDenominator>
so that the ortho will show as scale > 1:10000, but based on my testig, it
will show as scale > 1:8000, this happened for mapBuilder 1.5 rc1 and the
newest trunk version which support Fractional Zoom.
Here is the XML for the Ortho layer in the map content document.
<Layer queryable="0" hidden="1">
<Server service="OGC:WMS" version="1.1.1" title="Local">
<OnlineResource xlink:type="simple"
xlink:href="http://GISwebservices.massgis.state.ma.us/geoserver/wms" />
</Server>
<Name>massgis:GISDATA.IMG_COQ2005</Name>
<Title>Orthophoto Image</Title>
<SRS>EPSG:26986</SRS>
<FormatList>
<Format current="1">image/gif</Format>
</FormatList>
<StyleList>
<Style current="1">
<SLD>
<StyledLayerDescriptor version="1.0.0">
<NamedLayer>
<Name>massgis:GISDATA.IMG_COQ2005</Name>
<UserStyle>
<FeatureTypeStyle>
<Rule>
<MinScaleDenominator>1</MinScaleDenominator>
<MaxScaleDenominator>10000</MaxScaleDenominator>
<RasterSymbolizer>
<Opacity>1.0</Opacity>
<ChannelSelection>
<RedChannel>
<SourceChannelName>1</SourceChannelName>
</RedChannel>
<GreenChannel>
<SourceChannelName>2</SourceChannelName>
</GreenChannel>
<BlueChannel>
<SourceChannelName>3</SourceChannelName>
</BlueChannel>
</ChannelSelection>
<OverlapBehavior>
<LATEST_ON_TOP />
</OverlapBehavior>
<ContrastEnhancement>
<GammaValue>1.0</GammaValue>
</ContrastEnhancement>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
</SLD>
</Style>
</StyleList>
</Layer>
--
View this message in context:
http://www.nabble.com/Scale-issue-tp16123041p16123041.html
Sent from the MapBuilder Users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users