sgavathe

Runtime with tile packages - label issues

Discussion created by sgavathe on Jan 15, 2014
Hello,

I am using ArcGIS Runtime SDK for WPK - 10.1.1 with source map data as tile package. One thing, I noticed that my labels gets smaller at certain scale levels for packages that contains layer labels turned on.

I used SnapToLevels ="True". But that slow down the zoom in/out operation , since Application tries to zoom to nearest scale level.
This is not an option for me as we also want our users to be able to zoom to exact scale (e.g. 8600 or 5200 etc).

I was wondering, if there is any setting in arcmap that can be done.

This is my tile package scheme that i am using. Was wondering, if anything wrong.

<?xml version="1.0" encoding="utf-8" ?>
<TileCacheInfo xsi:type='typens:TileCacheInfo' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:typens='http://www.esri.com/schemas/ArcGIS/10.1'>
  <SpatialReference xsi:type='typens:GeographicCoordinateSystem'>
    <WKT>GEOGCS[&quot;GCS_WGS_1984&quot;,DATUM[&quot;D_WGS_1984&quot;,SPHEROID[&quot;WGS_1984&quot;,6378137.0,298.257223563]],PRIMEM[&quot;Greenwich&quot;,0.0],UNIT[&quot;Degree&quot;,0.0174532925199433],AUTHORITY[&quot;EPSG&quot;,4326]]</WKT>
    <XOrigin>-400</XOrigin>
    <YOrigin>-400</YOrigin>
    <XYScale>11258999068426.24</XYScale>
    <ZOrigin>0</ZOrigin>
    <ZScale>1</ZScale>
    <MOrigin>-100000</MOrigin>
    <MScale>10000</MScale>
    <XYTolerance>8.983152841195215e-009</XYTolerance>
    <ZTolerance>2</ZTolerance>
    <MTolerance>0.001</MTolerance>
    <HighPrecision>true</HighPrecision>
    <LeftLongitude>-180</LeftLongitude>
    <WKID>4326</WKID>
    <LatestWKID>4326</LatestWKID>
  </SpatialReference>
  <TileOrigin xsi:type='typens:PointN'>
    <X>-114.362082</X>
    <Y>51.267074999999998</Y>
  </TileOrigin>
  <TileCols>512</TileCols>
  <TileRows>512</TileRows>
  <DPI>96</DPI>
  <PreciseDPI>96</PreciseDPI>
  <LODInfos xsi:type='typens:ArrayOfLODInfo'>
    <LODInfo xsi:type='typens:LODInfo'>
      <LevelID>0</LevelID>
      <Scale>500000</Scale>
      <Resolution>0.00118973050291514</Resolution>
    </LODInfo>
    <LODInfo xsi:type='typens:LODInfo'>
      <LevelID>1</LevelID>
      <Scale>250000</Scale>
      <Resolution>0.00059486525145757002</Resolution>
    </LODInfo>
    <LODInfo xsi:type='typens:LODInfo'>
      <LevelID>2</LevelID>
      <Scale>125000</Scale>
      <Resolution>0.00029743262572878501</Resolution>
    </LODInfo>
    <LODInfo xsi:type='typens:LODInfo'>
      <LevelID>3</LevelID>
      <Scale>64000</Scale>
      <Resolution>0.00015228550437313792</Resolution>
    </LODInfo>
    <LODInfo xsi:type='typens:LODInfo'>
      <LevelID>4</LevelID>
      <Scale>32000</Scale>
      <Resolution>7.6142752186568962e-005</Resolution>
    </LODInfo>
    <LODInfo xsi:type='typens:LODInfo'>
      <LevelID>5</LevelID>
      <Scale>16000</Scale>
      <Resolution>3.8071376093284481e-005</Resolution>
    </LODInfo>
    <LODInfo xsi:type='typens:LODInfo'>
      <LevelID>6</LevelID>
      <Scale>8000</Scale>
      <Resolution>1.903568804664224e-005</Resolution>
    </LODInfo>
    <LODInfo xsi:type='typens:LODInfo'>
      <LevelID>7</LevelID>
      <Scale>5000</Scale>
      <Resolution>1.1897305029151402e-005</Resolution>
    </LODInfo>
    <LODInfo xsi:type='typens:LODInfo'>
      <LevelID>8</LevelID>
      <Scale>3000</Scale>
      <Resolution>7.138383017490841e-006</Resolution>
    </LODInfo>
  </LODInfos>
</TileCacheInfo>

I noticed labels gets smaller between following scale ranges.

1. Between Scale 48,000 and 30,000 

2. Between Scale 24,000 and 16,000 

3. Between Scale 12,000 and 8,000 

4. Between Scale 5300 and 3500 

Note: labels are not from the annotation layer type here, but they are maplex label engine rendered labels.



Thanks and Regards,
Shay ~

Outcomes