WARNING: This server is unstable and will be retired in the next days.
If you want to keep this forum available, please request immediately a migration
on the
Nabble Support forum.
Forums that don't receive any migration request will be deleted forever.
Convert from MapObjects: Spatial Query Question
I searched the forum to no avail. I am converting an app from MapObjects, and one thing it did was to take a mouseclick and return information from the "active" shapefile. That is, it did a spatial query. In MapObjects you created a BaseSpatialFilter from the click (or any area of interest), obtaines a Cursor by asking the active Layer what Features passed the filter, then you could get the data from each Feature into a collection (Fields).
Any help is appreciated, sample code is always the best. But if you can simply suggest what may be the right OpenMap classes to use (for those familiar with MapObjects, the equivalent of BaseSpatialFilter, Cursor, Feature, Fields) that would also be much appreciated.
Cheers,
David