Aviador wrote:
> Hi, I have a datasource that contains a list of countries and an
> associated numeric value, I'm using Exhibit to plot these values on a
> map, however I've run into a problem filtering.
>
> Some values contain '..' in place of a number, and I don't want these
> values to appear on the map, is there a way to do this without
> modifying the data?
>
> I've tried using a collection, <div ex:role="collection" id="filter"
> ex:itemTypes="!..">, but this filters all values out.
>
I'd recommend trying to add the "filter" control mentioned here
http://simile.mit.edu/mail/ReadMsg?&msgId=23868
and then define a collection based on the default collection as follows
<div ex:role="collection" ex:baseCollectionID="default" id="filtered"
ex:expression="filter(value, .foo != '..')"></div>
And tie your map view to that new collection
<div ex:role="view" ex:collectionID="filtered" ... ></div>
David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---