Skip to content

Commit

Permalink
Fix data from WFS no crs
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Jun 18, 2018
1 parent e8fd297 commit 91666f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _solved/case-conflict-mapping.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"\n",
"r = requests.get(wfs_url, params=params)\n",
"data_features = json.loads(r.content.decode('UTF-8'))\n",
"data_visits = geopandas.GeoDataFrame.from_features(data_features)"
"data_visits = geopandas.GeoDataFrame.from_features(data_features, crs={'init': 'epsg:4326'})"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion case-conflict-mapping.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"\n",
"r = requests.get(wfs_url, params=params)\n",
"data_features = json.loads(r.content.decode('UTF-8'))\n",
"data_visits = geopandas.GeoDataFrame.from_features(data_features)"
"data_visits = geopandas.GeoDataFrame.from_features(data_features, crs={'init': 'epsg:4326'})"
]
},
{
Expand Down

0 comments on commit 91666f4

Please sign in to comment.