Map data

Data structures used to store map data in the frontend and the database

Component data coming into the app from the DB

{
    "project_component_id": 9,
    "component_id": 5,
    "description": null,
    "moped_components": {
        "component_name": "Bike Box",
        "component_subtype": null,
        "feature_layer": {
            "internal_table": "feature_intersections",
            "__typename": "feature_layers"
        },
        "line_representation": false,
        "moped_subcomponents": [],
        "__typename": "moped_components"
    },
    "moped_proj_components_subcomponents": [],
    "feature_street_segments": [],
    "feature_intersections": [
        {
            "id": 5,
            "geometry": {
                "type": "MultiPoint",
                "crs": {
                    "type": "name",
                    "properties": {
                        "name": "urn:ogc:def:crs:EPSG::4326"
                    }
                },
                "coordinates": [
                    [
                        -97.747659,
                        30.32262
                    ]
                ]
            },
            "source_layer": "ATD_ADMIN.CTN_Intersections",
            "intersection_id": 5155989,
            "component_id": 9,
            "__typename": "feature_intersections"
        },
        {
            "id": 6,
            "geometry": {
                "type": "MultiPoint",
                "crs": {
                    "type": "name",
                    "properties": {
                        "name": "urn:ogc:def:crs:EPSG::4326"
                    }
                },
                "coordinates": [
                    [
                        -97.748264,
                        30.321573
                    ]
                ]
            },
            "source_layer": "ATD_ADMIN.CTN_Intersections",
            "intersection_id": 5155903,
            "component_id": 9,
            "__typename": "feature_intersections"
        }
    ],
    "feature_signals": [],
    "feature_drawn_lines": [],
    "feature_drawn_points": [],
    "__typename": "moped_proj_components"
}

Feature data coming into the app from feature tables

LineString component

Point component

Signal (Pedestrian Hybrid Beacon or Traffic) component

Data prepared to insert into the database

LineString component

Point component

Signal (Pedestrian Hybrid Beacon or Traffic) component

Last updated

Was this helpful?