[mapserver-users] problem maxscale - minscale
kalliany
susanne.kalliany at tefis.at
Wed Oct 21 02:28:01 PDT 2009
Dear mapserver community!
I have a (probably silly) problem showing layers in different scale regions.
First of all (don't know why) I have to multiply the desired scale by 10 ,
that means Orthofotos are shown
up to 1:10000 when I do MAXSCALEDENOM 100000. The same is true with shape
file GROUP Grundst-Nr.
But the following layer NAME 'Bezirk-Hauptorte' is shown from 1:600000 to
1:5000 (without multiplying by 10).
GROUP OOE
STATUS OFF
MINSCALEDENOM 10000
MAXSCALEDENOM 600000
I think there is a basic misunderstanding; many thanks in advance for any
help.
Susanne Kalliany
PATRS OF MY MAP-FILE:
=====================
MAP NAME global_map
STATUS ON
SIZE 2000 1448
EXTENT 49118 369139 57063 375118
UNITS meters
IMAGECOLOR 255 255 255
IMAGETYPE png24
INTERLACE OFF
FONTSET "c:/ms4w/apps/gmap-ms46/etc/fonts.txt"
SYMBOLSET
"c:/ms4w/Apache/htdocs/ka-map-1.0/TEFsource/TEFstylesheet/symbols.sym"
DEBUG ON
CONFIG "MS_ERRORFILE" "/ms4w/Temp/mapserver.log"
PROJECTION
"init=epsg:31282"
END
############################################
LAYER
NAME o5137x01
GROUP Orthofotos
STATUS ON
MAXSCALEDENOM 100000
TYPE RASTER
DATA 'd:/ewald/Ortho/o5137x01.ecw'
CLASS
STYLE
OUTLINECOLOR 0 0 0
WIDTH 2
END
END
TEMPLATE 'dummy.html'
END
############################################
LAYER
NAME Kataster_region
GROUP Grundst-Nr
STATUS ON
MAXSCALEDENOM 100000
TYPE POLYGON
DATA 'd:/ewald/Kataster_OOE/47221GST'
LABELITEM 'GNR'
CLASS
STYLE
OUTLINECOLOR 255 0 255
WIDTH 1
END
LABEL
FORCE TRUE
TYPE BITMAP
SIZE tiny
WRAP '\'
POSITION cc
COLOR 0 0 0
BACKGROUNDCOLOR 200 200 200
END
END
TEMPLATE 'dummy.html'
END
############################################
LAYER
NAME Bezirk-Hauptorte
GROUP OOE
STATUS OFF
MINSCALEDENOM 10000
MAXSCALEDENOM 600000
TYPE POINT
DATA 'd:/ewald/KarteDB_OOE/bez_hauptorte'
LABELITEM 'ort'
CLASS
SYMBOL 1
SIZE 6
COLOR 0 255 255
STYLE
COLOR 0 255 255
OUTLINECOLOR 255 255 255
WIDTH 1
END
LABEL
FORCE TRUE
TYPE TRUETYPE
FONT 'sans'
SIZE 6
WRAP '\'
POSITION cc
COLOR 255 255 255
END
END
TEMPLATE 'dummy.html'
END
--
View this message in context: http://n2.nabble.com/problem-maxscale-minscale-tp3864110p3864110.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list