<div dir="ltr">The best reference for styling is to look at the Mapbox GL Style spec.  That's what we're using to define styles.<div><br></div><div>No, you can't use PNG in the styling for a WFS layer.  PNG is a raster format whereas WFS deals strictly with vectors.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 6, 2017 at 10:42 AM, Julson, Adam (MNIT) <span dir="ltr"><<a href="mailto:adam.julson@state.mn.us" target="_blank">adam.julson@state.mn.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div class="m_22860574110098880WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I understand WMS is used for speed.  If the WFS layer is fast enough can we use that mapsource entry for Catalog/Identify/Search/Grid/<wbr>Select to try and simplify
 the Mapbook?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I have one test layer in the catalog as a WFS but styling is a little foreign.  Is there a way to use png in the styling for a wfs layer?
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Adam<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Geomoose-users [mailto:<a href="mailto:geomoose-users-bounces@lists.osgeo.org" target="_blank">geomoose-users-<wbr>bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Dan Little<br>
<b>Sent:</b> Wednesday, September 06, 2017 7:10 AM<br>
<b>To:</b> TC Haddad <<a href="mailto:tchaddad@gmail.com" target="_blank">tchaddad@gmail.com</a>><span class=""><br>
<b>Cc:</b> GeoMOOSE Users List <<a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.<wbr>org</a>><br>
</span><b>Subject:</b> Re: [Geomoose-users] How To Add Search Clarification<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Unfortunately, you need to have two <map-source> entries at this point.  One for the WMS service and one for the WFS service.<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The search tool gets configured to point to the WFS <map-source> and the catalog item is pointed towards the WMS <map-source>.<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Sep 5, 2017 at 8:52 AM, TC Haddad <<a href="mailto:tchaddad@gmail.com" target="_blank">tchaddad@gmail.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Is it correct to say that both WMS and WFS versions should be together In a mapserver group ? That is the example in the demo, though the docs don't state it's required from what I saw...<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">On Tue, Sep 5, 2017 at 6:05 AM Dan Little <<a href="mailto:theduckylittle@gmail.com" target="_blank">theduckylittle@gmail.com</a>> wrote:<u></u><u></u></p>
</div>
</div>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<p class="MsoNormal">Another fix for today. :D<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Yes, you can use both at the same time.  There's no conflict in leaving the *layer* in the catalog that displays the search as the WMS-based version but the WFS configuration will need to be added next to it to add search capabilities.<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Sep 1, 2017 at 11:47 AM, Reynolds, Michael J. (MNIT) <<a href="mailto:mike.reynolds@state.mn.us" target="_blank">mike.reynolds@state.mn.us</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">I notice in the following How To doc:<br>
<a href="https://github.com/geomoose/gm3/blob/master/docs/howto/add-search.md" target="_blank">https://github.com/geomoose/<wbr>gm3/blob/master/docs/howto/<wbr>add-search.md</a><br>
<br>
It describes creating a map-source name="firestations-wfs".<br>
<br>
Then later we're adding a new search service, specifically:<br>
searchLayers: ['firestations/fire_stations']<wbr>,<br>
<br>
Is that correct or should it be<br>
searchLayers: ['firestations-wfs/fire_<wbr>stations']<br>
<br>
On another note, we'd like to use a search service on a mapserver layer that uses png images for each point and labels.  We see that search service is currently a wfs or mapserver-wfs thing and we're wondering if there's any way to mashup the two and get the
 best of both worlds.  Even if the wfs layer isn't styled at all but used to execute the search and the search service in turn makes sure the related mapserver wms layer is also on. Pair/mash/link?<br>
<br>
Thank you.<u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
<p class="MsoNormal">______________________________<wbr>_________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geomoose-<wbr>users</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>