Skip to content

Commit cd532a2

Browse files
committed
fix broken links, use https
1 parent 6864139 commit cd532a2

10 files changed

Lines changed: 17 additions & 23 deletions

File tree

docs/advanced_guide/geodedetic_image_overlay.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,6 @@ TODO: Try [rasterio](https://github.com/mapbox/rasterio/blob/ca75cf0a842943c1b3d
102102

103103
## Compare to original
104104

105-
From https://scitools.org.uk/cartopy/docs/latest/gallery/waves.html
105+
From https://scitools.org.uk/cartopy/docs/latest/gallery/scalar_data/waves.html
106106

107107
![](https://scitools.org.uk/cartopy/docs/latest/_images/sphx_glr_waves_001.png)

docs/advanced_guide/polygons_from_list_of_points.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ my_envelope_map
193193
```
194194

195195
## Concave hull (alpha shape)
196-
In some cases the convex hull does not yield good results - this is when the shape of the polygon should be concave instead of convex. The solution is a concave hull that is also called alpha shape. Yet, there is no ready to go, off the shelve solution for this but there are great resources (see: http://blog.thehumangeo.com/2014/05/12/drawing-boundaries-in-python/, accessed 04.01.2019 or https://towardsdatascience.com/the-concave-hull-c649795c0f0f, accessed 29.12.2018).
196+
In some cases the convex hull does not yield good results - this is when the shape of the polygon should be concave instead of convex. The solution is a concave hull that is also called alpha shape. Yet, there is no ready to go, off the shelve solution for this but there are great resources (see: https://web.archive.org/web/20191207074940/http://blog.thehumangeo.com/2014/05/12/drawing-boundaries-in-python/, accessed 04.01.2019 or https://towardsdatascience.com/the-concave-hull-c649795c0f0f, accessed 29.12.2018).
197197

198198

199199
## Putting it together
@@ -259,14 +259,12 @@ my_map_global
259259

260260
## Sources:
261261

262-
* http://blog.yhat.com/posts/interactive-geospatial-analysis.html, accessed 28.12.2018
262+
* https://web.archive.org/web/20200222150431/http://blog.yhat.com/posts/interactive-geospatial-analysis.html, accessed 28.12.2018
263263

264264
* https://docs.scipy.org/doc/scipy-0.19.0/reference/generated/scipy.spatial.ConvexHull.html, accessed 29.12.2018
265265

266-
* https://www.oreilly.com/ideas/an-elegant-solution-to-the-convex-hull-problem, accessed 29.12.2018
267-
268266
* https://medium.com/@vworri/simple-geospacial-mapping-with-geopandas-and-the-usual-suspects-77f46d40e807, accessed 29.12.2018
269267

270268
* https://towardsdatascience.com/the-concave-hull-c649795c0f0f, accessed 29.12.2018
271269

272-
* http://blog.thehumangeo.com/2014/05/12/drawing-boundaries-in-python/, accessed 04.01.2019
270+
* https://web.archive.org/web/20191207074940/http://blog.thehumangeo.com/2014/05/12/drawing-boundaries-in-python/, accessed 04.01.2019

docs/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ You can also pass any tileset as a url template. Choose one from https://leaflet
6868
and pass the url and attribution. For example:
6969

7070
```
71-
folium.Map(tiles='http://{s}.tiles.example.com/{z}/{x}/{y}.png', attr='My Data Attribution')
71+
folium.Map(tiles='https://{s}.tiles.example.com/{z}/{x}/{y}.png', attr='My Data Attribution')
7272
```
7373

7474
Folium also accepts objects from the [xyzservices package](https://github.com/geopandas/xyzservices).

docs/user_guide/geojson/geojson.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ You can provide a function of the form `lambda feature: {}` that sets the style
102102

103103
For possible options, see:
104104

105-
* For `Point` and `MultiPoint`, see http://leafletjs.com/reference.html#marker
106-
* For other features, see http://leafletjs.com/reference.html#path-options and http://leafletjs.com/reference.html#polyline-options
105+
* For `Point` and `MultiPoint`, see https://leafletjs.com/reference.html#marker
106+
* For other features, see https://leafletjs.com/reference.html#path and https://leafletjs.com/reference.html#polyline
107107

108108
```{code-cell} ipython3
109109
m = folium.Map([43, -100], zoom_start=4)

docs/user_guide/geojson/geopandas_and_geo_interface.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ import folium
77

88
# Using GeoPandas.GeoDataFrame in folium
99

10-
GeoPandas is a project to add support for geographic data to [pandas](http://pandas.pydata.org) objects.
10+
GeoPandas is a project to add support for geographic data to [pandas](https://pandas.pydata.org) objects.
1111
(See https://github.com/geopandas/geopandas)
1212

1313
It provides (among other cool things) a `GeoDataFrame` object that represents a Feature collection.
1414
When you have one, you may be willing to use it on a folium map. Here's the simplest way to do so.
1515

16-
In this example, we'll use the same file as GeoPandas demo ; it's containing
17-
[the boroughs of New York City](http://www.nyc.gov/html/dcp/download/bytes/nybb_14aav.zip).
16+
In this example, we'll use the same file as GeoPandas demo ; it's containing the boroughs of New York City.
1817

1918
```{code-cell} ipython3
2019
boros = folium.example_data.new_york_boroughs_geodataframe()

docs/user_guide/plugins/locate_control.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import folium.plugins
99
## LocateControl
1010

1111
Adds a control button that when clicked, the user device geolocation is displayed.
12-
For list of all possible keyword options see:
13-
https://github.com/domoritz/leaflet-locatecontrol#possible-options
12+
For list of all possible keyword options see 'Possible options' on https://github.com/domoritz/leaflet-locatecontrol.
1413

1514
To work properly in production, the connection needs to be encrypted (HTTPS),
1615
otherwise the browser will not allow users to share their location.

docs/user_guide/plugins/search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ mean = round(states["density"].mean(), 2)
5656
print(f"minimum: {minimum}", f"maximum: {maximum}", f"Mean: {mean}", sep="\n\n")
5757
```
5858

59-
This looks better. Our min and max values for the colorscale are much closer to the mean value now. Let's run with these values, and make a colorscale. I'm just going to use a sequential light-to-dark color palette from the [ColorBrewer](https://colorbrewer2.org/#type=sequential&scheme=Purples&n=5).
59+
This looks better. Our min and max values for the colorscale are much closer to the mean value now. Let's run with these values, and make a colorscale. I'm just going to use a sequential light-to-dark color palette from the [ColorBrewer](https://colorbrewer2.org/?type=sequential&scheme=Purples&n=5).
6060

6161
```{code-cell} ipython3
6262
import branca

docs/user_guide/raster_layers/tiles.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ folium.Map(location=[lat, lon], tiles="Cartodb dark_matter", zoom_start=zoom_sta
4040

4141
```{code-cell} ipython3
4242
attr = (
43-
'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> '
44-
'contributors, &copy; <a href="http://cartodb.com/attributions">CartoDB</a>'
43+
'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> '
44+
'contributors, &copy; <a href="https://cartodb.com/attributions">CartoDB</a>'
4545
)
46-
tiles = "http://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png"
46+
tiles = "https://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png"
4747
4848
folium.Map(location=[lat, lon], tiles=tiles, attr=attr, zoom_start=zoom_start)
4949
```
5050

5151
### Other tilesets
5252

53-
For a list of many more tile providers go to http://leaflet-extras.github.io/leaflet-providers/preview/.
53+
For a list of many more tile providers go to https://leaflet-extras.github.io/leaflet-providers/preview/.
5454

5555
You can also use the xyzservices package: https://github.com/geopandas/xyzservices.

docs/user_guide/raster_layers/wms_tile_layer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import folium
1111
m = folium.Map(location=[41, -70], zoom_start=5, tiles="cartodb positron")
1212
1313
folium.WmsTileLayer(
14-
url="http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi",
14+
url="https://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi",
1515
name="test",
1616
fmt="image/png",
1717
layers="nexrad-n0r-900913",

docs/user_guide/vector_layers/polyline.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ import folium
88
# PolyLine
99

1010
```{code-cell} ipython3
11-
# Coordinates are 15 points on the great circle from Boston to
12-
# San Francisco.
13-
# Reference: http://williams.best.vwh.net/avform.htm#Intermediate
11+
# Coordinates are 15 points on the great circle from Boston to San Francisco.
1412
coordinates = [
1513
[42.3581, -71.0636],
1614
[42.82995815, -74.78991444],

0 commit comments

Comments
 (0)