Hoppa till huvudinnehållet

Rounded scale bar to nearest 10

Kommentarer

7 kommentarer

  • Permanently deleted user
    Sorry I should have clarified that this is using the report designer to create printed maps
    0
  • Dan Giersz
    You can adjust the Output Format in Report Designer.

     

    Try something like ##,##0

     

     
    0
  • Permanently deleted user
    hmmm...that still gives me a value of 256, 257, 258, etc.

     

    Are there any calculated fields that can handle rounding, similar to the "HalfDistanceCalc" formula?

     

    Thanks!
    0
  • Permanently deleted user
    so maybe ##,#00?  But of course while this may work to get to nearest 10, but the value will then be incorrect; the map will not be printed at that rounded scale, but at the actual scale.
    0
  • Permanently deleted user
    Steve, usually, dividing by 10 with the result going into an Integer field (no decimal), and then multiplying by 10 will get you a number rounded to the nearest 10.  Might need to do in two steps to keep the value from remaining in internal memory, where it may well retain the decimal.
    0
  • Dan Giersz
    You can do rounding in Report Designer.  It is just ActiveReports, which allows for all kinds of manipulation with the DataField (on top of the already mentioned output formatting).  Mike is right though, you need to be careful with rounding since it will throw off the scale.  To get around this, we use predefined scales that work out to be  whole numbers (really, really close at least) once the web mercator correction is done.  If the user selects 'Current Extent' or 'Current Scale' they are on their own...
    0
  • Permanently deleted user
    Thanks for the reply everyone. I have decided that having a strange number and maintaining accuracy is more important than having a clean rounded number to the nearest 10. I will just be rounding to the nearest 1. We just have quite a few users that get a little uncomfortable when they don't see nice rounded scale numbers....I guess they are used to traditional topographic scales. Proper training and understanding should fix this issue.

     

    Thanks again!
    0

Du måste logga in om du vill lämna en kommentar.