Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug with df_to_geojson and non-sequential indices #132

Merged
merged 1 commit into from Oct 29, 2018
Merged

Fix bug with df_to_geojson and non-sequential indices #132

merged 1 commit into from Oct 29, 2018

Conversation

sllvn
Copy link
Contributor

@sllvn sllvn commented Oct 24, 2018

Fixes #115

@ryanbaumann
Copy link
Contributor

Thanks for the PR @licyeus !

@ryanbaumann ryanbaumann merged commit 6e3de63 into mapbox:master Oct 29, 2018
akacarlyann pushed a commit to akacarlyann/mapboxgl-jupyter that referenced this pull request Nov 11, 2018
ryanbaumann pushed a commit that referenced this pull request Mar 19, 2019
* Add  function

* Add test notebook for variable radius legend

* Fix link markup in readme (#124)

* Update README.rst (#123)

Add import so that example runs

* upgrade to gl js v49 (#125)

* upgrade to v0.9.0

* Support vector tile source for additional viz types (#120)

* Update text-size to use expression based on viz.label_size property

* Add new label properties to choropleth viz templates

* Move label properties to base class (leverage inheritance to reduce repeated arguments)

* Extract vector_color_map and numeric map (for height or line_width) to a VectorMixin class; fixes linestring bug with interpolation of color for certain color lookups with match-type

* Extend CircleViz with VectorMixin (start GraduatedCircleViz, HeatmapViz, ClusteredCircleViz)

* Extend vector data loading to base map and CircleMap -- datadriven styling for radius needs work

* Refine color mapping in VectorMixin and update templates, viz.py

* Update CircleViz template files with Jinja inheritance, establish {% block circle %} tag

* Update Vector layer example for CircleViz; add geojson_file_to_dict utility and logic to viz.py to facilitate loading data from JSON object, list of Python dicts, GeoJSON filename

* Refine function for parsing GeoJSON and JSON input (esp for vector visualizations) and add SourceDataError

* Add support for GraduatedCircleViz template to use vector source data layer

* Add support for HeatmapViz to use vector data source

* Add and refine tests; update utility name for geojson_to_dict etc.

* Change FileNotFoundError to IOError for Python2.7 support

* Enable data from vector layers to be used for data-driven style (without using data-join technique)

* Update docs for VectorMixin class, vector properties and label properties inherited from MapViz parent class

* Update geojson_to_dict to geojson_to_dict_list and add docs; organize MapBox.create_html()

* Fix bug with df_to_geojson and non-sequential indices (#132)

* Support variable radius legend with legend_function='radius' setting for GraduatedCircleViz

* Update docs

* Move LegendError to  method `create_html`

* Bugfix for LegendError test

* Refactor legend placement scripts and add updateAttribMargin and updateLegendMargin functions in main.html to automatically place secondary legends
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants