cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
301
Views
0
Helpful
2
Replies
Highlighted
Cisco Employee

How to get zone's polygon in CMX?

Hi,

How to get zone's polygon in CMX?

From map resource API "https://cmxlocationsandbox.cisco.com/api/config/v1/maps", I can get only zone's X and Y coordinates. But I need zone's polygon with lat longs instead of X and Y. Is there any way to get zone's polygon?


Thanks in advance   

"zones": [

                                {

                                    "name": "FOODCORNER",

                                    "zoneCoordinate": [

                                        {

                                            "x": 229.20915,

                                            "y": 147.40332,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 262.77676,

                                            "y": 120.29466,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 286.8505,

                                            "y": 146.7256,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 277.6957,

                                            "y": 164.34622,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 273.96597,

                                            "y": 172.47882,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 265.15024,

                                            "y": 183.66115,

                                            "z": 0,

                                            "unit": "FEET"

                                        }

                                    ],

                                    "zoneType": "ZONE"

                                },

                                {

                                    "name": "RESTROOM",

                                    "zoneCoordinate": [

                                        {

                                            "x": 291.59744,

                                            "y": 168.41252,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 287.52863,

                                            "y": 144.69244,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 290.58023,

                                            "y": 140.2873,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 298.37878,

                                            "y": 136.221,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 309.2289,

                                            "y": 135.88214,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 330.9292,

                                            "y": 135.88214,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 331.60733,

                                            "y": 170.78453,

                                            "z": 0,

                                            "unit": "FEET"

                                        }

                                    ],

                                    "zoneType": "ZONE"

                                },

                                {

                                    "name": "Lab 1",

                                    "zoneCoordinate": [

                                        {

                                            "x": 336.35425,

                                            "y": 232.79558,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 337.03238,

                                            "y": 202.97606,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 356.69827,

                                            "y": 200.94292,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 356.02014,

                                            "y": 233.4733,

                                            "z": 0,

                                            "unit": "FEET"

                                        },

                                        {

                                            "x": 355.34198,

                                            "y": 234.15102,

                                            "z": 0,

                                            "unit": "FEET"

                                        }

                                    ],

                                    "zoneType": "ZONE"

                                }

                            ]

Thanks,

Rajesh T

2 REPLIES 2
Frequent Contributor

Re: How to get zone's polygon in CMX?

Hi,

The GPS Marker are added to the floor maps from Prime Infrastructure and imported to CMX.  Currently, the gps markers are used only for calculating the wireless device and AP locations (geoCoordinates) on the floor that has at least three gps markers.  I have only seen zone vertices given in x,y feet dimensions.

Matt

Cisco Employee

Re: How to get zone's polygon in CMX?

Thanks Matt

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.