import json
import matplotlib.pyplot as plt

filnavn = "norway.json"
with open(filnavn) as f:
    content = json.loads(f.read())

coords = content['features'][0]['geometry']['coordinates']

print(coords)
xs, ys = [], []
for i in coords:
    for j in i:
        for x,y in j:
            print(x,y)
            xs.append(x)
            ys.append(y)

import matplotlib.pyplot as plt
plt.scatter(xs,ys, s=1)
plt.show()


