B
    @\                  @   sd   d Z ddlmZmZmZmZ ddlZeeZ	ddl
Z
ddlmZ ddlmZ dZdd	 Ze ZdS )
a   The data in airports.json is a subset of US airports with field
elevations > 1500 meters. The query result was taken from

.. code-block:: none

    http://services.nationalmap.gov/arcgis/rest/services/GlobalMap/GlobalMapWFS/MapServer/10/query

on October 15, 2015.

    )absolute_importdivisionprint_functionunicode_literalsN   )import_required)external_path)datac           	   C   s   t dd} ttddr}| }t|}ddgddgdd	gdd
gg}| jjj|d |d}|jddddd |jd	d
ddd W dQ R X |S )z

    ZpandaszOairports sample data requires Pandas (http://pandas.pydata.org) to be installedzairports.jsonrZ
attributesZnamZzv3ZgeometryxyZfeatures)metanameZ	elevation)zattributes.namzattributes.zv3T)columnsZinplace)z
geometry.xz
geometry.yN)	r   openr   readjsonloadsioZjson_normalizerename)ZpdfZcontentZairportsZschemar	    r   8lib/python3.7/site-packages/bokeh/sampledata/airports.py
_read_data;   s    

r   )__doc__Z
__future__r   r   r   r   ZloggingZ	getLogger__name__logr   Zutil.dependenciesr   Zutil.sampledatar   __all__r   r	   r   r   r   r   <module>   s   
