Creating Vector Tile Service to match existing Basemap

135
0
05-14-2019 02:15 PM
MarcoPoetsch
Occasional Contributor II

Hi all!

I'm trying to create and publish a vector tile service to AGOL.

On AGOL I use a basemap which has a quite unique tiling scheme and level of details. See here for more details.

My goal is to use the vector tile layer with this basemap.

The tiling scheme I created looks like this:

<?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/2.3.0">
    <SpatialReference xsi:type="typens:ProjectedCoordinateSystem">
        <WKT>PROJCS["NZGD_2000_New_Zealand_Transverse_Mercator",GEOGCS["GCS_NZGD_2000",DATUM["D_NZGD_2000",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1600000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",173.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0],AUTHORITY["EPSG",2193]]</WKT>
        <XOrigin>-4020900</XOrigin>
        <YOrigin>1900</YOrigin>
        <XYScale>10000</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>2193</WKID>
        <LatestWKID>2193</LatestWKID>
    </SpatialReference>
    <TileOrigin xsi:type="typens:PointN">
        <X>-8397963.942936342</X>
        <Y>1.9997963942936342E7</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>4096000</Scale>
            <Resolution>1083.7355008043351</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>1</LevelID>
            <Scale>2048000</Scale>
            <Resolution>541.86775040216753</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>2</LevelID>
            <Scale>1024000</Scale>
            <Resolution>270.93387520108377</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>3</LevelID>
            <Scale>512000</Scale>
            <Resolution>135.46693760054188</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>4</LevelID>
            <Scale>256000</Scale>
            <Resolution>67.733468800270941</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>5</LevelID>
            <Scale>128000</Scale>
            <Resolution>33.866734400135471</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>6</LevelID>
            <Scale>64000</Scale>
            <Resolution>16.933367200067735</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>7</LevelID>
            <Scale>32000</Scale>
            <Resolution>8.4666836000338677</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>8</LevelID>
            <Scale>16000</Scale>
            <Resolution>4.2333418000169338</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>9</LevelID>
            <Scale>8000</Scale>
            <Resolution>2.1166709000084669</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>10</LevelID>
            <Scale>4000</Scale>
            <Resolution>1.0583354500042335</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>11</LevelID>
            <Scale>2000</Scale>
            <Resolution>0.52916772500211673</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>12</LevelID>
            <Scale>1000</Scale>
            <Resolution>0.26458386250105836</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>13</LevelID>
            <Scale>500</Scale>
            <Resolution>0.13229193125052918</Resolution>
        </LODInfo>
        <LODInfo xsi:type="typens:LODInfo">
            <LevelID>14</LevelID>
            <Scale>250</Scale>
            <Resolution>0.066145965625264591</Resolution>
        </LODInfo>
    </LODInfos>
    <PreciseDPI>96</PreciseDPI>
</TileCacheInfo>

There aren't any error messages, however, the published seems to be empty. The web map zooms to the right extent, but nothing gets displayed.

Does anyone know what's going on?

0 Replies