Manage tile cache, anti-aliasing

1493
13
02-07-2017 03:20 PM
Highlighted
Occasional Contributor III

I am working on creating a tile cache that I will publish with ArcGIS Server, but I am using Desktop (version 10.3.1) to create the tile cache.  I've used the Generate Tile Cache Tiling Scheme and Manage Tile Cache tools for this, but I don't see any options for controlling the anti-aliasing.  I want to force text anti-aliasing and have the map AA set to "best".  I can go into the tiling scheme xml file and enable antialiasing, but I don't know how to set it to "best".  I am assuming that it is using a setting other than "best" because I don't think the tiles come out looking as good as they should.  Anyone figured this out?

Reply
0 Kudos
13 Replies
Highlighted
MVP Esteemed Contributor

Ryan,

   You only have an option for 

  • None
  • Normal
  • Force

When choosing Text Anti-Aliasing:

Highlighted
Occasional Contributor III

I worded my original post poorly I think.  Anti-aliasing for the map, which is directly above Text Anti-Aliasing in your screenshot, has the options of:  Fastest, Fast, Normal, Best.  I want to generate my tile cache using the "Manage Tile Cache" geoprocessing tool in ArcMap, and I want it to use "Best" for the map anti-aliasing.  I don't know if this is possible, because that option is not available in the geoprocessing tool.  I was hoping there is a way to enable it inside the tiling scheme .xml file.

Reply
0 Kudos
Highlighted
MVP Esteemed Contributor

Ryan,

  The "Manage Tile Cache" / ArcGIS Server caching service use the map services settings to build the cache. So the AA setting you make in the map service are what is used when making the cache tiles. So bottom line is no there is no best option for text.

Reply
0 Kudos
Highlighted
Occasional Contributor III

Check out a few things:

1)  I did mention text anti-aliasing also, but I'm primarily asking about anti-aliasing of the map.  See here, where it says "Best", this is what I'm after:

2)  I'm using "Manage Tile Cache" in Desktop, which is done completely independent of ArcGIS Server.  It does not use map service settings, it uses the settings in the geoprocessing tool and settings in the tiling scheme .xml file.  The  "Anti-Aliasing:  Best" setting that I reference in the above image is nowhere to be found here.

3)  The tiling scheme xml file has the following section:

<TileImageInfo xsi:type='typens:TileImageInfo'>
  <CacheTileFormat>MIXED</CacheTileFormat>
  <CompressionQuality>90</CompressionQuality>
  <Antialiasing>true</Antialiasing>
  <BandCount>1</BandCount>
  <LERCError>0</LERCError>
</TileImageInfo>‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

So in there I can set anti-aliasing to "true", but there is nothing in there to set the quality of AA (Faster, Fast, Normal, Best) like you can when publishing a map service.  I was hoping there was maybe another parameter I could add in there to accomplish this.

Reply
0 Kudos
Highlighted
MVP Esteemed Contributor

Ryan,

  Sounds like you should place a tech support call to see what is available. When I look at the help docs for 10.3.1 and 10.4.1 covering creating a tiling scheme there is no mention at all about antialiasing or band count. All the other thing you mention from the xml are covered but there is no Antialiasing or BandCount mentioned.

Reply
0 Kudos
Highlighted
New Contributor

Ryan, I have the exact same dilemma as you needing to cache over 13 million 1' contour features for the state of Vermont on my local workstation - publishing cached service on 50 sq.mi. prototype extent on ArcGIS server would have taken ~ 40 hrs, whereas, on workstation is only took 4 min 30 sec ....but comes at the price of losing anti-aliasing options.

Did you ever come up with a solution?

Thanks, Mike

Reply
0 Kudos
Highlighted
Occasional Contributor III

Hmm 40 hours VS. 4 minutes 30 seconds... so you're saying it's a little faster when done on your workstation?

Unfortunately I didn't find any solution to this.  I just accepted that some anti-aliasing is better than no anti-aliasing.

Reply
0 Kudos
Highlighted
New Contributor

Ryan,

Thanks for getting back to me. I had just called tech support prior to your email and their reply is below - in short you can’t do it outside of the service editor/creating cache on server as you already know, but at least they confirmed it…

So you did get some anti-aliasing effect with your hack of the xml index file input? Did you compare the hack vs non-hack outputs and confirm? Was the hacked on a big improvement? Would be good intel.

Cheers,

Mike

Reply
0 Kudos
Highlighted
Occasional Contributor III

Yes I have tested and compared tiles using <Antialiasing> as true and false.  Setting it to true definitely enforces some degree of AA.  It may be in the eye of the beholder, but to me it is a significant improvement over no AA at all.  I think it could be better though, hence the point of this thread.

Reply
0 Kudos