[mapguide-users] multiple extent attributes on a layer

Andy Morsell amorsell at spatialgis.com
Wed Mar 15 13:33:58 EST 2006


The way you've defined your layer, since you have more than one style for a
given range, only the top style is going to appear.  For instance, if a user
is zoomed in between 0 and 22000, there are 4 different styles that apply,
which doesn't make sense.  You should instead use the Theme option to create
multiple styles based on multiple conditions within one scale range.
Depending on what you are doing, you may have more than one scale range,
each with its own theme options.


Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com

-----Original Message-----
From: Eric Brown [mailto:ericbrown at netxn.com] 
Sent: Wednesday, March 15, 2006 9:58 AM
To: users at mapguide.osgeo.org
Subject: Re: [mapguide-users] multiple extent attributes on a layer

Kori,

Here's a picture of my layer - I've described 4 separate extents.

0-22000 is all roads (except Highways and Ramps) 0-44000 is  Arteries (Class
= 'A') 0-infinity is Class='H' in yellow - highways 0-infinity is Class='R'
in orange - ramps

And - no - once you get down to 22000 - the Highways and Ramps and Arteries
stop displaying.

Please advise,

-- Eric

----- Original Message -----
From: "Kori Maleski" <km at pat.ca>
To: <users at mapguide.osgeo.org>
Sent: Wednesday, March 15, 2006 9:46 AM
Subject: RE: [mapguide-users] multiple extent attributes on a layer


> Eric,
>
> You have to theme the layers.
>
> One group of themes per Scale Range.
>
> Each Group can have more than one Condition defined by an Attribute such 
> as
> H,R,A etc.
>
>
> Is this how you have it configured?  Is the layer reading the
> Condition/Attribute properly?
>
> They should not overwrite each other...
>
>
> Kori Maleski BSc.
> Senior Technical Consultant
>
>
>
> Suite 400 - 534 17 Ave. SW Calgary, AB CANADA T2S 0B1
> TEL
> 403.770.1917
>
>
> FAX
> 877.691.9149
> TOL
> 877.691.9171
> www.pat.ca
>
> ________________________________________
> From: Eric Brown [mailto:ericbrown at netxn.com]
> Sent: March 15, 2006 8:27 AM
> To: users at mapguide.osgeo.org
> Subject: [mapguide-users] multiple extent attributes on a layer
>
> All,
>
> I'm having a bit of an issue on my roads layer - specifically, I'm
> attempting to show Highways, Ramps, Arteries etc. in a different color 
> than
> normal roads at similar extents.
>
> But if say 0-8000 is type "H" in one color, and 0-8000 is Type "R" in
> another color and 0-8000 is Type "A" in yet another color - they end up
> overriding each other - so, basically I end up with just one of the types
> displaying.
>
> Any ideas?
>
> -- Eric
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
> 







More information about the Mapguide-users mailing list