Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem by feature selection

3 REPLIES 3
Reply
Message 1 of 4
brokosa
724 Views, 3 Replies

Problem by feature selection

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

Tags (1)
3 REPLIES 3
Message 2 of 4
Daniel.Du
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

Message 3 of 4
brokosa
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

 

Message 4 of 4
Daniel.Du
in reply to: brokosa

Thanks brokosa, good to know that.

 

Have fun~



Daniel Du
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report