[Geomoose-users] status parameter for map source

Brian Fischer bfischer at houstoneng.com
Fri Nov 30 06:04:22 PST 2012


<group title="Basemap">
                <layer title="Basemap" src="Basemap/Taxlots:Basemap/credits" metadata="true" legend="true" tip="this our data" show-legend="true">
                                <metadata>http://www.geomoose.org/docs/</metadata>
                </layer>
</group>

Brian Fischer, CFM
Principal | GIS Project Manager
Houston Engineering, Inc.
O 763.493.4522 | D 763.493.6664 | M 763.229.2734

From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Dan Little
Sent: Friday, November 30, 2012 7:18 AM
To: Brian Fischer; geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] status parameter for map source

What does the catalog definition look like?

________________________________
From: Brian Fischer <bfischer at houstoneng.com<mailto:bfischer at houstoneng.com>>
To: "geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>" <geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>>
Sent: Thursday, November 29, 2012 5:41 PM
Subject: [Geomoose-users] status parameter for map source

Can anyone else verify if this is a bug for them as well or if I am doing something wrong?  I’ve been noticing this but didn’t put my finger on it until now.

Scenario:
If you have a map source with more than one layer in it and you try to set the status=on, then when the application loads the checkbox in the catalog is not checked.   If you only have one layer in the map source definition it works as expected.  Example.

                <map-source name="basemap" type="mapserver">
                                <file>./demo/BentonData/basemap.map</file>
                                <layer name="Taxlots" status="on"/>
                                <layer name="credits" status="on"/>
                                <param name="FORMAT" value="image/png;bits=8"/>
                </map-source>

Or

                <map-source name="basemap" type="mapserver">
                                <file>./demo/BentonData/basemap.map</file>
                                <layer name="Taxlots" status="on"/>
                                <layer name="credits" />
                                <param name="FORMAT" value="image/png;bits=8"/>
                </map-source>

Both cause the checkbox for that layer in the catalog to not be checked when application loads.

Thanks,



Brian Fischer, CFM
Principal | GIS Project Manager

O 763.493.4522 | D 763.493.6664 | M 763.229.2734



[cid:image001.jpg at 01CC3702.356B79C0]

  6901 E Fish Lake Rd. , Suite 140 • Maple Grove, MN • 55369


www.houstoneng.com<http://www.houstoneng.com/>



This entire message (including all forwards and replies) and any attachments are for the sole use of the intended recipient(s) and may contain proprietary, confidential, trade secret, work-product, attorney-client or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.



_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org<mailto:Geomoose-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/geomoose-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20121130/b198d8ff/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1059 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20121130/b198d8ff/attachment-0001.jpg>


More information about the Geomoose-users mailing list