<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">All,<br>
<br>
This message is directed at the printing gurus of GeoMoose.<br>
<br>
I've put together a PERL (I know, I know) parser for the printing requester in GeoMoose. The output, so far, can be seen below. I just used the default print layers from the Demo interface to get this far. I did add in some drawn objects, a point, line and
polygon. Focusing on parsing of the "layers" parameter I've made good progress so far, but . . .<br>
<br>
Question: Are there other optional TYPEs of objects that I need to worry about? Is there a MAPSERVER type for example or ??, do any of the baselayers (BING, GOOGLE, assuming I have a API key to print with . . .) have types assigned to them for printing? I
see four sub hashes from the top level for PARAMS, LEGENDS, LAYERS and FEATURES. So far I just see TYPEs for WMS and VECTOR out of GeoMoose DEMO.<br>
<br>
Also, can I assume that the stacking order is the same as the top level (layer) listing order? I don't see any Z-index info.<br>
<br>
Looking in print_util.php I see something for AGS as a type, (ArcGIS), but mysteriously MapServ types are missing . . . . Can I add these in via parameters in the mapbook for a Mapserver layer and they'll get passed through automagically?<br>
<br>
I may be using the wrong keywords for looking this up in the docs, but I didn't get any results from trying there.<br>
<br>
Thanks<br>
<br>
bobb<br>
<br>
<br>
<br>
<pre id="line1"><span></span><span><<span class="start-tag">results</span>></span><span>
<span id="line2"></span> </span><span><<span class="start-tag">script</span>></span><span>
<span id="line3"></span> </span><span></<span class="end-tag">script</span>></span><span>
<span id="line4"></span></span><span><<span class="start-tag">html</span>></span><span></span><span class="cdata"><![CDATA[Test Response<hr><br />
<span id="line5"></span>template = letter_landscape
<span id="line6"></span>date = true
<span id="line7"></span>dojo.preventCache = 1377811726279
<span id="line8"></span>scale = map
<span id="line9"></span>title = Map
<span id="line10"></span>quality = 2
<span id="line11"></span>layers =
<span id="line12"></span>
<span id="line13"></span>HASH(0xd10120)
<span id="line14"></span>
<span id="line15"></span> params => HASH(0xd0ff70)
<span id="line16"></span> FORMAT => image/png
<span id="line17"></span> SRS => EPSG:3857
<span id="line18"></span> SERVICE => WMS
<span id="line19"></span> LAYERS => blank
<span id="line20"></span> TRANSPARENT => TRUE
<span id="line21"></span> VERSION => 1.1.1
<span id="line22"></span> REQUEST => GetMap
<span id="line23"></span> STYLES =>
<span id="line24"></span> legends => ARRAY(0xd0ffe8)
<span id="line25"></span> 0 => ./images/blank.gif?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&STYLES=&LAYERS=blank&SRS=EPSG%3A3857&BBOX=-10393038.057085,5549777.3884558,-10346373.251323,5578976.3332566&WIDTH=1221&HEIGHT=764&SCALE=108336.00408736734&LAYER=blank
<span id="line26"></span> url => ./images/blank.gif
<span id="line27"></span> type => wms
<span id="line28"></span> layers => ARRAY(0xd10000)
<span id="line29"></span> 0 => blank
<span id="line30"></span>
<span id="line31"></span>
<span id="line32"></span>HASH(0xd0fe98)
<span id="line33"></span>
<span id="line34"></span> params => HASH(0xd0b018)
<span id="line35"></span> FORMAT => image/png
<span id="line36"></span> SRS => EPSG:3857
<span id="line37"></span> SERVICE => WMS
<span id="line38"></span> LAYERS => city_labels,county_labels,city_poly,county_borders
<span id="line39"></span> MAP => /srv/geomoose/geomoose-2.6.1/maps//demo/statedata/basemap.map
<span id="line40"></span> map => /srv/geomoose/geomoose-2.6.1/maps//demo/statedata/basemap.map
<span id="line41"></span> TRANSPARENT => TRUE
<span id="line42"></span> VERSION => 1.1.1
<span id="line43"></span> REQUEST => GetMap
<span id="line44"></span> STYLES =>
<span id="line45"></span> legends => ARRAY(0xd0b0a8)
<span id="line46"></span> 0 => /mapserver/cgi-bin/mapserv?MAP=%2Fsrv%2Fgeomoose%2Fgeomoose-2.6.1%2Fmaps%2F%2Fdemo%2Fstatedata%2Fbasemap.map&FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&STYLES=&LAYERS=city_labels%2Ccounty_labels%2Ccity_poly%2Ccounty_borders&SRS=EPSG%3A3857&BBOX=-10393038.057085,5549777.3884558,-10346373.251323,5578976.3332566&WIDTH=1221&HEIGHT=764&SCALE=108336.00408736734&LAYER=city_labels
<span id="line47"></span> 1 => /mapserver/cgi-bin/mapserv?MAP=%2Fsrv%2Fgeomoose%2Fgeomoose-2.6.1%2Fmaps%2F%2Fdemo%2Fstatedata%2Fbasemap.map&FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&STYLES=&LAYERS=city_labels%2Ccounty_labels%2Ccity_poly%2Ccounty_borders&SRS=EPSG%3A3857&BBOX=-10393038.057085,5549777.3884558,-10346373.251323,5578976.3332566&WIDTH=1221&HEIGHT=764&SCALE=108336.00408736734&LAYER=county_labels
<span id="line48"></span> 2 => /mapserver/cgi-bin/mapserv?MAP=%2Fsrv%2Fgeomoose%2Fgeomoose-2.6.1%2Fmaps%2F%2Fdemo%2Fstatedata%2Fbasemap.map&FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&STYLES=&LAYERS=city_labels%2Ccounty_labels%2Ccity_poly%2Ccounty_borders&SRS=EPSG%3A3857&BBOX=-10393038.057085,5549777.3884558,-10346373.251323,5578976.3332566&WIDTH=1221&HEIGHT=764&SCALE=108336.00408736734&LAYER=city_poly
<span id="line49"></span> 3 => /mapserver/cgi-bin/mapserv?MAP=%2Fsrv%2Fgeomoose%2Fgeomoose-2.6.1%2Fmaps%2F%2Fdemo%2Fstatedata%2Fbasemap.map&FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&STYLES=&LAYERS=city_labels%2Ccounty_labels%2Ccity_poly%2Ccounty_borders&SRS=EPSG%3A3857&BBOX=-10393038.057085,5549777.3884558,-10346373.251323,5578976.3332566&WIDTH=1221&HEIGHT=764&SCALE=108336.00408736734&LAYER=county_borders
<span id="line50"></span> url => /mapserver/cgi-bin/mapserv
<span id="line51"></span> type => wms
<span id="line52"></span> layers => ARRAY(0xd0fe20)
<span id="line53"></span> 0 => city_labels
<span id="line54"></span> 1 => county_labels
<span id="line55"></span> 2 => city_poly
<span id="line56"></span> 3 => county_borders
<span id="line57"></span>
<span id="line58"></span>
<span id="line59"></span>HASH(0xd0af10)
<span id="line60"></span>
<span id="line61"></span> params => HASH(0xd0ae08)
<span id="line62"></span> FORMAT => image/png;bits=8
<span id="line63"></span> SRS => EPSG:3857
<span id="line64"></span> SERVICE => WMS
<span id="line65"></span> LAYERS => parcels
<span id="line66"></span> MAP => /srv/geomoose/geomoose-2.6.1/maps//demo/parcels/parcels.map
<span id="line67"></span> map => /srv/geomoose/geomoose-2.6.1/maps//demo/parcels/parcels.map
<span id="line68"></span> TRANSPARENT => TRUE
<span id="line69"></span> VERSION => 1.1.1
<span id="line70"></span> REQUEST => GetMap
<span id="line71"></span> STYLES =>
<span id="line72"></span> legends => ARRAY(0xd0ae80)
<span id="line73"></span> 0 => /mapserver/cgi-bin/mapserv?FORMAT=image%2Fpng%3Bbits%3D8&MAP=%2Fsrv%2Fgeomoose%2Fgeomoose-2.6.1%2Fmaps%2F%2Fdemo%2Fparcels%2Fparcels.map&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&STYLES=&LAYERS=parcels&SRS=EPSG%3A3857&BBOX=-10393038.057085,5549777.3884558,-10346373.251323,5578976.3332566&WIDTH=1221&HEIGHT=764&SCALE=108336.00408736734&LAYER=parcels
<span id="line74"></span> url => /mapserver/cgi-bin/mapserv
<span id="line75"></span> type => wms
<span id="line76"></span> layers => ARRAY(0xd0ae98)
<span id="line77"></span> 0 => parcels
<span id="line78"></span>
<span id="line79"></span>
<span id="line80"></span>HASH(0xd0ad00)
<span id="line81"></span>
<span id="line82"></span> features => ARRAY(0xd0acd0)
<span id="line83"></span> 0 => HASH(0xd0ac88)
<span id="line84"></span> style => HASH(0xd0abc8)
<span id="line85"></span> hoverPointRadius => 1
<span id="line86"></span> hoverStrokeOpacity => 1
<span id="line87"></span> strokeLinecap => round
<span id="line88"></span> cursor => inherit
<span id="line89"></span> hoverStrokeWidth => 0.2
<span id="line90"></span> hoverFillColor => white
<span id="line91"></span> hoverStrokeColor => red
<span id="line92"></span> pointRadius => 6
<span id="line93"></span> strokeDashstyle => solid
<span id="line94"></span> fillOpacity => 0.4
<span id="line95"></span> strokeOpacity => 1
<span id="line96"></span> hoverFillOpacity => 0.8
<span id="line97"></span> fillColor => #7fff00
<span id="line98"></span> pointerEvents => visiblePainted
<span id="line99"></span> strokeColor => #ff0000
<span id="line100"></span> label => thing1
<span id="line101"></span> hoverPointUnit => %
<span id="line102"></span> strokeWidth => 1
<span id="line103"></span> geometry => POLYGON((-10386321.152852 5573558.8587547,-10381352.746014 5573711.7328112,-10382613.956981 5567711.4260917,-10389072.88587 5566641.3076958,-10386321.152852 5573558.8587547))
<span id="line104"></span> attributes => HASH(0xd0ac58)
<span id="line105"></span> label_only => false
<span id="line106"></span> fill_color => #7fff00
<span id="line107"></span> line_color => #ff0000
<span id="line108"></span> title => thing1
<span id="line109"></span> 1 => HASH(0xd0aa00)
<span id="line110"></span> style => HASH(0xd0a940)
<span id="line111"></span> hoverPointRadius => 1
<span id="line112"></span> hoverStrokeOpacity => 1
<span id="line113"></span> strokeLinecap => round
<span id="line114"></span> cursor => inherit
<span id="line115"></span> hoverStrokeWidth => 0.2
<span id="line116"></span> hoverFillColor => white
<span id="line117"></span> hoverStrokeColor => red
<span id="line118"></span> pointRadius => 6
<span id="line119"></span> strokeDashstyle => solid
<span id="line120"></span> fillOpacity => 0.4
<span id="line121"></span> strokeOpacity => 1
<span id="line122"></span> hoverFillOpacity => 0.8
<span id="line123"></span> fillColor => #ff0000
<span id="line124"></span> pointerEvents => visiblePainted
<span id="line125"></span> strokeColor => #ff0000
<span id="line126"></span> label =>
<span id="line127"></span> hoverPointUnit => %
<span id="line128"></span> strokeWidth => 1
<span id="line129"></span> geometry => LINESTRING(-10374626.287526 5572947.3625285,-10373861.917243 5569622.3517985,-10367211.895783 5570883.5627651,-10375772.84295 5567252.803922)
<span id="line130"></span> attributes => HASH(0xd0a9d0)
<span id="line131"></span> label_only => false
<span id="line132"></span> fill_color => #ff0000
<span id="line133"></span> line_color => #ff0000
<span id="line134"></span> title =>
<span id="line135"></span> 2 => HASH(0xd19128)
<span id="line136"></span> style => HASH(0xd191e8)
<span id="line137"></span> hoverPointRadius => 1
<span id="line138"></span> hoverStrokeOpacity => 1
<span id="line139"></span> strokeLinecap => round
<span id="line140"></span> cursor => inherit
<span id="line141"></span> hoverStrokeWidth => 0.2
<span id="line142"></span> hoverFillColor => white
<span id="line143"></span> hoverStrokeColor => red
<span id="line144"></span> pointRadius => 6
<span id="line145"></span> strokeDashstyle => solid
<span id="line146"></span> fillOpacity => 0.4
<span id="line147"></span> strokeOpacity => 1
<span id="line148"></span> hoverFillOpacity => 0.8
<span id="line149"></span> fillColor => #ff0000
<span id="line150"></span> pointerEvents => visiblePainted
<span id="line151"></span> strokeColor => #ff0000
<span id="line152"></span> label =>
<span id="line153"></span> hoverPointUnit => %
<span id="line154"></span> strokeWidth => 1
<span id="line155"></span> geometry => POINT(-10370575.125027 5573597.0772688)
<span id="line156"></span> attributes => HASH(0xd19158)
<span id="line157"></span> label_only => false
<span id="line158"></span> fill_color => #ff0000
<span id="line159"></span> line_color => #ff0000
<span id="line160"></span> title =>
<span id="line161"></span> type => vector
<span id="line162"></span>
<span id="line163"></span>extent = -10393038.057085%2C5549777.3884558%2C-10346373.251323%2C5578976.3332566
<span id="line164"></span>]]></span><span></span><span></<span class="end-tag">html</span>></span><span>
<span id="line167"></span>
<span id="line168"></span></span><span></<span class="end-tag">results</span>></span><span></span><span><br><br><br></span></pre>
<br>
</div>
</body>
</html>