[Geomoose-users] passing a url to GeoMoose

Dan Little danlittle at yahoo.com
Mon Oct 18 12:30:29 EDT 2010


I think this doc describes what you're looking to do:
http://www.geomoose.org/howto/startup.html

>
>From: Steve Dougill <Steve.Dougill at co.crook.or.us>
>To: geomoose-users at lists.sourceforge.net
>Sent: Mon, October 18, 2010 10:08:37 AM
>Subject: [Geomoose-users] passing a url to GeoMoose
>
> 
>Hi – I would like to pass parameters in a url string so that the GeoMoose app 
>will select and zoom into a particular taxlot:  >From Firebug I got the 
>following url:
> 
>http://localhost/crook/extensions/query_custom.php?template=select_taxlot.html&template_header=select_header_taxlot.html&template_footer=select_footer_taxlot.html&highlight=true&mode=search&id=MAPTAXLOT&layer0=CC_MAIN%2FParcels&fieldname0=MAPTAXLOT&comparitor0=eq-str&value0=161620B009500
> 
> 
>However, this does not bring up the map as it is pointing at the query php 
>page.  Can someone give me a clue as to how I would go about this.  Below is the 
>output from the above url that gives me the results but not a map.
> 
>Thank you,
> 
>Steve Dougill
>Crook County GIS - IT - Web
> 
>- <script>
>- <![CDATA[ 
>removeFeature();polkTemplate.removeAllFeatures();highlight.draw("POLYGON 
>((4831117.1180177778000000 913611.5966901034100000, 4831031.5738975257000000 
>913523.7809208482500000, 4830973.6314281076000000 913581.7312642633900000, 
>4831036.7776272744000000 913691.0778303593400000, 4831117.1180177778000000 
>913611.5966901034100000))","161620B009500","","highlight",{"MAPTAXLOT":"161620B009500","TAXLOT":"09500","TOWN":"16","RANGE":"16","SECTION_":"20","GIS_ACRES":"2.73754033554e-001","MAPNUMBER":"161620B","QRT":"B","QRTQRT":"0","ACCOUNT":"2890","ACCT_FLAG":"","OWNER_NAME":"RIVER
> LAKE PARK LLC","ADD1":"2260 MCGILCHRIST ST 
>SE","ADD2":"","ADD3":"","STATE":"OR","MAILINGZIP":"97302","COUNTRY":"","PCLASS":"800","PC_FLAG":"","PC_DESC":"Recreational
> Unimp","SUBDIVISIO":"RIVER LAKE PARK UNIT 
>1","SUB_BLOCK":"5","SUB_LOT":"5","ODF":"0","ACRES":"0.00000000000e+000","CODEAREA":"21","CA_FLAG":"","ZONE":"EFU2","Z_FLAG":"","Z_DESC":"Exclusive
> Farm 
>Use","CITY":"SALEM","SUB_PHASE":"","Shape_Leng":"4.43825596976e+002","Shape_Area":"1.19247257016e+004","ACRES_T":"0","T_MAPS":"TAXMAPS\/16S16E20B.pdf"});
>
>  ]]> 
>  </script>
>- <html>
>- <![CDATA[ 
><!-- MapServer Template -->
><table border="0" cellpadding="1" cellspacing="2" width="100%">
>                <tr><td>
>                                <b>Results:</b> <span id="numShapes">1</span>
>                </td><td class="right">
>                                <!--<img src='images/toolbar/table-add.png' 
>class='noborder' title='Open results in table' alt='Open results in table' 
>onclick='highlight.showParcelDataTable();document.getElementById("information-tab").innerHTML
> = "";' />-->
>                                <img src='images/toolbar/zoomin.png' 
>class='noborder' title='Zoom to all results' alt='Zoom to all results' 
>onclick='highlight.zoomToExtent(highlight.getAllBounds());' />
>                                <img src='images/toolbar/select.png' 
>title="Buffer all selected parcels" alt="Buffer all selected parcels" 
>onclick='javascript:GeoMOOSE.startService("buffered_select_followup", {shape: 
>highlight.getAllShapes(),shape_is_object:"true"})' />
>                                <img src='extensions/images/text-csv.png' 
>title="Download results in CSV format" alt="Download results in CSV format" 
>onclick='GeoMOOSE.startService("mailing_labels",{qstring: 
>highlight.getAllId()});' />
>                                <!--<img src='images/toolbar/find.png' 
>title='Search Taxlots' alt='Search Taxlots' 
>onclick='GeoMOOSE.startService("search_parcels");GeoMOOSE.changeLayerVisibility("highlight/all",
> false);removeFeature();polkTemplate.removeAllFeatures();' />-->
>                </td></tr>
></table>
><div id="parcel_holder"><!-- MapServer Template -->
><div id="div_161620B009500">
><table border="0" cellpadding="1" cellspacing="2">
><tr><td colspan="2"><hr/></td></tr>
>                <tr>
>                                <td colspan=2 
>style="background-color:#DDDDDD;padding-left:4px;">
> 
>                                                                <img 
>src='images/toolbar/zoomin.png' class='noborder' title='Zoom to taxlot' 
>alt='Zoom to taxlot' 
>onclick='highlight.zoomToExtent(highlight.getBounds("161620B009500"));' />
>                                                                <img 
>src='images/toolbar/select.png' class='noborder' alt='Buffer taxlot' 
>title='Buffer taxlot' onclick='GeoMOOSE.startService("buffered_select_followup", 
>{shape: highlight.getShape("161620B009500"),"shape_is_object":"false"})'/>
>                                                                <img 
>src='skins/polkcounty/images/services.png' class='noborder' title='Highlight 
>taxlot' alt='Highlight taxlot' 
>onclick='highlight.selectFeature("161620B009500");'/>
>                                                                <img 
>src='images/toolbar/clear.png' title='Remove from selection' alt='Remove from 
>selection' 
>onclick='removeFeature("161620B009500");removeElement(document.getElementById("div_161620B009500"));highlight.updateNumShapes();'
> />
>                                                                <!--<img 
>src='images/toolbar/layout-edit.png' title='Template test' alt='Template test' 
>onclick='javascript:polkTemplate.renderHtml({shape: 
>highlight.getShape("161620B009500")},"161620B009500")' />-->
>                                </td>
>                </tr>
> 
><tr>
><td align="LEFT"><b>Maptaxlot:</b></td>
><td>161620B009500</td>
></tr>
><tr>
><td align="LEFT"><b>Property Information:</b></td>
>http://localhost/Test2/Propertyinfo.aspx?MAPTAXLOT=161620B009500 
>target="_blank">Detailed Information 
>
></tr>
><tr>
><td align="LEFT"><b>Account:</b></td>
><td>2890</td>
></tr>
><tr>
><td align="LEFT"><b>Tax payer:</b></td>
><td>RIVER LAKE PARK LLC</td>
></tr>
><tr>
><td align="LEFT"><b>Mailing Address:</b></td>
><td>2260 MCGILCHRIST ST SE  , SALEM, OR, 97302</td>
></tr>
><tr>
><td align="LEFT"><b>Subdivision:</b></td>
><td>RIVER LAKE PARK UNIT 1</td>
></tr>
><tr>
><td align="LEFT"><b>Acerage:</b></td>
><td>0</td>
></tr>
><tr>
><td align="LEFT"><b>Zone:</b></td>
><td>EFU2</td>
></tr>
><tr>
><td align="LEFT"><b>Tax Map Image:</b></td>
><td><a href=TAXMAPS/16S16E20B.pdf target="_blank">Tax map</a></td>
></tr></table>
></div></div>
> 
>  ]]> 
>  </html>
>  </results>
> 
>- < 
> 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20101018/e6befb46/attachment.html


More information about the Geomoose-users mailing list