Retrieve floorplans from ALE


Is there an easy way to pull/retrieve maps/floorplans from ALE via a web/restapi call?


This is very easy to do with the RESTAPI for both ALE 1.3 and 2.0.

As you are aware, maps in ALE are associated to a Floor, which is part of a Building, which in turn is part of a campus.

To query the list of campuses, buildings, and floors, you use the RESTAPI calls:

ALE 1.3


For ALE 2.0, the recommend way to access the RESTAPI is through https (tcp/443) even though http on port 8080 is still supported (with a change of ACL/iptables). Also, ALE 2.0 restapi requires authentication. If you access it with a program (curl/wget/script), you need to send userid/password. And you might need to ignore cert check.


The URL for downloading the image is in one of the attributes of the ‘floor’ call.

For example, in ALE 1.3, here’s the output for one of the ‘floor’:


As you can see, the dimensions of the floor as well as the unit are part of the attributes. The unit correspond to how it is set-up in AirWave. In the above case, the floor size is: X=274.8 feet and Y=.103.48.

The URL for downloading the image is:


Note that this if on Port 80 instead of 8080.

The (X,Y) co-ordinates are calculated as feet/meter from the TOP LEFT corner. There is a nice picture explicitly explaining this in the ALE 2.0 API User Guide.

Note that in some older version of ALE (maybe 1.2), the ‘unit’ attribute is not part of the output. It is assumed to be in ‘feet’. ALE 1.x only works properly if AirWave is set to use imperial (i.e. ‘feet’) as the unit.

It’s slightly different in ALE 2.0.

             "floor_name":"Aruba Networks Hong Kong",

The ‘unit’ is part of the attributes. And I believe that it doesn’t need to correspond to how it’s set in AirWave. It can be set independently in ALE. (But will need to confirm that it works properly if the two units are different).

The URL to download the image is also slightly different. In ALE 2.0, the preferred way to retrieve anything is via ‘https’ (tcp/443). So the URL for downloading the image is:

Version history
Revision #:
2 of 2
Last update:
‎02-02-2016 12:12 AM
Updated by:
Labels (1)
Search Airheads
Showing results for 
Search instead for 
Did you mean: