Infrastructure Map Server Developer

Infrastructure Map Server Developer

Reply
Member
3 Posts
0 Kudos
Registered: ‎01-17-2011
Post 1 of 4

Problem by feature selection

508 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
294 Posts
17 Kudos
Registered: ‎12-23-2008
Post 2 of 4

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
3 Posts
0 Kudos
Registered: ‎01-17-2011
Post 3 of 4

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
294 Posts
17 Kudos
Registered: ‎12-23-2008
Post 4 of 4

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