[Geomoose-users] Catalog->group - can't get GM to start with group folder closed
Bistrais, Bob
Bob.Bistrais at maine.gov
Mon Aug 13 07:28:10 PDT 2012
I do have a nested group for vector and image layers, not sure it's totally necessary.
Here is the link to my application on the test server:
http://mapservertest.maine.gov/basemap/index.html#
And below I have pasted the Catalog section of my mapbook.xml:
(Please excuse the crazy indents or lack thereof, was doing some experiments on this issue. Also, you'll notice some groups are in a nested group tag. That was the only way I could seem to get them to appear as a group and folder.)
<catalog>
<group title="Vector Data" expand="false">
<layer title="Boundaries" src="Trans-GeoMoose/Boundaries" status="on" fade="true" unfade="true" legend="true"/>
<layer title="Roads" src="Trans-GeoMoose/Roads" status="on" fade="true" unfade="true" legend="true"/>
<layer title="Other Transportation" src="Trans-GeoMoose/Transportation" status="on" fade="true" unfade="true" legend="true"/>
<layer title="Hydrography" src="Hydro/Hydrography" status="on" fade="true" unfade="true" legend="false"/>
<layer title="Base Data" src="base/Base" status="on" fade="false" unfade="false" legend="false" />
</group>
<group title="Orthoimagery" multiple="false">
<layer title="None" src="blank/blank" legend="false" fade="false" unfade="false"/>
<group expand="false">
<group title="National Agricultural Imagery Program (NAIP)" multiple="false" expand="false">
<layer title="NAIP 2011" src="orthoimagery/NAIP_2011" legend="false" fade="false" unfade="false" />
<layer title="NAIP 2011 with Index" src="indices/NAIP_2011" legend="false" fade="false" unfade="false" />
<layer title="NAIP 2009" src="orthoimagery/NAIP_2009" legend="false" fade="false" unfade="false" />
<layer title="NAIP 2009 with Index" src="indices/NAIP_2009" legend="false" fade="false" unfade="false"/>
<layer title="NAIP 2007" src="orthoimagery/NAIP_2007" legend="false" fade="false" unfade="false" />
<layer title="NAIP 2007 with Index" src="indices/NAIP_2007" legend="false" fade="false" unfade="false"/>
<layer title="NAIP 2006" src="orthoimagery/NAIP_2006" legend="false" fade="false" unfade="false" />
<layer title="NAIP 2006 with Index" src="indices/NAIP_2006" legend="false" fade="false" unfade="false"/>
</group>
</group>
<group expand="false" multiple="false">
<group title="Low Tide" expand="false" multiple="false">
<layer title="Low Tide 2004" src="orthoimagery/Low_Tide_2004" legend="false" fade="false" unfade="false"/>
<layer title="Low Tide 2004 with Index" src="indices/Low_Tide_2004" legend="false" fade="false" unfade="false" />
<layer title="Low Tide 2008" src="orthoimagery/Low_Tide_2008" legend="false" fade="false" unfade="false" />
<layer title="Low Tide 2008 with Index" src="indices/Low_Tide_2008" legend="false" fade="false" unfade="false" />
<layer title="Low Tide 2010" src="orthoimagery/Low_Tide_2010" legend="false" fade="false" unfade="false" />
<layer title="Low Tide 2010 with Index" src="indices/Low_Tide_2010" legend="false" fade="false" unfade="false" />
<layer title="Low Tide Central Coast 2001" src="orthoimagery/Low_Tide_Central_Coast_2001" legend="false" fade="false" unfade="false" />
<layer title="Low Tide Central Coast 2001 with Index" src="indices/Low_Tide_Central_Coast_2001" legend="false" fade="false" unfade="false" />
<layer title="Low Tide Downeast 2009" src="orthoimagery/Low_Tide_Down_East_2009" legend="false" fade="false" unfade="false" />
<layer title="Low Tide Downeast 2009 with Index" src="indices/Low_Tide_Down_East_2009" legend="false" fade="false" unfade="false" />
<layer title="Pen Bay Low Tide 1982-3" src="orthoimagery/Pen_Bay_Low_Tide_1982-3" legend="false" fade="false" unfade="false" />
<layer title="Pen Bay Low Tide 1982-3 with Index" src="indices/Pen_Bay_Low_Tide_1982-3" legend="false" fade="false" unfade="false" />
</group>
</group>
<group title="Orthoimagery" expand="false" multiple="false">
<group title="Orthoimagery" expand="false" multiple="false">
<layer title="Bangor 1991" src="orthoimagery/Bangor_1991" legend="false" fade="false" unfade="false"/>
<layer title="Bangor 1991 with Index" src="indices/Bangor_1991" legend="false" fade="false" unfade="false"/>
<layer title="Baxter 2004" src="orthoimagery/Baxter_2004" legend="false" fade="false" unfade="false"/>
<layer title="Cumberland County 1ft 2009" src="orthoimagery/Cumberland_Co_1ft_2009" legend="false" fade="false" unfade="false"/>
<layer title="Cumberland County 1ft 2009 with Index" src="indices/Cumberland_Co_1ft_2009" legend="false" fade="false" unfade="false"/>
<layer title="Debsconeags 2005" src="orthoimagery/Debsconeags_2005" legend="false" fade="false" unfade="false"/>
<layer title="Delorme 2003" src="orthoimagery/Delorme_2003" legend="false" fade="false" unfade="false"/>
<layer title="Geolibrary 1ft 2003-2005" src="orthoimagery/Geolibrary_1ft_2003_2005" legend="false" fade="false" unfade="false"/>
<layer title="Geolibrary 1ft 2003-2005 with Index" src="indices/Geolibrary_1ft_2003_2005" legend="false" fade="false" unfade="false"/>
<layer title="Geolibrary 2ft 2003-2005" src="orthoimagery/Geolibrary_2ft_2003_2005" legend="false" fade="false" unfade="false"/>
<layer title="Geolibrary 2ft 2003-2005 with Index" src="indices/Geolibrary_2ft_2003_2005" legend="false" fade="false" unfade="false"/>
<layer title="Katahdin Lake 2006" src="orthoimagery/Katahdin_Lake_2006" legend="false" fade="false" unfade="false"/>
<layer title="Katahdin Lake 2006 with Index" src="indices/Katahdin_Lake_2006" legend="false" fade="false" unfade="false"/>
<layer title="NOAA IOCM 2008" src="orthoimagery/NOAA_IOCM_2008" legend="false" fade="false" unfade="false" />
<layer title="NOAA IOCM 2008 with Index" src="indices/NOAA_IOCM_2008" legend="false" fade="false" unfade="false"/>
<layer title="NOAA IOCM CIR 2008" src="orthoimagery/NOAA_IOCM_CIR_2008" legend="false" fade="false" unfade="false" />
<layer title="NOAA IOCM CIR 2008 with Index" src="indices/NOAA_IOCM_CIR_2008" legend="false" fade="false" unfade="false"/>
<layer title="NOAA JALBCTX" src="orthoimagery/NOAA_JALBCTX" legend="false" fade="false" unfade="false" />
<layer title="NOAA JALBCTX with Index" src="indices/NOAA_JALBCTX" legend="false" fade="false" unfade="false"/>
<layer title="SPOT 1998" src="orthoimagery/SPOT_1998" legend="false" fade="false" unfade="false"/>
<layer title="SPOT 2004" src="orthoimagery/SPOT_2004" legend="false" fade="false" unfade="false"/>
<layer title="USGS DOQQ 1996-1998" src="orthoimagery/USGS_DOQQs_1996-1998" legend="false" fade="false" unfade="false" />
<layer title="USGS DOQQ 1996-1998 with Index" src="indices/USGS_DOQQs_1996-1998" legend="false" fade="false" unfade="false" />
</group>
</group>
<group title="Topos and Nautical Charts" expand="false" multiple="false">
<group title="Topos and Nautical Charts" expand="false" multiple="false">
<layer title="USGS Color Topographic Maps" src="DRG/Maine_Topos" legend="false" fade="false" unfade="false"/>
<layer title="USGS Color Topographic Map with 24k Index" src="indices/Maine_Topos_24kindex" legend="false" fade="false" unfade="false" />
<layer title="USGS BW Topographic Maps" src="DRG/Maine_Topos_BW" legend="false" fade="false" unfade="false"/>
<layer title="USGS BW Topographic Map with 24k Index" src="indices/Maine_Topos_BW_24kindex" legend="false" fade="false" unfade="false" />
<layer title="USGS Color Topographic Maps 2011" src="DRG/Maine_Topos_2011" legend="false" fade="false" unfade="false"/>
<layer title="USGS Color Topographic Maps 2011 with 24k Index" src="indices/Maine_Topos_2011_24kindex" legend="false" fade="false" unfade="false" />
<layer title="USGS Historic Topographic Maps, 1910" src="DRG/Maine_Historic_Topos_1910" legend="false" fade="false" unfade="false" />
<layer title="USGS Historic Topographic Maps 1910 with 62k Index" src="indices/Maine_Historic_Topos_1910_62kindex" legend="false" fade="false" unfade="false" />
<layer title="USGS Historic Topographic Maps, 1945" src="DRG/Maine_Historic_Topos_1945" legend="false" fade="false" unfade="false" />
<layer title="USGS Historic Topographic Maps 1945 with 62k Index" src="indices/Maine_Historic_Topos_1945_62kindex" legend="false" fade="false" unfade="false" />
<layer title="NOAA Charts" src="DRG/Maine_NOAA_Charts" legend="false" fade="false" unfade="false" />
</group>
</group>
<group title="Municipal Orthos" expand="false" multiple="false">
<group title="Municipal Orthos" expand="false" multiple="false">
<layer title="Augusta-Manchester 2008" src="orthos_muni/Augusta_Manchester_2008" legend="false" fade="false" unfade="false"/>
<layer title="Augusta-Manchester 2008 with Index" src="indices/Augusta_Manchester_2008" legend="false" fade="false" unfade="false"/>
<layer title="Bangor 2009" src="orthos_muni/Bangor_2009" legend="false" fade="false" unfade="false"/>
<layer title="Bangor 2009 with Index" src="indices/Bangor_2009" legend="false" fade="false" unfade="false"/>
<layer title="Bar Harbor 2004" src="orthos_muni/Bar_Harbor_2004" legend="false" fade="false" unfade="false"/>
<layer title="Bar Harbor 2004 with Index" src="indices/Bar_Harbor_2004" legend="false" fade="false" unfade="false"/>
<layer title="Bar Harbor 2008" src="orthos_muni/Bar_Harbor_2008" legend="false" fade="false" unfade="false"/>
<layer title="Bar Harbor 2008 with Index" src="indices/Bar_Harbor_2008" legend="false" fade="false" unfade="false"/>
<layer title="Bar Harbor CIR 2008" src="orthos_muni/Bar_Harbor_CIR_2008" legend="false" fade="false" unfade="false"/>
<layer title="Bar Harbor CIR 2008 with Index" src="indices/Bar_Harbor_CIR_2008" legend="false" fade="false" unfade="false"/>
<layer title="Central Coastal 2006" src="orthos_muni/Central_Coastal_2006" legend="false" fade="false" unfade="false"/>
<layer title="Central Coastal 2006 with Index" src="indices/Central_Coastal_2006" legend="false" fade="false" unfade="false"/>
<layer title="Cumberland County 2001" src="orthos_muni/Cumberland_Co_2001" legend="false" fade="false" unfade="false"/>
<layer title="Cumberland County 2001 with Index" src="indices/Cumberland_Co_2001" legend="false" fade="false" unfade="false"/>
<layer title="Fort Fairfield 2003" src="orthos_muni/Fort_Fairfield_2003" legend="false" fade="false" unfade="false"/>
<layer title="Fort Fairfield 2003 with Index" src="indices/Fort_Fairfield_2003" legend="false" fade="false" unfade="false"/>
<layer title="Hampden 2006" src="orthos_muni/Hampden_2006" legend="false" fade="false" unfade="false"/>
<layer title="Hampden 2006 with Index" src="indices/Hampden_2006" legend="false" fade="false" unfade="false"/>
<layer title="Houlton 2004" src="orthos_muni/Houlton_2004" legend="false" fade="false" unfade="false"/>
<layer title="Houlton 2004 with Index" src="indices/Houlton_2004" legend="false" fade="false" unfade="false"/>
<layer title="Kittery_2006" src="orthos_muni/Kittery_2006" legend="false" fade="false" unfade="false"/>
<layer title="Kittery 2006 with Index" src="indices/Kittery_2006" legend="false" fade="false" unfade="false"/>
<layer title="Lewiston-Auburn 2006" src="orthos_muni/Lewiston_Auburn_2006" legend="false" fade="false" unfade="false"/>
<layer title="Lewison-Auburn 2006 with Index" src="indices/Lewiston_Auburn_2006" legend="false" fade="false" unfade="false"/>
<layer title="Portland 2006" src="orthos_muni/Portland_2006" legend="false" fade="false" unfade="false"/>
<layer title="Portland 2006 with Index" src="indices/Portland_2006" legend="false" fade="false" unfade="false"/>
<layer title="Skowhegan 2011" src="orthos_muni/Skowhegan_2011" legend="false" fade="false" unfade="false"/>
<layer title="Skowhegan 2011 with Index" src="indices/Skowhegan_2011" legend="false" fade="false" unfade="false"/>
<layer title="South Portland 2005" src="orthos_muni/South_Portland_2005" legend="false" fade="false" unfade="false"/>
<layer title="South Portland 2005 with Index" src="indices/South_Portland_2005" legend="false" fade="false" unfade="false"/>
<layer title="York 2005" src="orthos_muni/York_2005" legend="false" fade="false" unfade="false"/>
<layer title="York 2005 with Index" src="indices/York_2005" legend="false" fade="false" unfade="false"/>
<layer title="York Co 2007" src="orthos_muni/York_Co_2007" legend="false" fade="false" unfade="false"/>
<layer title="York Co 2007 with Index" src="indices/York_Co_2007" legend="false" fade="false" unfade="false"/>
</group>
</group>
</group>
</catalog>
-----Original Message-----
From: Jim Klassen [mailto:klassen.js at gmail.com]
Sent: Monday, August 13, 2012 10:21 AM
To: Bistrais, Bob
Cc: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] Catalog->group - can't get GM to start with group folder closed
A few thoughts: At least the demo works and my installation works, so it must be something you did that is different. It could still very well be a bug, but unless we can figure out what is different, we have little hope in fixing it.
Is it a nested group? I haven't personally tested that.
Are you sure you are running the code/mapbook you think you are running? (I know it's silly, but I've been bitten by this more than once.)
Can you send us a link to the app and/or mapbook?
Jim Klassen
On Aug 13, 2012, at 8:25 AM, Bistrais, Bob wrote:
> Yes, and it works on my install of the GeoMoose 2.6 demo, but not in my won applications. I've checked for the obvious, such as mismatched <group> tags, but not finding anything. Does anyone have an idea what might cause this issue?
>
> -----Original Message-----
> From: Jim Klassen [mailto:klassen.js at gmail.com]
> Sent: Saturday, August 11, 2012 11:48 PM
> To: Bistrais, Bob
> Cc: geomoose-users at lists.osgeo.org
> Subject: Re: [Geomoose-users] Catalog->group - can't get GM to start
> with group folder closed
>
> All I can say is it is working for me. (For example:
> https://hub.sharedgeo.org/datasets/GLRI/html/public/geomoose.html)
>
> <group title="Great Lakes Information Network" expand="false"> ...
> </group>
>
> On Aug 10, 2012, at 3:37 PM, Bistrais, Bob wrote:
>
>> Still having problems with this in my applications. Even though I have the group expand="false", the application still opens with the folder and group open. Does anyone have suggestions?
>>
>> From: geomoose-users-bounces at lists.osgeo.org
>> [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of
>> Bistrais, Bob
>> Sent: Thursday, July 12, 2012 2:40 PM
>> To: geomoose-users at lists.osgeo.org
>> Subject: [Geomoose-users] Catalog->group - can't get GM to start with
>> group folder closed
>>
>> I'm working with GM 2.6. In the mapbook.xml, under catalog, I am grouping some related layers into a <group>. I'd like the application to start with the group folders closed (expand="false", or so I think). But whether I set it to true or false, the application always starts with the group folders expanded.
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
More information about the Geomoose-users
mailing list