Infrastructure Map Server Developer

Infrastructure Map Server Developer

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

Problem by feature selection

506 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

ADN Support Specialist
Daniel.Du
Posts: 273
Registered: ‎12-23-2008
Message 2 of 4 (501 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 (498 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

 

ADN Support Specialist
Daniel.Du
Posts: 273
Registered: ‎12-23-2008
Message 4 of 4 (487 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.