wiki:MapGuideRfc43

Version 5 (modified by trevorwekel, 17 years ago) ( diff )

--

MapGuide RFC 43 - Support Search and Selection on Double Identity Properties

This page contains an change request (RFC) for the MapGuide Open Source project. More MapGuide RFCs can be found on the RFCs page.

Status

RFC Template Version(1.0)
Submission DateDecember 5, 2007
Last ModifiedTrevor Wekel Timestamp
AuthorTrevor Wekel
RFC Statusnot ready for review
Implementation Statusnot implemented
Proposed Milestone1.2
Assigned PSC guide(s)(when determined)
Voting History
+1
+0
-0
-1

Overview

Add support for Ajax based search and selection when the identity property is a double.

Motivation

FDO maps some database types like an Oracle NUMBER to an Fdo decimal. The decimal type is a double precision number. MapGuide does not fully support interaction with features based on double precision identity properties. This RFC adds the required API to support this.

Funding/Resources

Autodesk will provide funding and resources.

Proposed Changes

  • Add the following API to MgSelectionBase
        // Add a single selection to the set where the identity property is a double.
        void AddFeatureIdDouble(MgLayerBase* layer, CREFSTRING className, double identifier);  
    
  • Modify the Server and Web Extensions code bases to map the Fdo decimal type to an MgDoubleProperty.

Implications

None. This is new API only.

Test Plan

Validate that a feature class with a double precision identity property can be selected and searched upon in the Ajax viewer.

Note: See TracWiki for help on using the wiki.