[Geomoose-users] MinScale, MaxScale in GM 3.2

Dan Little theduckylittle at gmail.com
Tue Feb 5 05:03:24 PST 2019


This will be available in the next release of GeoMoose:
 * https://github.com/geomoose/gm3/pull/345

On Wed, Dec 19, 2018 at 9:11 AM Jim Klassen <klassen.js at gmail.com> wrote:

> I see:
>
>
>         // TODO: Check layer for minscale/maxscale against
>         //       the mapView.
>         // if(isOutOfScale(layer)) {
>         //  layer_classes.push('out-of-scale');
>         // }
>
>
> in components/catalog/layer.js, so it looks like it minscale/maxscale
> isn't implemented yet.  I made a github issue for it.
>
> https://github.com/geomoose/gm3/issues/343
>
> On 12/19/2018 05:09 AM, Renaud LAIRE wrote:
> > Hi, I have large datafile and i try de limit the display on scale based
> rule with GM3.2 (https://carhab.parc-livradois-forez.org)
> >
> > To do i use scale limit in <map-source> , But it seems doesn’t work, , i
> try to put in catalog, like GM2.9 with the same result
> >
> >
> >
> > / /
> >
> > /  <map-source name="carhab" type="mapserver" up="true" down="true"
> title="Cartographie des Habitats" >/
> >
> > /        <file>./maps/carhab.map</file>/
> >
> > /        <layer name="carhab_poly" status="off"
> query-as="carhab-wfs/carhab_search" minscale="6000" maxscale="20000" >/
> >
> > /        <template name="identify"
> src="./templates/carhab/identify_carhab.html"/>/
> >
> > /                                   </layer>/
> >
> > /        <layer name="carhab_poly_series" status="off">/
> >
> > /         <template name="identify"
> src="./templates/carhab/identify_carhab.html"/>             /
> >
> > /        </layer>             /
> >
> > /         </map-source>/
> >
> > / /
> >
> > /…../
> >
> > / /
> >
> > /<layer title="Catégories Physionomiques des végétations du Parc"
> src="carhab/carhab_poly" maxscale="75000" status="on" fade="true"
> unfade="true"/>/
> >
> > / /
> >
> > / /
> >
> >
> >
> > /Renaud LAIRE/
> >
> > *PNR Livradois Forez*
> >
> > Maison du Parc
> >
> > 63880 ST Gervais sous Meymont
> >
> > 04 73 95 57 57
> >
> >
> >
> > / /
> >
> > / /
> >
> >
> >
> >
> >
> > _______________________________________________
> > Geomoose-users mailing list
> > Geomoose-users at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/geomoose-users
> >
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20190205/ed39a49f/attachment.html>


More information about the Geomoose-users mailing list