• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk MapGuide Enterprise Developer

    Reply
    Member
    brokosa
    Posts: 3
    Registered: ‎01-17-2011

    Problem by feature selection

    375 Views, 3 Replies
    11-22-2011 07:12 AM

    Hallo everybody,

    I have a selection in my program:

    String queryStr = "equi_id='10000038'";
    MgFeatureQueryOptions myQuery = new MgFeatureQueryOptions();
    myQuery.SetFilter(queryStr);
    MgFeatureReader reader=featureService.SelectFeatures(resId,className,myQuery);

     It works on Server MapGuide Server (Version 2.1.0.4283) but on server 

    Infrastructure Map Server (Version 2.3.0.4202) it doesn't work.

     

    What shuld I change to select a feature?

     

    Best Regards,

    Bogdan

    Please use plain text.
    ADN Support Specialist
    Posts: 103
    Registered: ‎12-23-2008

    Re: Problem by feature selection

    11-23-2011 12:04 AM in reply to: brokosa

    I do not see any changes to this API between MapGuide 2.1 and AIMS. Do you get any error message?



    Daniel Du
    Developer Technical Services
    Autodesk Developer Network

    Please use plain text.
    Member
    brokosa
    Posts: 3
    Registered: ‎01-17-2011

    Re: Problem by feature selection

    11-23-2011 01:25 AM in reply to: Daniel.Du

    Hello Daniel,

    thx for your answer. I have an error found - it was my dumy mistake - it was a space on end of my key string and i have searched without space so the strings ware not equel.

     

    Best Regards,

    Bogdan

     

    Please use plain text.
    ADN Support Specialist
    Posts: 103
    Registered: ‎12-23-2008

    Re: Problem by feature selection

    11-23-2011 06:53 PM in reply to: brokosa

    Thanks brokosa, good to know that.

     

    Have fun~



    Daniel Du
    Developer Technical Services
    Autodesk Developer Network

    Please use plain text.