[Geomoose-users] Mailing Labels From the Select Tool Fixed

Jay Kapalczynski jkapalczynski at ci.maple-grove.mn.us
Thu Oct 23 14:36:19 EDT 2008


Just thought I would pass this along to anyone interested...

I asked the question to get the select tools mailing labels to work like the buffer tool....The buffer tool was not specific enough...with the select tool I can select with Polygons, Lines, and Points...these means are far more specific and make more sense for my application.  Sometimes you need random selections.....
GeoMOOSE was not designed for this....... I got this code from Mike Hamby....Thanks Mike!

Anyways....the code is below....its basically the SELECT BUFFER code ...just replace you select code with this....and replace the blue code with your specifics....

The main line allowing this is the negative buffer.... <input type="hidden" name="buffer" value="-5"/>

Then you can change the shape="box" to allow a box, polygon, ,line etc

<service title="Select Feature" default="true" locked="true" cursor="url(cursors/select.cur), auto" shape="box" type="inspect-search" icon="shared/images/toolbar/draw_polygon.jpg" highlight="shared/images/toolbar/draw_polygon_selected.jpg">
<url>php/buffer_select.php</url>
                    <input type="hidden" name="buffer" value="-5"/>
                    <input type="multipoint" name="coords"/>
                    <input type="hidden" name="shape" value="poly"/>

                    <input type="hidden" name="map" value="/ms4w/apps/GeoMOOSE/maps_Crawford_UTM/select.map"/>
                    <input type="hidden" name="select" value="/ms4w/apps/GeoMOOSE/maps_Crawford_UTM/select.map"/>

                    <input type="hidden" name="select_layer" value="Parcels:PIN">Parcels></input>
                    <input type="hidden" name="query_layer" value="Parcels:PIN">Parcels></input>
                    <input type="hidden" name="output" value="html"/>
 </service>

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


More information about the Geomoose-users mailing list