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

Numeric Value Labels in MAP 2013

3 REPLIES 3
Reply
Message 1 of 4
rangercap
315 Views, 3 Replies

Numeric Value Labels in MAP 2013

Hopefully this is fairly simple to answer:

 

I have numeric values [St_NUMB] I'm adding as labels. I see that Map is converting them to strings [TOSTRING"(ST_NUMB)"]. The ST_Numb refers to a street number for a a house, and any outbuildings are labels as '0' (zero) since they are not technically an addressable structure. I have a large amount of data with a value of '0' (zero) that I would like to filter out of the labels. I'm really not sure what expression or command is the simplest to use.

 

Thanks in advance.

 

Brian

3 REPLIES 3
Message 2 of 4
braudpat
in reply to: rangercap

 

Hello

 

In your SDF, SHP, SQLite, Oracle, etc Table, the ST_NUMB Field is :

Number/Interger?

OR

Character/Varchar ?

 

Have you some A-Z chars (or other non numeric chars) after the numbers ?

 

Some samples (as I can imagine) : 0123 , 00456A , 00789 AB , etc

 

Bye, Pat

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


Message 3 of 4
Alfred.NESWADBA
in reply to: rangercap

Hi,

 

create two rules in the display manager, the first with the filter-expression St_NUMB = 0 (that does not show a label) and the other as the default "Standard".

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 4 of 4
olivier.eckmann
in reply to: rangercap

Hi,

 

in the label, you can use this expression 

 

 If ( ' St_NUMB = 0 ' , '', ToString ( St_NUMB) ) 

 

Olivier

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

Post to forums  

Autodesk Design & Make Report

”Boost