Alaskachick Posted July 23, 2010 Posted July 23, 2010 I have a grid of parcels and I want to number them from 0101 to 9999. Keeping the 4 digits is important. Unfortunately, I can't seem to get a parcel number to have a preceding zero. This is what I have tried so far: I added a zero before the in the label style and that works great until I get to parcel #1001 which then shows up as 01001. I could have 2 different label styles, one with the 0 and one with only , but that wouldn't make the parcel #'s 4 digits in extracted data tables, just on the label. Any ideas to force 4 digits? I am using Civil 2010. Quote
sinc Posted July 23, 2010 Posted July 23, 2010 It can be done, but it's amazingly counter-intuitive... 1) Create an Expression in Parcel -> Label Styles -> Area that divides your Parcel Number by 10000 and returns the result as a double. 2) In your Area Label Style, in the text component editor, add your new value. For formatting, tell it to format to four decimal places, then for "Output", select "Right of decimal". (See attached image.) Quote
Alaskachick Posted July 24, 2010 Author Posted July 24, 2010 That worked great to fix the label! Thank you. Now how to change the formatting of the parcel number. In the properties it is still reading 101 instead of 0101 like the label. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.