Infrastructure Map Server Developer

Infrastructure Map Server Developer

Reply
Member
brokosa
Posts: 3
Registered: ‎01-17-2011
Message 1 of 4 (501 Views)

Problem by feature selection

501 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

Board Manager
Daniel.Du
Posts: 195
Registered: ‎12-23-2008
Message 2 of 4 (496 Views)

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

Member
brokosa
Posts: 3
Registered: ‎01-17-2011
Message 3 of 4 (493 Views)

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

 

Board Manager
Daniel.Du
Posts: 195
Registered: ‎12-23-2008
Message 4 of 4 (482 Views)

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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.