Vector Tile Custom Scheme

5718
13
01-19-2017 12:10 PM
GreggRoemhildt1
Occasional Contributor

I keep running the Create Vector Tile Package tool in ArcGIS Pro on a custom tiling scheme I created using the Generate Tile Scheme Tool, and I keep encountering the error message:

001854: Tiling scheme must have a 512 x 512 tile size and consecutive scales in a ratio of two.

001854: Tiling scheme must have a 512 x 512 tile size and consecutive scales in a ratio of two.—Help... 

The solution, is obviously to use 512 x 512 and consecutive scales with a ratio of two, which I have set up. 

Any clue what I can do to fix this? Here's my custom tiling scheme: 

<?xml version="1.0" encoding="utf-8" ?>
<CacheInfo xsi:type='typens:CacheInfo' 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.5'>
    <TileCacheInfo xsi:type='typens:TileCacheInfo'>
        <SpatialReference xsi:type='typens:ProjectedCoordinateSystem'>
            <WKT>PROJCS[&quot;WGS_1984_Web_Mercator_Auxiliary_Sphere&quot;,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]],PROJECTION[&quot;Mercator_Auxiliary_Sphere&quot;],PARAMETER[&quot;False_Easting&quot;,0.0],PARAMETER[&quot;False_Northing&quot;,0.0],PARAMETER[&quot;Central_Meridian&quot;,0.0],PARAMETER[&quot;Standard_Parallel_1&quot;,0.0],PARAMETER[&quot;Auxiliary_Sphere_Type&quot;,0.0],UNIT[&quot;Meter&quot;,1.0],AUTHORITY[&quot;EPSG&quot;,3857]]</WKT>
            <XOrigin>-20037700</XOrigin>
            <YOrigin>-30241100</YOrigin>
            <XYScale>148923141.92838538</XYScale>
            <ZOrigin>-100000</ZOrigin>
            <ZScale>10000</ZScale>
            <MOrigin>-100000</MOrigin>
            <MScale>10000</MScale>
            <XYTolerance>0.001</XYTolerance>
            <ZTolerance>0.001</ZTolerance>
            <MTolerance>0.001</MTolerance>
            <HighPrecision>true</HighPrecision>
            <WKID>102100</WKID>
            <LatestWKID>3857</LatestWKID>
        </SpatialReference>
        <TileOrigin xsi:type='typens:PointN'>
            <X>-20037700</X>
            <Y>30241100</Y>
        </TileOrigin>
        <TileCols>512</TileCols>
        <TileRows>512</TileRows>
        <DPI>96</DPI>
        <LODInfos xsi:type='typens:ArrayOfLODInfo'>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>0</LevelID>
                <Scale>577791.70987213368</Scale>
                <Resolution>152.87436231906003</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>1</LevelID>
                <Scale>288895.85493606684</Scale>
                <Resolution>76.437181159530013</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>2</LevelID>
                <Scale>144447.92746803342</Scale>
                <Resolution>38.218590579765007</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>3</LevelID>
                <Scale>72223.96373401671</Scale>
                <Resolution>19.109295289882503</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>4</LevelID>
                <Scale>36111.981867008355</Scale>
                <Resolution>9.5546476449412516</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>5</LevelID>
                <Scale>18055.990933504178</Scale>
                <Resolution>4.7773238224706258</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>6</LevelID>
                <Scale>9027.9954667520888</Scale>
                <Resolution>2.3886619112353129</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>7</LevelID>
                <Scale>4513.9977333760444</Scale>
                <Resolution>1.1943309556176565</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>8</LevelID>
                <Scale>2256.9988666880222</Scale>
                <Resolution>0.59716547780882823</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>9</LevelID>
                <Scale>1128.4994333440111</Scale>
                <Resolution>0.29858273890441411</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>10</LevelID>
                <Scale>564.24971667200555</Scale>
                <Resolution>0.14929136945220706</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>11</LevelID>
                <Scale>282.12485833600277</Scale>
                <Resolution>0.074645684726103528</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>12</LevelID>
                <Scale>141.06242916800139</Scale>
                <Resolution>0.037322842363051764</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>13</LevelID>
                <Scale>70.531214584000693</Scale>
                <Resolution>0.018661421181525882</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>14</LevelID>
                <Scale>35.26560729200034</Scale>
                <Resolution>907629393</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>15</LevelID>
                <Scale>17.63280364600017</Scale>
                <Resolution>0.0046653552953814697</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>16</LevelID>
                <Scale>8.8164018230000867</Scale>
                <Resolution>0.0023326776476907353</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>17</LevelID>
                <Scale>4.4082009115000433</Scale>
                <Resolution>0.0011663388238453676</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>18</LevelID>
                <Scale>2.2041004557500208</Scale>
                <Resolution>0.0005831694119226836</Resolution>
            </LODInfo>
            <LODInfo xsi:type='typens:LODInfo'>
                <LevelID>19</LevelID>
                <Scale>1.1020502278750111</Scale>
                <Resolution>0.00029158470596134196</Resolution>
            </LODInfo>
        </LODInfos>
        <PreciseDPI>96</PreciseDPI>
    </TileCacheInfo>
    <TileImageInfo xsi:type='typens:TileImageInfo'>
        <CacheTileFormat>PNG</CacheTileFormat>
        <CompressionQuality>0</CompressionQuality>
        <Antialiasing>false</Antialiasing>
        <BandCount>1</BandCount>
        <LERCError>0</LERCError>
    </TileImageInfo>
    <CacheStorageInfo xsi:type='typens:CacheStorageInfo'>
        <StorageFormat>esriMapCacheStorageModeCompactV2</StorageFormat>
        <PacketSize>128</PacketSize>
    </CacheStorageInfo>
</CacheInfo>
13 Replies
DavidColey
Frequent Contributor

I was actually taking a look at this again yesterday. Like you, I am still experiencing the same issues as before with rendering when panning / zooming in that the tiles won't draw until another pan / zoom event is performed, even for a single layer.  I continue to be plagued with 404 errors in my org's webmap when trying to GET a tile from the tile store e.g.:

https://tiles.arcgis.com/tiles/icrWMv7eBkctFu1f/arcgis/rest/services/StreetVectorTileNoLabels/Vector...

returns as a 404 and nothing is rendered

It would be great if esri could make available their _v2 tiling scheme.xml so I could match their latest.

0 Kudos
ChrisPedrezuela
Occasional Contributor III

seems been fixed, haven't tried though, Release notes for ArcGIS Pro 2.2—ArcGIS Pro | ArcGIS Desktop 

0 Kudos
MarcusVincent2
New Contributor II

Has anyone had any luck with this issue yet? I can publish vector tiles fine using the "ArcGIS Online / Bing Maps / Google Maps" tiling scheme but not a custom file....Does anyone have the .xml for the "pre-built" schemes??

Thanks!

0 Kudos
DavidColey
Frequent Contributor

Not really, what I've ended up doing is just continuing to use these scales/resolutions in my state plane vector tiles as kind of a work around.

0 Kudos