Update on ImageOverlay, and example nb#293
Update on ImageOverlay, and example nb#293ocefpaf merged 3 commits intopython-visualization:masterfrom
Conversation
👍 |
|
@ocefpaf Otherwise, the main
I'd vote for:
@andrewgiessel your opinion would be welcome ; |
|
I am OK with your strategy. |
|
Done. We still have two functions in
|
|
This looks great! Thanks guys! In brief, what was the error with the On Mon, Dec 7, 2015 at 9:20 AM Martin Journois notifications@github.com
|
10ceef3 to
8c27942
Compare
|
Squashed. @andrewgiessel I guess the problem was (and still is) that you cannot draw an image from lat=-90 to lat=+90 ; because the mercator projection square has limits at -85.0513 to 85.0513. If you replace by then you get the expected graph. |
|
I am 👍 to the plugin approach. I am on the fence about the mercator transform here. My problem with this solution is that, in the previous transform and in the cartopy [1] http://nbviewer.ipython.org/gist/ocefpaf/954e65fa83e116eedd3e |
There was a problem hiding this comment.
This looks correct to me in this example: http://nbviewer.ipython.org/gist/ocefpaf/4e30b6b3d2426e6294d1
I do note that warping the image, both cartopy and the old function we had, looks "different" (not as smooth as the current version). Not sure why and I haven't investigate what goes under the cover.
I will try to "beef up" the tests to check this and avoid future regressions.
|
@BibMartin I tuned out for a while. (Sorry... Day job calling.) Is this PR OK for another round of review? |
Yes, I guess (hope) it's okay. |
Update on ImageOverlay, and example nb
|
Thanks @BibMartin! Folium |
I hope this addresses #291.
What's new:
ImageOverlayand it'sutilities.Layerobject behindTileLayerso thatTileLayeris not the common parent of all layers (forLayerControl)ImageOverlay. For reviewing this part, I guess it's simpler to go on http://nbviewer.ipython.org/github/bibmartin/folium/blob/image_overlay/examples/ImageOverlay.ipynbAt the cost of doing this, I wonder whether I shall not move
ImageOverlayto plugins, as discussed in #280.