[Geomoose-users] Newer Versions
Fischer, Brian
bfischer at houstonengineeringinc.com
Wed Feb 13 15:54:51 EST 2008
Jay,
The data inspector or pop ups are changing a little bit in the version
GeoMOOSE 1.2, so you may want to hold off until that is released.
-Brian
Brian Fischer
Houston Engineering, Inc.
Maple Grove, MN
(763) 493-4522
-----Original Message-----
From: geomoose-users-bounces at lists.sourceforge.net
[mailto:geomoose-users-bounces at lists.sourceforge.net] On Behalf Of Jim
Klassen
Sent: Friday, February 08, 2008 2:34 PM
To: jkapalczynski at ci.maple-grove.mn.us; Bob Basques
Cc: geomoose-users at lists.sourceforge.net
Subject: Re: [Geomoose-users] Newer Versions
Jay,
I have listed examples below of how to implement #1 and #2. Hopefully
there is enough there to help. If not, feel free to keep asking
questions.
Jim
===================
The mapbook format for the hierarchy is implemented by using group
elements such as:
<group title="Water Resources">
<map title="Lakes & Rivers - Ramsey
County" default="true" popups="false">
<file>
/datasets/SHP/RAMSEY_COUNTY/PUBLIC_WORKS/PLANIMETRICS/planimetrics_water
_poly.map
</file>
<meta>
http://gis.ci.stpaul.mn.us/Portal/pw-reference/documentation/layer-metad
ata/lakes-rivers-ramsey-county
</meta>
</map>
<map title="Lakes & Rivers - State
of Minnesota" popups="false">
<file>
/datasets/SHP/MINNESOTA/MNDOT/LAKES/lakes.map
</file>
<meta>
http://gis.ci.stpaul.mn.us/Portal/pw-reference/documentation/layer-metad
ata/lakes-rivers-state
</meta>
</map>
</group>
OR
<group title="Include Test"
src="/datasets/CONFIGS/SAINT_PAUL/PUBLIC_WORKS/MAPBOOKS/TS/wms.xml"></gr
oup>
Where the src= attribute points to another mapbook such as:
<mapbook title="Test WMS">
<map title="2003 color FSA" popups="false" zindex="-1">
<file>/datasets/WMS/MN/LMIC/lmic.map</file>
<param name="layer" value="fsa"/>
<meta>http://www.lmic.state.mn.us/chouse/metadata/naip03.html</meta>
</map>
<map title="1991 doqs" popups="false" zindex="-1">
<file>/datasets/WMS/MN/LMIC/lmic.map</file>
<param name="layer" value="doq"/>
<meta>http://www.lmic.state.mn.us/chouse/metadata/doq.html</meta>
</map>
<map title="2004 metro area NGA" popups="false" zindex="-1">
<file>/datasets/WMS/MN/LMIC/lmic.map</file>
<param name="layer" value="metro"/>
<meta>http://mcmcweb.er.usgs.gov/catalog/metadata/Minneapolis-StPaul_200
4.html</meta>
</map>
<map title="1997 Met Council BW" popups="false" zindex="-1">
<file>/datasets/WMS/MN/LMIC/lmic.map</file>
<param name="layer" value="bw1997"/>
<meta>http://www.datafinder.org/metadata/orthos1997.htm</meta>
</map>
<map title="2000 Met Council BW" popups="false" zindex="-1">
<file>/datasets/WMS/MN/LMIC/lmic.map</file>
<param name="layer" value="bw2000"/>
<meta>http://www.datafinder.org/metadata/orthos2000.htm</meta>
</map>
<map title="2006 color FSA (incomplete)" popups="false" zindex="-1">
<file>/datasets/WMS/MN/LMIC/lmic.map</file>
<param name="layer" value="fsa2006"/>
<meta>http://www.lmic.state.mn.us/chouse/metadata/naip06.html</meta>
</map>
</mapbook>
=======
For Popups, Configuration.js needs the following
var MAP_POPUPS_ENABLED = true; /* Controls whether the Map will render
the "Map Tip"s aka Popups */
var MAP_ASSUME_DATA = true; /* This tells the map whether to read
data from a layer if the 'data' attribute is unset for a 'map' tag */
//For hierarchy this helps too:
var MAP_MAPBOOK_ORDER = false; /* Enable/Disable whether the order in
the mapbook is honored
* If the MAP_MAPBOOK_ORDER is set to
false then layers will appear in the order in which they are added
* with newer layers being placed on top
of other layers (unless the zindex attribute is set to "-1" then
* the map-layer will be placed on the
bottom of the other layers).
* If the MAP_MAPBOOK_ORDER is set to
true then layers will appear in the order in which they appear in the
* mapbook.
*/
=====
Popups also require the record/header/footer setup in your mapfiles so
that when GeoMOOSE sends a nquery request to mapserver it will get XML
back that it can render in the popup. Examples follow:
Header:
<Xxml version="1.0"?>
<imagemap>
<style name="Baseball">
<title>
<attr name="background" value="white"/>
<attr name="color" value="#000"/>
</title>
<contents>
<attr name="background" value="#DDD"/>
</contents>
</style>
Record:
<popup class="Baseball" shape="circle" coords="[shpxy xf=","
proj=image],5" displayxy="[shpxy xf="," proj=image]">
<title>Rec Center #[ASSET_ID]</title>
<id>[ASSET_ID]</id>
<item title="Asset Name:">[ASSET_NAME]</item>
<item title="Description:">[ASSET_DESCRIPTION]</item>
<item
href="/reports/parks/cgi-bin/specificationReport.pl?asset_id=[ASSET_ID]"
>View
Asset Detail Report</item>
<item
href="/reports/parks/cgi-bin/inspectionReport.pl?asset_id=[ASSET_ID]">Vi
ew
Inspection Report</item>
<item
href="/reports/parks/cgi-bin/inspectionForm.pl?asset_id=[ASSET_ID]">Ente
r
Inspection</item>
</popup>
Footer:
</imagemap>
>>> "Jay Kapalczynski" <jkapalczynski at ci.maple-grove.mn.us> 02/08/08
11:59 AM >>>
I am excited to see any additional tools and functionality I can get my
hands on.
So what ever path it is to get this incorporated into GeoMoose then I am
gladly in...
Sorry for the loaded Email here...but good to hear from someone....
I saw an example yesterday at the GITA meeting that showed number one
and two below.
I have not found any documentation on them, what code is needed, and
what pages need additional code.
Do you know where I could find an example of the code need to impliment
the Table Of Contents format:
Transportation
Layer1
Layer2
Water
Layer1
Layer2
1. Hierarchal Structure of the Table of Contents
2. Data Inspector (Pop-Ups)
3. Create Point
4. Buffer
5. Address Labels
I have also heard of another tab that shows which layers are selectable.
I am also looking for examples of this...I can create a new tab but am
having issues with incorporating the select function to work on my data
sets...
I just posted another entry on this issue.
Are there any examples or documentation out there on the above mentioned
functions.
Future Wish List
I am also interested in the capability of being able to query multiple
fields in a dataset. Say Parcels with Assessing data. Build a query
that grabs Single Family, Residential, and greater than 150,000.
I added a search tab, drop down boxes etc. I am building a string query
but don't know how to submit that to MapServer (even if possible) and
get GeoMoose to RETURN and SELECT those multiple records, then zoom to
the extent....
-----Original Message-----
From: Bob Basques [mailto:Bob.Basques at ci.stpaul.mn.us]
Sent: Friday, February 08, 2008 11:00 AM
To: geomoose-users at lists.sourceforge.net; Jay Kapalczynski
Cc: geomoose-users at lists.sourceforge.net
Subject: Re: [Geomoose-users] Newer Versions
Jay,
To clarify what was in the Flash video, this was actually an older
branch of the development code of Moose. That video was demonstrating
the capabilities of an older version than is currently in production.
The feedback request was for gauging interest in resurrecting the code
branch and bringing it up to sync with the current version in
production.
The currently distributed version of GeoMoose was developed from the
feature heavy version in the flash video. There was also a fair
amount of code cleanup and streamlining between these versions that
would need to be implemented to bring it up to production standards.
So it sounds like I could count you as a +1 for proceeding down this
path.
bobb
Bob Basques
GIS Systems Developer
City of Saint Paul, MN
GISmo
Powered by
GeoMOOSE
>>> "Jay Kapalczynski" <jkapalczynski at ci.maple-grove.mn.us> wrote:
I have been working with Geomooose on an off. I recently saw the Flash
video and new tools that newer versions had.
1. Hierarchal Structure of the Table of Contents
2. Data Inspector (Pop-Ups)
3. Create Point
4. Buffer
5. Address Labels
I guess my question is how do I find out what version I am using and how
do I upgrade to the newer versions without effecting the code I have
already written?
I am really excited to get my hands on this new functionality.
THanks..
Jay
------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geomoose-users
More information about the Geomoose-users
mailing list