Hi
I am trying to create 2 PBA expressions with 2 criterias and I don´t get this to work, the second PBA expression overwrites the first when quering from DB.
See image:
//Tom
Adding the schema as attachment.
I want Main property area number (FAST Registernummer för fastighet)(PBA [Text]) and Main property area sub-number (FAST Områdesnummer för fastighet)(PBA [Omrnr_Ej1]) two sub-features to be text with different symbology which have properties definied in primary-feature.
Do <maxOccurs> setting help to resolve this problem???? and if ,is there any examples how to manage this??
Anyone??
Hi Tom. I think Jeff is the best person to answer your question, and he is a BE Together this week. Sorry for the delay.
Martin
Hi Tom,
The issue was causing by the order of criteria resulting TRUE. For a same symbology key, it will apply the first value where the first criteria result is TRUE.
In your case, each time Critirion “FAST Områdesnummer för fastighet” will be true (FASTTYP_EJ1=FREGNRTX_OMR), it will apply as the value of property Omrnr_Ej1 (PBA=[Omrnr_Ej1]), whatever if criterion “FAST Registernummer för fastighet” is true or not.
You will have to create a sub-feature text for the area sub-number; otherwise I do not see how you can set different symbology by comparing different value of different properties. We can set one PBA at time for one feature. If you want a second PBA, you will need a second feature or sub-feature. Here, you need to make some change into Oracle database. We can display text from several properties values, but each text cannot have different symbology.
I will suggest setting also a default value for each symbology which has been defined by a criterion. In the text features case, it will avoid having no text-features displayed, and it can be use a validation tool in the same time.
Finally, I will suggest you to read guidelines in “Criteria” and “Criteria Performance Notes” section of Help file to improve performance of using of criteria expressions.
CRITERIA
docs.bentley.com/.../GeospatialAdminhelp22.html
CRITERIA PERFORMANCES NOTES
docs.bentley.com/.../GeospatialAdminhelp23.html
I hope that is help. Maybe someone will post a better solution by next week.
Best Regards!
Sebastien Lefrancois
QA Bentley`s GeoSpatial Products