Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias Assign NameStore Num Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Str Str Num vararg kwarg body Expr Str ImportFrom alias Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Str attr keyword NameLoad keyword NameLoad keyword NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareLtE Call NameLoad NameLoad NameLoad UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad If Call NameLoad NameLoad Str body Assign NameStore ListLoad Call NameLoad NameLoad orelse TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Dict Str Str Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Str Str body Return NameLoad orelse Return Dict Str Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BinOpAdd BinOpAdd NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict NameLoad Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BinOpAdd NameLoad Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Print NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A __future__ unicode_literals N/A argparse N/A json N/A sys N/A webbrowser N/A github3 N/A six six.moves urllib N/A MAX_URL_LEN 150000.0 N/A DEFAULT_DOMAIN http://geojson.io/ display N/A N/A contents domain force_gist N/A DEFAULT_DOMAIN False N/A N/A 
    Open a web browser pointing to geojson.io with the specified content.

    If the content is large, an anonymous gist will be created on github and
    the URL will instruct geojson.io to download the gist data and then
    display. If the content is small, this step is not needed as the data can
    be included in the URL

    Parameters
    ----------
    content - (see make_geojson)
    domain - string, default http://geojson.io
    force_gist - bool, default False
        Create an anonymous gist on Github regardless of the size of the
        contents

     N/A url N/A make_url contents domain force_gist N/A N/A N/A webbrowser open url N/A url N/A N/A to_geojsonio display embed N/A N/A contents width height N/A 100% 512 args kwargs N/A N/A 
    Embed geojson.io in an iframe in Jupyter/IPython notebook.

    Parameters
    ----------
    contents - see make_url()
    width - string, default '100%' - width of the iframe
    height - string / int, default 512 - height of the iframe
    kwargs - additional arguments are passed to `make_url()`

     IPython.display HTML N/A url N/A make_url contents args kwargs N/A html N/A N/A <iframe src={url} width={width} height={height}></iframe> format url url width width height height N/A N/A HTML html N/A make_url N/A N/A contents domain force_gist size_for_gist N/A DEFAULT_DOMAIN False MAX_URL_LEN N/A N/A 
    Returns the URL to open given the domain and contents.

    If the file contents are large, an anonymous gist will be created.

    Parameters
    ----------
    contents
        * string - assumed to be GeoJSON
        * an object that implements __geo_interface__
            A FeatureCollection will be constructed with one feature,
            the object.
        * a sequence of objects that each implement __geo_interface__
            A FeatureCollection will be constructed with the objects
            as the features
    domain - string, default http://geojson.io
    force_gist - force gist creation regardless of file size.

    For more information about __geo_interface__ see:
    https://gist.github.com/sgillies/2217756

    If the contents are large, then a gist will be created.

     N/A contents N/A make_geojson contents N/A N/A N/A N/A len contents size_for_gist N/A force_gist N/A N/A url N/A data_url contents domain N/A N/A gist N/A _make_gist contents N/A url N/A gist_url N/A gist id domain N/A url N/A make_geojson N/A N/A contents N/A N/A N/A 
    Return a GeoJSON string from a variety of inputs.
    See the documentation for make_url for the possible contents
    input.

    Returns
    -------
    GeoJSON string

     N/A N/A isinstance contents N/A six string_types N/A N/A contents N/A N/A hasattr contents __geo_interface__ N/A N/A features N/A N/A _geo_to_feature contents N/A N/A N/A N/A feature_iter N/A iter contents N/A N/A N/A TypeError N/A N/A N/A ValueError Unknown type for input N/A features N/A N/A N/A i f N/A enumerate feature_iter N/A N/A N/A N/A hasattr f __geo_interface__ N/A N/A N/A ValueError N/A N/A Unknown type at index {0} format i N/A N/A N/A features append N/A _geo_to_feature f N/A data N/A type features FeatureCollection features N/A N/A N/A json dumps data N/A _geo_to_feature N/A N/A ob N/A N/A N/A 
    Return a GeoJSON Feature from an object that implements
    __geo_interface__

    If the object's type is a geometry, return a Feature with empty
    properties and the object's mapping as the feature geometry. If the
    object's type is a Feature, then return it.

     N/A mapping N/A ob __geo_interface__ N/A N/A N/A mapping N/A type Feature N/A N/A mapping N/A N/A N/A type geometry Feature mapping N/A data_url N/A N/A contents domain N/A DEFAULT_DOMAIN N/A N/A 
    Return the URL for embedding the GeoJSON data in the URL hash

    Parameters
    ----------
    contents - string of GeoJSON
    domain - string, default http://geojson.io

     N/A url N/A N/A domain #data=data:application/json, N/A N/A N/A urllib parse quote contents N/A url N/A _make_gist N/A N/A contents description filename N/A data.geojson N/A N/A 
    Create and return an anonymous gist with a single file and specified
    contents

     N/A ghapi N/A N/A github3 GitHub N/A files N/A filename N/A content contents N/A gist N/A N/A ghapi create_gist description files N/A gist N/A gist_url N/A N/A gist_id domain N/A DEFAULT_DOMAIN N/A N/A 
    Return the URL for loading GeoJSON data from a gist

    Parameters
    ----------
    contents - string, gist id
    domain - string, default http://geojson.io

     N/A url N/A domain N/A N/A #id=gist:/{0} format gist_id N/A url N/A main N/A N/A N/A N/A N/A parser N/A N/A argparse ArgumentParser description Quickly visualize GeoJSON data on geojson.io N/A N/A N/A parser add_argument -p --print dest do_print action store_true help print the URL N/A N/A N/A parser add_argument -d --domain dest domain default DEFAULT_DOMAIN help Alternate URL instead of http://geojson.io/ N/A N/A N/A parser add_argument filename nargs ? type N/A N/A argparse FileType r default N/A sys stdin help The file to send to geojson.io N/A args N/A N/A parser parse_args N/A contents N/A N/A N/A args filename read N/A url N/A make_url contents N/A args domain N/A N/A args do_print N/A N/A url N/A N/A N/A N/A webbrowser open url N/A N/A N/A __name__ __main__ N/A N/A N/A main