[UMN_MAPSERVER-USERS] Group / Scale
James Net
james_marsnett at HOTMAIL.COM
Thu Jan 12 14:25:24 PST 2006
Hi Again,
So I tried the following without luck: Any Ideas? Help?
LAYER
NAME "earth"
TYPE RASTER
STATUS ON
METADATA
wms_title "earth"
wms_srs "EPSG:4326"
END
END
LAYER
NAME "marble"
TYPE RASTER
STATUS ON
GROUP "earth"
MINSCALE 4000000.0
CONNECTION "http://wms.jpl.nasa.gov/wms.cgi?"
CONNECTIONTYPE WMS
METADATA
wms_title "marble" # DO I NEED THIS HERE?
"wms_srs" "EPSG:4326"
"wms_name" "BMNG"
"wms_server_version" "1.1.1"
"wms_format" "image/jpeg"
END
END
LAYER
NAME "my_map"
DATA "data/my_map.tif"
TYPE RASTER
STATUS ON
GROUP "earth"
TRANSPARENCY ALPHA
OFFSITE 0 0 0
MAXSCALE 4000000.0
# MINSCALE 100000000.0
METADATA
wms_title "my_map"
wms_srs "EPSG:4326"
wms_abstract "The map"
END
END
Thanks,
James
>From: "Fortin,Nicolas [SteFoy]" <nicolas.fortin at ec.gc.ca>
>To: "James Net"
><james_marsnett at HOTMAIL.COM>,<MAPSERVER-USERS at LISTS.UMN.EDU>
>Subject: RE : [UMN_MAPSERVER-USERS] Group / Scale
>Date: Thu, 12 Jan 2006 09:00:11 -0500
>
>Hi
>
>I have many layers that act like this, you only have to modify your
>MINSCALE and MAXSCALE within the group:
>
>For the high res, something like for example
>MAXSCALE 500000
>
>For the marble
>MINSCALE 500000
>MAXSCALE 5000000 # if any
>
>Hope this help
>Nicolas
>
>-----Message d'origine-----
>De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
>part de James Net
>Envoyé : 11 janvier 2006 23:55
>À : MAPSERVER-USERS at LISTS.UMN.EDU
>Objet : [UMN_MAPSERVER-USERS] Group / Scale
>
>
>Hello all,
>
>I have a high res raster map of a fixed extent. I want to do the following,
>but don't know how: I want to group my high res raster with JPL bue marble
>so that when I zoom out I see the JPL blue marbe map, but when I zoom into
>my extent I render my high res raster map.
>
>With my mapserver map file, I'm stuck here:
>
> LAYER
> NAME "marble"
> TYPE RASTER
> STATUS ON
> GROUP "earth"
> MAXSCALE ???
> MINSCALE ???
> CONNECTION "http://wms.jpl.nasa.gov/wms.cgi?"
> CONNECTIONTYPE WMS
> METADATA
> "wms_srs" "EPSG:4326"
> "wms_name" "BMNG"
> "wms_server_version" "1.1.1"
> "wms_format" "image/jpeg"
> END
> END
>
> LAYER
> NAME "my_high_res_map"
> DATA "data/my_mosaic.tif"
> TYPE RASTER
> STATUS ON
> GROUP "earth"
> TRANSPARENCY ALPHA
> OFFSITE 0 0 0
> MAXSCALE 4000000.0
> MINSCALE ??? #0.0
> METADATA
> wms_title "base_map"
> wms_srs "EPSG:4326"
> END
> END
>
>Any help would be great, I've been at it all day without luck!
>
>
>Many thanks,
>
>James
>
>_________________________________________________________________
>ASUS M5 Ultra-slim lightweight is Now $1999 (was $2,999)
>http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Easus%2Ecom%2Eau%2F&_t=752129232&_r=Hotmail_tagline_23Nov05&_m=EXT
_________________________________________________________________
Make your dream car a reality
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fcarpoint%2Eninemsn%2Ecom%2Eau&_t=12345&_r=emailtagline&_m=EXT
More information about the MapServer-users
mailing list