Custom Map Layer (topojson) Not Showing Up on Map

Hello!  I am working on integrating some custom map layers into my Looker Explores and having difficulty getting my map lines to show up.  

I have a topojson file that looks like this (abbreviated version):

{

    "type": "Topology",

    "objects":

    {

        "CAD_SUBDIVISIONS":

        {

            "type": "GeometryCollection",

            "geometries":

            [

                {

                    "type": "Polygon",

                    "arcs":

                    [

                        [

                            0,

                            1,

                            2,

                            3,

                            4

                        ]

                    ],

                    "properties":

                    {

                        "ADDN": "21025E",

                        "NAME": "subdivision1",

                        "USERID": "dbo",

                        "DATESTAMP": "2019/08/16",

                        "CREATED_ON": "2019/08/16",

                        "CREATED_BY": "dbo",

                        "Shape_STAr": 3276004.75879,

                        "Shape_STLe": 9165.22654194

                    }

                },

                {

                    "type": "Polygon",

                    "arcs":

                    [

                        [

                            5

                        ]

                    ],

                    "properties":

                    {

                        "ADDN": "37203R",

                        "NAME": "subdivision2",

                        "USERID": "dbo",

                        "DATESTAMP": "2019/06/06",

                        "CREATED_ON": "2019/01/18",

                        "CREATED_BY": "dbo",

                        "Shape_STAr": 504722.938477,

                        "Shape_STLe": 3064.85300242

                    }

                },

                 "arcs":

    [

        [

            [

                475351,

                622312

            ],

            [

                3888,

                23

            ]

        ],

],

    "bbox":

    [

        2243719.700000003,

        6865866.510156244,

        2418812.911328122,

        7068296.207421869

    ],

    "transform":

    {

        "scale":

        [

            0.17509338642150546,

            0.2024298996955247

        ],

        "translate":

        [

            2243719.700000003,

            6865866.510156244

        ]

    }

}

My map_layer is defined in the explore as:

map_layer: subdivisions {

  label: "subdivisions"

  file: "/map_layers/CAD_SUBDIVISIONS.topojson"

  property_key: "NAME"

  format: topojson }


My dimension is defined as:

  dimension: sub_division {

    type: string

    description: "Sub-Division associated with Location (from GIS)"

    sql: ${TABLE}."SUB_DIV" ;;

    label: "Sub-Division"

    map_layer_name: subdivisions

  }

The map goes to the right general location, however no lines are showing up on the map to show the locations of the subdivisions.  I’ve confirmed that the strings in the sub_division field exactly match the “NAME” values in the topojson file.  Anyone have any ideas what could be causing the map layer to not display properly on the map?  I’ve been playing with this for quite a while now (and trying other layers with the same negative results) and can’t seem to solve this puzzle.

Thank you!

0 0 307
0 REPLIES 0
Top Labels in this Space
Top Solution Authors