[fusion-users] MapServer/Fusion 2.0/SelectionPanel

Paul Spencer pspencer at dmsolutions.ca
Wed Jun 24 07:17:50 EDT 2009


Unfortunately ... mapserver doesn't do that :(  I have been toying  
with the idea of turning the selected features into GML or GeoJSON and  
returning them to the client and creating OpenLayers vector features  
for them to do the highlighting, that would give you much more  
control :)

Paul

On 23-Jun-09, at 3:49 PM, Nolte, Tim wrote:

> OK, so stupid me I didn't have the TEMPLATE line for the layers I  
> wanted
> selectable. This took care of it for me. Now if I could only figure  
> out
> a way to make a pretty transparent highlight instead of the mapfile
> HIGHLIGHT that changes the color completely of the object(s) selected.
>
> - Tim
>
> ----
> Timothy J Nolte - tnolte at ilpcs.com
> Network Planning Engineer
>
> iPCS Wireless, Inc.
> 4717 Broadmoor Ave, Suite G
> Kentwood, MI 49512
>
> Office: 616-656-5163
> PCS:    616-706-2438
> Fax:    616-554-6484
> Web: www.ipcswirelessinc.com
> -----Original Message-----
> From: Paul Spencer [mailto:pspencer at dmsolutions.ca]
> Sent: Tuesday, June 23, 2009 2:08 PM
> To: Nolte, Tim
> Cc: fusion-users at lists.osgeo.org
> Subject: Re: [fusion-users] MapServer/Fusion 2.0/SelectionPanel
>
> Fusion only seems to need the metadata "selectable" on mapserver
> layers to determine if features can be selected from any given layer.
> You may need to also include a template in your layer so that
> mapserver itself thinks the layer can be queried.
>
> TEMPLATE "ttt.html"
>
> Can you test with a shape file to see if perhaps selection works with
> them?
>
> Paul
>
> On 23-Jun-09, at 12:15 PM, Nolte, Tim wrote:
>
>> I'm trying to figure out how to get selections working in Fusion
>> 2.0. I
>> have:
>>
>> 	METADATA
>> 		"groupLegendLabel" "Cell Sites"
>> 		"groupExpandInLegend" "false"
>> 		"legendLabel" "On-Air"
>> 		"selectable" "true"
>> 		"query_include_items" "all"
>> 	END
>>
>> For my METADATA on my individual layer. But when I try to use the
>> selection tool and select one of these objects I get nothing. I'm
>> running MapServer 5.4 & Fusion 2.0. This layer is an Oracle spatial
>> query resulting in points.
>>
>> - Tim
>>
>> ----
>> Timothy J Nolte - tnolte at ilpcs.com
>> Network Planning Engineer
>>
>> iPCS Wireless, Inc.
>> 4717 Broadmoor Ave, Suite G
>> Kentwood, MI 49512
>>
>> Office: 616-656-5163
>> PCS:    616-706-2438
>> Fax:    616-554-6484
>> Web: www.ipcswirelessinc.com
>> _______________________________________________
>> fusion-users mailing list
>> fusion-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/fusion-users
>
>
> __________________________________________
>
>    Paul Spencer
>    Chief Technology Officer
>    DM Solutions Group Inc
>    http://research.dmsolutions.ca/
>
>
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users


__________________________________________

    Paul Spencer
    Chief Technology Officer
    DM Solutions Group Inc
    http://research.dmsolutions.ca/



More information about the fusion-users mailing list