Skip to content

Commit

Permalink
Use British National Grid (EPSG:27700) projection
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbacon committed Nov 6, 2023
1 parent ccd12cc commit 9e437a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions process.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def generate_dummy_json():
pcn_color_data['gradient_color'] = pcn_color_data['emis_proportion'].apply(coolwarm_cmap)

gdf_colored = gdf.merge(pcn_color_data, left_on='code', right_on='pcn_code')
gdf_colored.to_crs(epsg=27700)

# Plot and save map
fig, ax = plt.subplots(1, 1, figsize=(15, 15))
Expand Down

0 comments on commit 9e437a6

Please sign in to comment.