<div class="gmail_quote">On Sat, Dec 8, 2012 at 4:34 PM, Lin, Joyce <span dir="ltr"><<a href="mailto:Joyce.Lin@pxd.com" target="_blank">Joyce.Lin@pxd.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I need help with configuring the select feature for a layer. I have a “Lease” shape file store in data folder stored at C:\Data\Lease\<u></u><u></u></p></div></div></blockquote><div><br>Using a different location means that you will have to configure Apache to make that directory web accessible and update <span class="c">local_settings.ini in conf directory</span>. If you are using MS4W, it might be easier to use the 'preconfigured' location (C:\ms4w\apps\geomoose2\maps... I think)<br>
<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Following the implementer documentation of GeoMoose <u></u><u></u></p>
<p><u></u><span>1.<span style="font:7.0pt "Times New Roman"">
</span></span><u></u>I moved everything under parcel demo in “<span style="letter-spacing:-.1pt;font-size:10.5pt;font-family:"Lucida Sans Unicode","sans-serif"">maps/demo/parcels/templates” to
</span>C:\Data\Lease\tamplates<u></u><u></u></p>
<p><u></u> <u></u></p>
<p><u></u><span>2.<span style="font:7.0pt "Times New Roman"">
</span></span><u></u>Modify select result to be as below<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:darkgreen"><!-- MapServer Template --></span><span style="font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">table</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">tr</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">td</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">b</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas">ID:<span style="color:blue"></</span><span style="color:maroon">b</span><span style="color:blue">></</span><span style="color:maroon">td</span><span style="color:blue">></span><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">td</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas">[TRCT_LABEL]<span style="color:blue"></</span><span style="color:maroon">td</span><span style="color:blue">></span><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">tr</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">tr</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">td</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">b</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas">Tract
Name:<span style="color:blue"></</span><span style="color:maroon">b</span><span style="color:blue">></</span><span style="color:maroon">td</span><span style="color:blue">></span><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">td</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas">[TRACT_NAME]<span style="color:blue"></</span><span style="color:maroon">td</span><span style="color:blue">></span><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">tr</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">tr</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">td</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">b</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas">Operator:<span style="color:blue"></</span><span style="color:maroon">b</span><span style="color:blue">></</span><span style="color:maroon">td</span><span style="color:blue">></span><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">td</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas">[OPERATOR]<span style="color:blue"></</span><span style="color:maroon">td</span><span style="color:blue">></span><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">tr</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">tr</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">td</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">b</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas">Tract
Status:<span style="color:blue"></</span><span style="color:maroon">b</span><span style="color:blue">></</span><span style="color:maroon">td</span><span style="color:blue">></span><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">td</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas">[TRACT_STAT]<span style="color:blue"></</span><span style="color:maroon">td</span><span style="color:blue">></span><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">tr</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">tr</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">td</span><span style="font-size:9.5pt;font-family:Consolas">
<span style="color:red">colspan</span><span style="color:blue">="2"><</span><span style="color:maroon">hr</span><span style="color:blue">/></</span><span style="color:maroon">td</span><span style="color:blue">></span><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">tr</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">></span><span style="font-size:9.5pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"></</span><span style="font-size:9.5pt;font-family:Consolas;color:maroon">table</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><u></u> <u></u></span></p>
<p><u></u><span>3.<span style="font:7.0pt "Times New Roman"">
</span></span><u></u>Modify Mapserver Mapfile<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">LAYER<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> NAME Lease<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> DATA './Lease.shp'<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> ………<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">
<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:2.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> PROJECTION
<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:2.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> 'init=epsg:32040'
<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:2.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> END
<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:3.0in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">METADATA<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> # drill-down identify service record.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> 'identify_record' 'templates/identify.html'<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> # query.php / "Search Lease" functionality.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> 'itemquery' 'templates/search_result.html'<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> 'itemquery-filter' '/.*[qstring].*/i'
<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> 'qstring_validation_pattern' '.'<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas">
<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> # Feature reports are stored in the conf/feature_report directory.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> 'feature_report' 'Lease.xml'<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> 'select_record' 'templates/select_result.html'<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> 'select_header' 'templates/select_header.html'<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> 'popups' 'Lease_popup.html'<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"> END<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:1.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"><u></u> <u></u></span></p>
<p style="text-autospace:none">
<u></u><span style="font-size:9.5pt;font-family:Consolas"><span>4.<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:9.5pt;font-family:Consolas">Modify mapbook.xml<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515">input</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">type</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas">"<span style="color:blue">select</span>"<span style="color:blue">
</span><span style="color:red">name</span><span style="color:blue">=</span>"<span style="color:blue">select_layer</span>"<span style="color:blue">
</span><span style="color:red">title</span><span style="color:blue">=</span>"<span style="color:blue">Select features from:</span>"<span style="color:blue">></span><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515">option</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">value</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas">"<span style="color:blue">parcels/parcels</span>"<span style="color:blue">></span>Parcels<span style="color:blue"></</span><span style="color:#a31515">option</span><span style="color:blue">></span><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515">option</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red">value</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">=</span><span style="font-size:9.5pt;font-family:Consolas">"<span style="color:blue">/Data/Lease/Lease</span>"<span style="color:blue">></span>Lease<span style="color:blue"></</span><span style="color:#a31515">option</span><span style="color:blue">></span><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue"> </</span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515">input</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">><u></u><u></u></span></p>
<p style="margin-left:1.0in;text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:.75in"><u></u> <u></u></p>
<p class="MsoNormal">I did all these steps…. But when I select features on my lease layer, it stuck at “Loading” and nothing was returning. Could someone advise what I am overlooking?</p></div></div></blockquote><div><br>
Does the data display? If the data displays, then the above notes about configuring web access to the directories probably is not the issue. <br><br>Eli<br><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thank you,<u></u><u></u></p>
<p class="MsoNormal">Joyce<u></u><u></u></p>
</div>
<br><br><hr width="100%">
Statement of Confidentiality:<br>
This message may contain information that is privileged or confidential. If you receive this transmission in error, please notify the sender by reply e-mail and delete the message and any attachments.
<br>
</div>
<br>_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
<br></blockquote></div><br>