SpatialParseback / pages /2_Locate.py
Shunfeng Zheng
Upload 83 files
4c425e5 verified
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Jul 30 19:55:23 2022
@author: syed
"""
import streamlit as st
from PIL import Image
import base64
from streamlit_folium import folium_static
import folium
from utils import geoutil
from disambiguation import disambiguate
import spacy
import en_core_web_md
from geocoder import geo_level3
from streamlit.components.v1 import html
from spacy.tokens import Span, Doc
from utils import llm_coding
import json
def nav_page(page_name, timeout_secs=3):
nav_script = """
<script type="text/javascript">
function attempt_nav_page(page_name, start_time, timeout_secs) {
var links = window.parent.document.getElementsByTagName("a");
for (var i = 0; i < links.length; i++) {
if (links[i].href.toLowerCase().endsWith("/" + page_name.toLowerCase())) {
links[i].click();
return;
}
}
var elasped = new Date() - start_time;
if (elasped < timeout_secs * 1000) {
setTimeout(attempt_nav_page, 100, page_name, start_time, timeout_secs);
} else {
alert("Unable to navigate to page '" + page_name + "' after " + timeout_secs + " second(s).");
}
}
window.addEventListener("load", function() {
attempt_nav_page("%s", new Date(), %d);
});
</script>
""" % (page_name, timeout_secs)
html(nav_script)
geojson = ""
def set_header():
st.markdown(
"""
<style>
.container {
display: flex;
}
.logo-text {
font-weight:700 !important;
font-size:50px !important;
color: #52aee3 !important;
padding-left: 10px !important;
}
.logo-img {
float:right;
width: 10%;
height: 10%;
}
</style>
""",
unsafe_allow_html=True
)
st.markdown(
f"""
<div class="container">
<p class="logo-text">SpatialParse</p>
</div>
""",
unsafe_allow_html=True
)
def set_selected_entities(doc, types):
gpe_selected = 'GPE'
loc_selected = 'LOC'
rse_selected = 'RSE'
ents = [ent for ent in doc.ents if ent.label_ == gpe_selected or ent.label_ == loc_selected or ent.label_ == rse_selected]
doc.ents = ents
return doc
def extract_spatial_entities(model,text, types):
# nlp = spacy.load(model)
nlp = spacy.load('en_core_web_md')
nlp.add_pipe("spatial_pipeline", after="ner")
doc = nlp(text)
doc = set_selected_entities(doc, types)
return doc
def view_polygon_menu():
global geojson
# params = st.experimental_get_query_params()
params = st.query_params
ase = None
level_1= None
level_2= None
level_3= None
if "entity" in params:
print(params, 'ppr')
ase, level_1, level_2, level_3 = geoutil.get_ent(params["entity"])
# print(type(ase), 'ttt')
# print(type(params), 'eee')
# print(params, 'eee')
md = "<span><b>ASE:</b>&emsp;"+ str(ase)+"&emsp;<b>Level 1:</b>&emsp;"+ str(level_1)+"&emsp;<b>Level 2:</b>&emsp;"+ str(level_2)+"&emsp;<b>Level 3:</b>&emsp;"+ str(level_3)+"</span>"
st.write(md, unsafe_allow_html=True)
# doc = extract_spatial_entities(params["model"][0],params["text"][0],params["type"][0])
doc = ent_span.sent
geojson = disambiguate.dismabiguate_entities(doc, params["entity"][0], ase, level_1, level_2, level_3, False)
# geojson = {'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'id': '5 km_west_Burwood', 'properties': {'centroid': (151.10248047317933, -33.8858088)}, 'geometry': {'type': 'Polygon', 'coordinates': [[(102.67561479341096, 11.75), (102.67550060261095, 11.73546107473138), (102.67515805838582, 11.720925736725016), (102.67458724525322, 11.706397572358071), (102.67378830405275, 11.691880166237707), (102.6727614319112, 11.67737710031666), (102.67150688219388, 11.66289195300943), (102.6700249644422, 11.64842829830937), (102.66831604429717, 11.633989704906849), (102.66638054340928, 11.619579735308745), (102.66421893933438, 11.605201944959433), (102.66183176541595, 11.590859881363542), (102.65921961065345, 11.57655708321066), (102.65638311955696, 11.562297079502216), (102.65332299198822, 11.548083388680743), (102.65003998298792, 11.53391951776177), (102.64653490258941, 11.51980896146851), (102.64280861561882, 11.505755201369583), (102.63886204148172, 11.491761705020004), (102.63469615393619, 11.47783192510561), (102.63031198085268, 11.463969298591158), (102.62571060396029, 11.45017724587231), (102.6208931585799, 11.436459169931698), (102.6158608333441, 11.422818455499293), (102.61061486990383, 11.40925846821727), (102.60515656262204, 11.39578255380959), (102.59948725825443, 11.382394037256491), (102.593608355617, 11.36909622197409), (102.58752130524098, 11.355892388999331), (102.581227609015, 11.34278579618043), (102.57472881981444, 11.329779677373041), (102.56802654111826, 11.316877241642372), (102.56112242661344, 11.304081672471371), (102.55401817978695, 11.291396126975268), (102.54671555350538, 11.278823735122598), (102.5392163495825, 11.266367598962926), (102.53152241833465, 11.25403079186146), (102.52363565812425, 11.241816357740758), (102.51555801489137, 11.229727310329666), (102.50729148167359, 11.217766632419746), (102.49883809811432, 11.205937275129296), (102.49019994995945, 11.194242157175221), (102.48137916854276, 11.182684164152882), (102.4723779302601, 11.171266147824108), (102.46319845603232, 11.15999092541358), (102.45384301075734, 11.148861278913708), (102.44431390275128, 11.137879954398233), (102.43461348317895, 11.127049661344662), (102.42474414547374, 11.116373071965748), (102.41470832474705, 11.105852820550163), (102.40450849718748, 11.095491502812527), (102.39414717944983, 11.08529167525295), (102.38362692803425, 11.075255854526262), (102.37295033865534, 11.065386516821054), (102.36212004560177, 11.05568609724873), (102.35113872108629, 11.046156989242668), (102.34000907458642, 11.03680154396768), (102.32873385217589, 11.027622069739902), (102.31731583584713, 11.018620831457243), (102.30575784282478, 11.00980005004056), (102.29406272487071, 11.001161901885679), (102.28223336758026, 10.992708518326404), (102.27027268967034, 10.984441985108635), (102.25818364225924, 10.976364341875751), (102.24596920813855, 10.96847758166535), (102.23363240103707, 10.960783650417502), (102.2211762648774, 10.953284446494616), (102.20860387302473, 10.945981820213046), (102.19591832752863, 10.938877573386558), (102.18312275835763, 10.93197345888175), (102.17022032262696, 10.925271180185568), (102.15721420381958, 10.918772390984994), (102.14410761100066, 10.91247869475902), (102.13090377802591, 10.906391644383012), (102.11760596274351, 10.90051274174557), (102.1042174461904, 10.894843437377954), (102.09074153178273, 10.88938513009618), (102.0771815445007, 10.884139166655899), (102.0635408300683, 10.879106841420091), (102.04982275412769, 10.87428939603971), (102.03603070140885, 10.869688019147317), (102.0221680748944, 10.865303846063807), (102.00823829498, 10.86113795851829), (101.99424479863042, 10.857191384381178), (101.98019103853149, 10.85346509741059), (101.96608048223823, 10.849960017012075), (101.95191661131926, 10.846677008011776), (101.93770292049778, 10.843616880443037), (101.92344291678934, 10.840780389346547), (101.90914011863646, 10.83816823458404), (101.89479805504057, 10.835781060665619), (101.88042026469125, 10.833619456590728), (101.86601029509315, 10.831683955702825), (101.85157170169063, 10.829975035557796), (101.83710804699056, 10.828493117806113), (101.82262289968334, 10.827238568088807), (101.80811983376229, 10.82621169594725), (101.79360242764193, 10.825412754746779), (101.77907426327498, 10.824841941614176), (101.76453892526862, 10.824499397389044), (101.75, 10.824385206589042), (101.73546107473138, 10.824499397389044), (101.72092573672502, 10.824841941614176), (101.70639757235807, 10.825412754746779), (101.69188016623771, 10.82621169594725), (101.67737710031666, 10.827238568088807), (101.66289195300944, 10.828493117806113), (101.64842829830937, 10.829975035557796), (101.63398970490685, 10.831683955702825), (101.61957973530875, 10.833619456590727), (101.60520194495943, 10.835781060665619), (101.59085988136354, 10.83816823458404), (101.57655708321066, 10.840780389346547), (101.56229707950222, 10.843616880443037), (101.54808338868074, 10.846677008011774), (101.53391951776177, 10.849960017012075), (101.51980896146851, 10.85346509741059), (101.50575520136958, 10.857191384381178), (101.49176170502001, 10.861137958518288), (101.47783192510562, 10.865303846063807), (101.46396929859117, 10.869688019147315), (101.45017724587231, 10.874289396039709), (101.4364591699317, 10.879106841420091), (101.4228184554993, 10.884139166655897), (101.40925846821727, 10.88938513009618), (101.3957825538096, 10.894843437377952), (101.38239403725649, 10.90051274174557), (101.36909622197409, 10.906391644383012), (101.35589238899934, 10.912478694759018), (101.34278579618044, 10.918772390984994), (101.32977967737304, 10.925271180185566), (101.31687724164237, 10.931973458881748), (101.30408167247137, 10.938877573386556), (101.29139612697527, 10.945981820213046), (101.2788237351226, 10.953284446494614), (101.26636759896293, 10.9607836504175), (101.25403079186147, 10.968477581665349), (101.24181635774076, 10.97636434187575), (101.22972731032966, 10.984441985108633), (101.21776663241975, 10.992708518326403), (101.2059372751293, 11.001161901885677), (101.19424215717522, 11.009800050040559), (101.18268416415289, 11.018620831457241), (101.17126614782411, 11.0276220697399), (101.15999092541358, 11.036801543967679), (101.14886127891371, 11.046156989242666), (101.13787995439823, 11.055686097248728), (101.12704966134466, 11.065386516821052), (101.11637307196575, 11.075255854526258), (101.10585282055017, 11.085291675252948), (101.09549150281252, 11.095491502812525), (101.08529167525295, 11.105852820550162), (101.07525585452626, 11.116373071965747), (101.06538651682105, 11.12704966134466), (101.05568609724872, 11.137879954398231), (101.04615698924268, 11.148861278913705), (101.03680154396768, 11.159990925413576), (101.0276220697399, 11.171266147824106), (101.01862083145724, 11.18268416415288), (101.00980005004057, 11.19424215717522), (101.00116190188568, 11.205937275129292), (100.99270851832641, 11.217766632419742), (100.98444198510863, 11.229727310329665), (100.97636434187575, 11.241816357740756), (100.96847758166535, 11.254030791861458), (100.9607836504175, 11.266367598962923), (100.95328444649462, 11.278823735122597), (100.94598182021305, 11.291396126975267), (100.93887757338656, 11.30408167247137), (100.93197345888176, 11.31687724164237), (100.92527118018558, 11.32977967737304), (100.918772390985, 11.342785796180426), (100.91247869475902, 11.35589238899933), (100.906391644383, 11.369096221974086), (100.90051274174557, 11.382394037256487), (100.89484343737796, 11.395782553809589), (100.88938513009619, 11.409258468217269), (100.8841391666559, 11.42281845549929), (100.8791068414201, 11.436459169931695), (100.87428939603971, 11.450177245872306), (100.86968801914732, 11.463969298591156), (100.86530384606381, 11.477831925105608), (100.86113795851828, 11.491761705020002), (100.85719138438118, 11.50575520136958), (100.85346509741059, 11.519808961468506), (100.84996001701208, 11.533919517761767), (100.84667700801178, 11.54808338868074), (100.84361688044304, 11.562297079502212), (100.84078038934655, 11.576557083210657), (100.83816823458405, 11.59085988136354), (100.83578106066562, 11.60520194495943), (100.83361945659072, 11.619579735308742), (100.83168395570283, 11.633989704906847), (100.8299750355578, 11.648428298309366), (100.82849311780612, 11.662891953009426), (100.8272385680888, 11.677377100316658), (100.82621169594725, 11.691880166237706), (100.82541275474678, 11.706397572358068), (100.82484194161418, 11.720925736725013), (100.82449939738905, 11.735461074731376), (100.82438520658904, 11.749999999999996), (100.82449939738905, 11.764538925268619), (100.82484194161418, 11.77907426327498), (100.82541275474678, 11.793602427641925), (100.82621169594725, 11.808119833762289), (100.8272385680888, 11.822622899683337), (100.82849311780612, 11.837108046990567), (100.8299750355578, 11.851571701690629), (100.83168395570283, 11.866010295093147), (100.83361945659072, 11.880420264691251), (100.83578106066562, 11.894798055040564), (100.83816823458405, 11.909140118636454), (100.84078038934655, 11.923442916789336), (100.84361688044304, 11.937702920497783), (100.84667700801178, 11.951916611319254), (100.84996001701208, 11.966080482238226), (100.85346509741059, 11.980191038531489), (100.85719138438118, 11.994244798630415), (100.86113795851828, 12.008238294979993), (100.86530384606381, 12.022168074894386), (100.86968801914732, 12.036030701408839), (100.87428939603971, 12.049822754127687), (100.8791068414201, 12.0635408300683), (100.8841391666559, 12.077181544500705), (100.88938513009617, 12.090741531782726), (100.89484343737796, 12.104217446190406), (100.90051274174557, 12.117605962743507), (100.906391644383, 12.130903778025907), (100.91247869475902, 12.144107611000665), (100.918772390985, 12.157214203819569), (100.92527118018556, 12.170220322626955), (100.93197345888174, 12.183122758357625), (100.93887757338655, 12.195918327528625), (100.94598182021305, 12.208603873024728), (100.9532844464946, 12.221176264877398), (100.9607836504175, 12.233632401037072), (100.96847758166535, 12.245969208138536), (100.97636434187575, 12.25818364225924), (100.98444198510863, 12.27027268967033), (100.9927085183264, 12.282233367580252), (101.00116190188568, 12.294062724870702), (101.00980005004055, 12.305757842824777), (101.01862083145724, 12.317315835847117), (101.0276220697399, 12.328733852175889), (101.03680154396768, 12.340009074586419), (101.04615698924266, 12.35113872108629), (101.05568609724872, 12.362120045601765), (101.06538651682105, 12.372950338655336), (101.07525585452626, 12.38362692803425), (101.08529167525295, 12.394147179449835), (101.09549150281252, 12.404508497187472), (101.10585282055015, 12.414708324747048), (101.11637307196574, 12.424744145473737), (101.12704966134466, 12.434613483178945), (101.13787995439823, 12.444313902751269), (101.1488612789137, 12.45384301075733), (101.15999092541358, 12.463198456032316), (101.1712661478241, 12.472377930260095), (101.18268416415287, 12.481379168542755), (101.19424215717521, 12.490199949959438), (101.20593727512929, 12.49883809811432), (101.21776663241974, 12.507291481673594), (101.22972731032966, 12.515558014891363), (101.24181635774076, 12.523635658124247), (101.25403079186145, 12.531522418334648), (101.26636759896292, 12.539216349582496), (101.2788237351226, 12.546715553505383), (101.29139612697527, 12.554018179786953), (101.30408167247137, 12.56112242661344), (101.31687724164237, 12.568026541118249), (101.32977967737304, 12.57472881981443), (101.34278579618042, 12.581227609015004), (101.35589238899932, 12.587521305240978), (101.36909622197409, 12.593608355616986), (101.38239403725649, 12.599487258254428), (101.39578255380958, 12.605156562622046), (101.40925846821726, 12.610614869903818), (101.42281845549928, 12.615860833344101), (101.4364591699317, 12.620893158579907), (101.45017724587231, 12.62571060396029), (101.46396929859115, 12.630311980852683), (101.4778319251056, 12.634696153936192), (101.49176170502, 12.63886204148171), (101.50575520136958, 12.64280861561882), (101.5198089614685, 12.646534902589408), (101.53391951776176, 12.650039982987924), (101.54808338868074, 12.653322991988224), (101.56229707950222, 12.656383119556963), (101.57655708321066, 12.659219610653452), (101.59085988136354, 12.661831765415958), (101.60520194495943, 12.66421893933438), (101.61957973530875, 12.666380543409272), (101.63398970490684, 12.668316044297175), (101.64842829830937, 12.670024964442204), (101.66289195300942, 12.671506882193887), (101.67737710031666, 12.672761431911193), (101.69188016623771, 12.67378830405275), (101.70639757235807, 12.674587245253221), (101.72092573672501, 12.675158058385824), (101.73546107473138, 12.675500602610956), (101.75, 12.675614793410958), (101.76453892526861, 12.675500602610956), (101.77907426327498, 12.675158058385824), (101.79360242764193, 12.674587245253221), (101.80811983376229, 12.67378830405275), (101.82262289968334, 12.672761431911193), (101.83710804699056, 12.671506882193889), (101.85157170169063, 12.670024964442206), (101.86601029509315, 12.668316044297175), (101.88042026469125, 12.666380543409273), (101.89479805504057, 12.664218939334381), (101.90914011863646, 12.66183176541596), (101.92344291678934, 12.659219610653453), (101.93770292049778, 12.656383119556963), (101.95191661131925, 12.653322991988226), (101.96608048223823, 12.650039982987927), (101.98019103853149, 12.646534902589412), (101.99424479863042, 12.642808615618822), (102.00823829497999, 12.638862041481712), (102.02216807489438, 12.634696153936195), (102.03603070140883, 12.630311980852685), (102.04982275412769, 12.625710603960291), (102.06354083006829, 12.62089315857991), (102.0771815445007, 12.615860833344103), (102.09074153178273, 12.610614869903822), (102.1042174461904, 12.60515656262205), (102.11760596274351, 12.599487258254431), (102.13090377802591, 12.59360835561699), (102.14410761100066, 12.587521305240983), (102.15721420381956, 12.581227609015007), (102.17022032262696, 12.574728819814434), (102.18312275835763, 12.568026541118254), (102.19591832752863, 12.561122426613446), (102.20860387302473, 12.554018179786956), (102.2211762648774, 12.546715553505388), (102.23363240103707, 12.539216349582501), (102.24596920813853, 12.531522418334653), (102.25818364225924, 12.523635658124253), (102.27027268967034, 12.515558014891369), (102.28223336758025, 12.5072914816736), (102.2940627248707, 12.498838098114325), (102.30575784282478, 12.490199949959443), (102.31731583584711, 12.48137916854276), (102.32873385217589, 12.472377930260102), (102.34000907458642, 12.463198456032323), (102.35113872108629, 12.453843010757335), (102.36212004560176, 12.444313902751274), (102.37295033865533, 12.43461348317895), (102.38362692803425, 12.424744145473742), (102.39414717944983, 12.414708324747053), (102.40450849718746, 12.404508497187477), (102.41470832474705, 12.39414717944984), (102.42474414547374, 12.383626928034257), (102.43461348317895, 12.372950338655343), (102.44431390275126, 12.362120045601772), (102.45384301075732, 12.351138721086297), (102.46319845603232, 12.340009074586426), (102.4723779302601, 12.328733852175898), (102.48137916854276, 12.317315835847124), (102.49019994995943, 12.305757842824784), (102.49883809811432, 12.29406272487071), (102.50729148167359, 12.28223336758026), (102.51555801489137, 12.270272689670337), (102.52363565812425, 12.258183642259247), (102.53152241833465, 12.245969208138545), (102.53921634958249, 12.23363240103708), (102.54671555350538, 12.221176264877407), (102.55401817978695, 12.208603873024737), (102.56112242661344, 12.195918327528634), (102.56802654111824, 12.183122758357634), (102.57472881981442, 12.170220322626964), (102.581227609015, 12.157214203819576), (102.58752130524098, 12.144107611000674), (102.59360835561698, 12.130903778025916), (102.59948725825443, 12.117605962743514), (102.60515656262204, 12.104217446190415), (102.61061486990381, 12.090741531782735), (102.6158608333441, 12.077181544500712), (102.6208931585799, 12.063540830068309), (102.62571060396029, 12.049822754127696), (102.63031198085268, 12.036030701408848), (102.63469615393619, 12.022168074894395), (102.63886204148172, 12.008238294980002), (102.64280861561882, 11.994244798630424), (102.64653490258941, 11.980191038531498), (102.65003998298792, 11.966080482238235), (102.65332299198822, 11.951916611319263), (102.65638311955696, 11.937702920497792), (102.65921961065345, 11.923442916789345), (102.66183176541595, 11.909140118636463), (102.66421893933438, 11.894798055040573), (102.66638054340928, 11.880420264691262), (102.66831604429717, 11.866010295093156), (102.6700249644422, 11.851571701690638), (102.67150688219388, 11.837108046990577), (102.6727614319112, 11.822622899683346), (102.67378830405275, 11.808119833762298), (102.67458724525322, 11.793602427641934), (102.67515805838582, 11.779074263274989), (102.67550060261095, 11.764538925268628), (102.67561479341096, 11.75), (100.0, 10.0), (101.0, 10.5), (101.5, 11.0), (100.5, 11.5), (102.0, 12.0), (103.0, 12.5), (103.5, 13.0), (102.5, 13.5)]]}}]}
# geojson = {'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'id': '5 km_west_Burwood', 'properties': {'centroid': (151.10248047317933, -33.8858088)}, 'geometry': {'type': 'Polygon', 'coordinates': [[]]}}]}
# geojson = {'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'id': '5 km_west_Burwood', 'properties': {'centroid': (151.10248047317933, -33.8858088)}, 'geometry': {'type': 'Polygon', 'coordinates': [[(151.15773499332462, -33.851945264441774), (151.1577020809519, -33.85108453592249), (151.1576034763603, -33.850227273253154), (151.15743957659564, -33.849376928327985), (151.15721104162444, -33.84853692518587), (151.15691879167642, -33.847710646222986), (151.1565640035389, -33.84690141857309), (151.15614810581854, -33.846112500710305), (151.15567277318868, -33.84534706932843), (151.15513991964602, -33.844608206549495), (151.15455169080371, -33.84389888751311), (151.15391045525172, -33.84322196839671), (151.15321879501928, -33.842580174914644), (151.152479495178, -33.84197609134276), (151.15169553262746, -33.84141215011238), (151.15087006410812, -33.84089062201581), (151.1500064134904, -33.84041360706262), (151.14910805839045, -33.839983026023674), (151.14817861616726, -33.83960061269684), (151.14722182935657, -33.83926790692561), (151.14624155060122, -33.83898624839871), (151.14524172713772, -33.8387567712556), (151.14422638490234, -33.83858039951977), (151.14319961231985, -33.838457843377924), (151.1421655438411, -33.838389596320404), (151.14112834329484, -33.83837593315402), (151.14009218712158, -33.838416908895525), (151.13906124755658, -33.83851235855006), (151.1380396758296, -33.838661897775566), (151.13703158544936, -33.83886492443035), (151.13604103564012, -33.83912062099773), (151.13507201499627, -33.839427957877895), (151.13412842542198, -33.83978569753368), (151.13321406641938, -33.840192399473764), (151.13233261978954, -33.84064642605297), (151.13148763480686, -33.841145949066515), (151.1306825139277, -33.84168895711152), (151.1299204990896, -33.84227326368625), (151.12920465865741, -33.84289651599435), (151.12853787506793, -33.843556204418746), (151.12792283322327, -33.84424967262699), (151.12736200967993, -33.84497412826736), (151.12685766267631, -33.84572665421268), (151.12641182303983, -33.846504220306585), (151.12602628600936, -33.84730369556483), (151.12570260400642, -33.84812186078273), (151.1254420803842, -33.84895542149773), (151.1252457641794, -33.849801021255004), (151.12511444588804, -33.8506552551228), (151.1250486542826, -33.851514683402826), (151.1250486542826, -33.85237584548072), (151.12511444588804, -33.853235273760745), (151.1252457641794, -33.854089507628544), (151.1254420803842, -33.85493510738582), (151.12570260400642, -33.855768668100815), (151.12602628600936, -33.856586833318715), (151.12641182303983, -33.85738630857696), (151.12685766267631, -33.858163874670865), (151.12736200967993, -33.85891640061619), (151.12792283322327, -33.85964085625656), (151.12853787506793, -33.8603343244648), (151.12920465865741, -33.8609940128892), (151.1299204990896, -33.861617265197296), (151.1306825139277, -33.862201571772026), (151.13148763480686, -33.86274457981703), (151.13233261978954, -33.86324410283058), (151.13321406641938, -33.863698129409784), (151.13412842542198, -33.86410483134987), (151.13507201499627, -33.86446257100565), (151.13604103564012, -33.864769907885815), (151.13703158544936, -33.8650256044532), (151.1380396758296, -33.86522863110798), (151.13906124755658, -33.865378170333486), (151.14009218712158, -33.86547361998802), (151.14112834329484, -33.86551459572953), (151.1421655438411, -33.865500932563144), (151.14319961231985, -33.865432685505624), (151.14422638490234, -33.86531012936378), (151.14524172713772, -33.865133757627945), (151.14624155060122, -33.864904280484836), (151.14722182935657, -33.864622621957935), (151.14817861616726, -33.864289916186706), (151.14910805839045, -33.863907502859874), (151.1500064134904, -33.863476921820926), (151.15087006410812, -33.862999906867735), (151.15169553262746, -33.862478378771165), (151.152479495178, -33.86191443754079), (151.15321879501928, -33.8613103539689), (151.15391045525172, -33.860668560486836), (151.15455169080371, -33.859991641370435), (151.15513991964602, -33.85928232233405), (151.15567277318868, -33.858543459555115), (151.15614810581854, -33.85777802817324), (151.1565640035389, -33.85698911031046), (151.15691879167642, -33.85617988266056), (151.15721104162444, -33.85535360369768), (151.15743957659564, -33.85451360055556), (151.1576034763603, -33.853663255630394), (151.1577020809519, -33.85280599296106), (151.15773499332462, -33.851945264441774)]]}}]}
# geojson = {'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'id': '5 km_west_Burwood', 'properties': {'centroid': (151.10248047317933, -33.8858088)}, 'geometry': {'type': 'Polygon', 'coordinates': [[(151.1723468950551, -33.86063035), (151.1723448032221, -33.86089668497604), (151.17233852823915, -33.86116295423791), (151.17232807165456, -33.861429092087654), (151.1723134360483, -33.86169503285974), (151.17229462503153, -33.86196071093726), (151.17227164324555, -33.86222606076813), (151.17224449636078, -33.86249101688124), (151.17221319107531, -33.86275551390264), (151.17217773511328, -33.86301948657165), (151.17213813722284, -33.86328286975696), (151.17209440717426, -33.863545598472705), (151.17204655575725, -33.863807607894515), (151.1719945947784, -33.864068833375484), (151.17193853705834, -33.864329210462124), (151.17187839642847, -33.8645886749103), (151.17181418772756, -33.864847162701025), (151.1717459267982, -33.86510461005632), (151.1716736304827, -33.865360953454896), (151.1715973166191, -33.865616129647854), (151.17151700403673, -33.86587007567429), (151.1714327125515, -33.86612272887682), (151.17134446296112, -33.86637402691704), (151.17125227703977, -33.86662390779093), (151.17115617753302, -33.86687230984412), (151.17105618815194, -33.86711917178712), (151.17095233356744, -33.86736443271043), (151.17084463940407, -33.8676080320996), (151.17073313223375, -33.86784990985012), (151.17061783956922, -33.86809000628228), (151.17049878985722, -33.86832826215587), (151.17037601247148, -33.86856461868482), (151.17024953770547, -33.8687990175517), (151.170119396765, -33.86903140092209), (151.1699856217603, -33.86926171145887), (151.16984824569846, -33.86948989233637), (151.16970730247488, -33.86971588725436), (151.16956282686525, -33.86993964045198), (151.16941485451673, -33.87016109672149), (151.1692634219393, -33.87038020142185), (151.16910856649667, -33.87059690049227), (151.16895032639712, -33.87081114046548), (151.16878874068402, -33.87102286848098), (151.16862384922624, -33.87123203229805), (151.16845569270822, -33.871438580308656), (151.16828431262016, -33.87164246155016), (151.16810975124744, -33.871843625717915), (151.16793205166053, -33.87204202317768), (151.16775125770414, -33.87223760497784), (151.16756741398643, -33.87243032286151), (151.16738056586811, -33.87262012927845), (151.1671907594512, -33.87280697739676), (151.1669980415675, -33.87299082111447), (151.16680245976735, -33.87317161507088), (151.16660406230758, -33.87334931465779), (151.16640289813984, -33.87352387603049), (151.16619901689833, -33.87369525611857), (151.1659924688877, -33.87386341263657), (151.16578330507065, -33.87402830409436), (151.16557157705515, -33.87418988980746), (151.16535733708193, -33.87434812990701), (151.1651406380115, -33.874502985349636), (151.16492153331114, -33.87465441792707), (151.16470007704166, -33.87480239027558), (151.164476323844, -33.87494686588522), (151.16425032892602, -33.875087809108784), (151.16402214804853, -33.87522518517065), (151.16379183751175, -33.87535896017532), (151.16355945414136, -33.875489101115825), (151.16332505527447, -33.875615575881824), (151.16308869874553, -33.875738353267565), (151.16285044287193, -33.87585740297956), (151.16261034643978, -33.87597269564409), (151.16236846868927, -33.8760842028144), (151.1621248693001, -33.876191896977765), (151.16187960837678, -33.87629575156227), (151.16163274643378, -33.876395740943344), (151.1613843443806, -33.87649184045011), (151.1611344635067, -33.87658402637145), (151.1608831654665, -33.87667227596185), (151.16063051226396, -33.876756567447075), (151.16037656623752, -33.87683688002944), (151.16012139004457, -33.876913193893024), (151.159865046646, -33.876985490208526), (151.1596075992907, -33.87705375113791), (151.15934911149995, -33.877117959838806), (151.1590896470518, -33.87717810046868), (151.15882926996514, -33.87723415818875), (151.15856804448418, -33.877286119167586), (151.15830603506237, -33.87733397058461), (151.15804330634663, -33.87737770063319), (151.1577799231613, -33.8774172985236), (151.1575159504923, -33.87745275448565), (151.1572514534709, -33.87748405977112), (151.1569864973578, -33.87751120665589), (151.15672114752692, -33.877534188441864), (151.1564554694494, -33.87755299945865), (151.15618952867732, -33.87756763506489), (151.15592339082758, -33.87757809164949), (151.1556571215657, -33.877584366632426), (151.15539078658966, -33.87758645846545), (151.15512445161363, -33.877584366632426), (151.15485818235175, -33.87757809164949), (151.154592044502, -33.87756763506489), (151.15432610372991, -33.87755299945865), (151.1540604256524, -33.877534188441864), (151.15379507582153, -33.87751120665589), (151.15353011970842, -33.87748405977112), (151.15326562268703, -33.87745275448565), (151.153001650018, -33.8774172985236), (151.1527382668327, -33.87737770063319), (151.15247553811696, -33.87733397058461), (151.15221352869514, -33.877286119167586), (151.1519523032142, -33.87723415818875), (151.15169192612754, -33.87717810046868), (151.15143246167938, -33.877117959838806), (151.15117397388863, -33.87705375113791), (151.15091652653334, -33.876985490208526), (151.15066018313476, -33.876913193893024), (151.1504050069418, -33.87683688002944), (151.15015106091536, -33.876756567447075), (151.14989840771284, -33.87667227596185), (151.14964710967263, -33.87658402637145), (151.14939722879873, -33.87649184045011), (151.14914882674555, -33.876395740943344), (151.14890196480255, -33.87629575156227), (151.14865670387923, -33.876191896977765), (151.14841310449006, -33.8760842028144), (151.14817122673955, -33.87597269564409), (151.1479311303074, -33.87585740297956), (151.1476928744338, -33.875738353267565), (151.14745651790486, -33.875615575881824), (151.14722211903796, -33.875489101115825), (151.14698973566757, -33.87535896017532), (151.1467594251308, -33.87522518517065), (151.1465312442533, -33.875087809108784), (151.1463052493353, -33.87494686588522), (151.14608149613767, -33.87480239027558), (151.14586003986818, -33.87465441792707), (151.14564093516782, -33.874502985349636), (151.1454242360974, -33.87434812990701), (151.14520999612418, -33.87418988980746), (151.14499826810868, -33.87402830409436), (151.14478910429162, -33.87386341263657), (151.144582556281, -33.87369525611857), (151.1443786750395, -33.87352387603049), (151.14417751087174, -33.87334931465779), (151.14397911341197, -33.87317161507088), (151.14378353161183, -33.87299082111447), (151.14359081372814, -33.87280697739676), (151.1434010073112, -33.87262012927845), (151.1432141591929, -33.87243032286151), (151.1430303154752, -33.87223760497784), (151.1428495215188, -33.87204202317768), (151.14267182193188, -33.871843625717915), (151.14249726055917, -33.87164246155016), (151.1423258804711, -33.871438580308656), (151.1421577239531, -33.87123203229805), (151.1419928324953, -33.87102286848098), (151.1418312467822, -33.87081114046548), (151.14167300668265, -33.87059690049227), (151.14151815124004, -33.87038020142185), (151.1413667186626, -33.87016109672149), (151.14121874631408, -33.86993964045198), (151.14107427070445, -33.86971588725436), (151.14093332748087, -33.86948989233637), (151.14079595141902, -33.86926171145887), (151.14066217641434, -33.86903140092209), (151.14053203547385, -33.8687990175517), (151.14040556070785, -33.86856461868482), (151.1402827833221, -33.86832826215587), (151.1401637336101, -33.86809000628228), (151.14004844094558, -33.86784990985012), (151.13993693377526, -33.8676080320996), (151.13982923961188, -33.86736443271043), (151.1397253850274, -33.86711917178712), (151.1396253956463, -33.86687230984412), (151.13952929613956, -33.86662390779093), (151.1394371102182, -33.86637402691704), (151.13934886062782, -33.86612272887682), (151.1392645691426, -33.86587007567429), (151.1391842565602, -33.865616129647854), (151.13910794269663, -33.865360953454896), (151.13903564638113, -33.86510461005632), (151.13896738545176, -33.864847162701025), (151.13890317675086, -33.8645886749103), (151.138843036121, -33.864329210462124), (151.13878697840093, -33.864068833375484), (151.13873501742208, -33.863807607894515), (151.13868716600507, -33.863545598472705), (151.13864343595648, -33.86328286975696), (151.13860383806605, -33.86301948657165), (151.138568382104, -33.86275551390264), (151.13853707681855, -33.86249101688124), (151.13850992993378, -33.86222606076813), (151.1384869481478, -33.86196071093726), (151.138468137131, -33.86169503285974), (151.13845350152476, -33.861429092087654), (151.13844304494017, -33.86116295423791), (151.13843676995722, -33.86089668497604), (151.1384346781242, -33.86063035), (151.13843676995722, -33.86036401502396), (151.13844304494017, -33.86009774576209), (151.13845350152476, -33.85983160791235), (151.138468137131, -33.85956566714026), (151.1384869481478, -33.85929998906274), (151.13850992993378, -33.85903463923187), (151.13853707681855, -33.85876968311876), (151.138568382104, -33.85850518609736), (151.13860383806605, -33.85824121342835), (151.13864343595648, -33.857977830243044), (151.13868716600507, -33.8577151015273), (151.13873501742208, -33.85745309210549), (151.13878697840093, -33.85719186662452), (151.138843036121, -33.85693148953788), (151.13890317675086, -33.8566720250897), (151.13896738545176, -33.85641353729898), (151.13903564638113, -33.85615608994368), (151.13910794269663, -33.855899746545106), (151.1391842565602, -33.85564457035215), (151.1392645691426, -33.855390624325715), (151.13934886062782, -33.855137971123185), (151.1394371102182, -33.85488667308296), (151.13952929613956, -33.85463679220907), (151.1396253956463, -33.85438839015588), (151.1397253850274, -33.854141528212885), (151.13982923961188, -33.85389626728957), (151.13993693377526, -33.853652667900406), (151.14004844094558, -33.85341079014988), (151.1401637336101, -33.85317069371772), (151.1402827833221, -33.85293243784413), (151.14040556070785, -33.85269608131518), (151.14053203547385, -33.8524616824483), (151.14066217641434, -33.85222929907791), (151.14079595141902, -33.85199898854113), (151.14093332748087, -33.851770807663634), (151.14107427070445, -33.851544812745644), (151.14121874631408, -33.85132105954802), (151.1413667186626, -33.85109960327851), (151.14151815124004, -33.85088049857815), (151.14167300668265, -33.850663799507736), (151.1418312467822, -33.850449559534525), (151.1419928324953, -33.850237831519024), (151.1421577239531, -33.85002866770195), (151.1423258804711, -33.849822119691346), (151.14249726055917, -33.84961823844984), (151.14267182193188, -33.84941707428209), (151.1428495215188, -33.849218676822325), (151.1430303154752, -33.84902309502216), (151.1432141591929, -33.84883037713849), (151.1434010073112, -33.84864057072155), (151.14359081372814, -33.84845372260324), (151.14378353161183, -33.84826987888553), (151.14397911341197, -33.84808908492912), (151.14417751087174, -33.847911385342215), (151.1443786750395, -33.84773682396951), (151.144582556281, -33.84756544388143), (151.14478910429162, -33.847397287363435), (151.14499826810868, -33.84723239590564), (151.14520999612418, -33.84707081019254), (151.1454242360974, -33.84691257009299), (151.14564093516782, -33.846757714650366), (151.14586003986818, -33.84660628207293), (151.14608149613767, -33.84645830972442), (151.1463052493353, -33.84631383411478), (151.1465312442533, -33.84617289089122), (151.1467594251308, -33.84603551482935), (151.14698973566757, -33.84590173982468), (151.14722211903796, -33.84577159888418), (151.14745651790486, -33.84564512411818), (151.1476928744338, -33.84552234673244), (151.1479311303074, -33.84540329702044), (151.14817122673955, -33.845288004355915), (151.14841310449006, -33.845176497185605), (151.14865670387923, -33.84506880302224), (151.14890196480255, -33.844964948437735), (151.14914882674555, -33.84486495905666), (151.14939722879873, -33.844768859549895), (151.14964710967263, -33.844676673628555), (151.14989840771284, -33.84458842403815), (151.15015106091536, -33.84450413255293), (151.1504050069418, -33.844423819970565), (151.15066018313476, -33.84434750610698), (151.15091652653334, -33.844275209791476), (151.15117397388863, -33.844206948862094), (151.15143246167938, -33.844142740161196), (151.15169192612754, -33.84408259953132), (151.1519523032142, -33.84402654181125), (151.15221352869514, -33.843974580832416), (151.15247553811696, -33.843926729415394), (151.1527382668327, -33.84388299936681), (151.153001650018, -33.8438434014764), (151.15326562268703, -33.84380794551435), (151.15353011970842, -33.84377664022888), (151.15379507582153, -33.84374949334411), (151.1540604256524, -33.84372651155814), (151.15432610372991, -33.84370770054135), (151.154592044502, -33.84369306493511), (151.15485818235175, -33.84368260835051), (151.15512445161363, -33.843676333367576), (151.15539078658966, -33.84367424153455), (151.1556571215657, -33.843676333367576), (151.15592339082758, -33.84368260835051), (151.15618952867732, -33.84369306493511), (151.1564554694494, -33.84370770054135), (151.15672114752692, -33.84372651155814), (151.1569864973578, -33.84374949334411), (151.1572514534709, -33.84377664022888), (151.1575159504923, -33.84380794551435), (151.1577799231613, -33.8438434014764), (151.15804330634663, -33.84388299936681), (151.15830603506237, -33.843926729415394), (151.15856804448418, -33.843974580832416), (151.15882926996514, -33.84402654181125), (151.1590896470518, -33.84408259953132), (151.15934911149995, -33.844142740161196), (151.1596075992907, -33.844206948862094), (151.159865046646, -33.844275209791476), (151.16012139004457, -33.84434750610698), (151.16037656623752, -33.844423819970565), (151.16063051226396, -33.84450413255293), (151.1608831654665, -33.84458842403815), (151.1611344635067, -33.844676673628555), (151.1613843443806, -33.844768859549895), (151.16163274643378, -33.84486495905666), (151.16187960837678, -33.844964948437735), (151.1621248693001, -33.84506880302224), (151.16236846868927, -33.845176497185605), (151.16261034643978, -33.845288004355915), (151.16285044287193, -33.84540329702044), (151.16308869874553, -33.84552234673244), (151.16332505527447, -33.84564512411818), (151.16355945414136, -33.84577159888418), (151.16379183751175, -33.84590173982468), (151.16402214804853, -33.84603551482935), (151.16425032892602, -33.84617289089122), (151.164476323844, -33.84631383411478), (151.16470007704166, -33.84645830972442), (151.16492153331114, -33.84660628207293), (151.1651406380115, -33.846757714650366), (151.16535733708193, -33.84691257009299), (151.16557157705515, -33.84707081019254), (151.16578330507065, -33.84723239590564), (151.1659924688877, -33.847397287363435), (151.16619901689833, -33.84756544388143), (151.16640289813984, -33.84773682396951), (151.16660406230758, -33.847911385342215), (151.16680245976735, -33.84808908492912), (151.1669980415675, -33.84826987888553), (151.1671907594512, -33.84845372260324), (151.16738056586811, -33.84864057072155), (151.16756741398643, -33.84883037713849), (151.16775125770414, -33.84902309502216), (151.16793205166053, -33.849218676822325), (151.16810975124744, -33.84941707428209), (151.16828431262016, -33.84961823844984), (151.16845569270822, -33.849822119691346), (151.16862384922624, -33.85002866770195), (151.16878874068402, -33.850237831519024), (151.16895032639712, -33.850449559534525), (151.16910856649667, -33.850663799507736), (151.1692634219393, -33.85088049857815), (151.16941485451673, -33.85109960327851), (151.16956282686525, -33.85132105954802), (151.16970730247488, -33.851544812745644), (151.16984824569846, -33.851770807663634), (151.1699856217603, -33.85199898854113), (151.170119396765, -33.85222929907791), (151.17024953770547, -33.8524616824483), (151.17037601247148, -33.85269608131518), (151.17049878985722, -33.85293243784413), (151.17061783956922, -33.85317069371772), (151.17073313223375, -33.85341079014988), (151.17084463940407, -33.853652667900406), (151.17095233356744, -33.85389626728957), (151.17105618815194, -33.854141528212885), (151.17115617753302, -33.85438839015588), (151.17125227703977, -33.85463679220907), (151.17134446296112, -33.85488667308296), (151.1714327125515, -33.855137971123185), (151.17151700403673, -33.855390624325715), (151.1715973166191, -33.85564457035215), (151.1716736304827, -33.855899746545106), (151.1717459267982, -33.85615608994368), (151.17181418772756, -33.85641353729898), (151.17187839642847, -33.8566720250897), (151.17193853705834, -33.85693148953788), (151.1719945947784, -33.85719186662452), (151.17204655575725, -33.85745309210549), (151.17209440717426, -33.8577151015273), (151.17213813722284, -33.857977830243044), (151.17217773511328, -33.85824121342835), (151.17221319107531, -33.85850518609736), (151.17224449636078, -33.85876968311876), (151.17227164324555, -33.85903463923187), (151.17229462503153, -33.85929998906274), (151.1723134360483, -33.85956566714026), (151.17232807165456, -33.85983160791235), (151.17233852823915, -33.86009774576209), (151.1723448032221, -33.86036401502396), (151.1723468950551, -33.86063035)],[(151.0889803, -33.8997719), (151.0890405, -33.9000323), (151.0890753, -33.9001859), (151.0891987, -33.9004598), (151.0894535, -33.9007291), (151.0898532, -33.9009651), (151.091484, -33.9018512), (151.0917897, -33.9020026), (151.0919963, -33.9020538), (151.092179, -33.9020761), (151.0924087, -33.9020985), (151.0925246, -33.9020938), (151.092629, -33.9020837), (151.0930182, -33.9020415), (151.0932418, -33.9020214), (151.093501, -33.9020092), (151.0936456, -33.9020186), (151.0938041, -33.9020426), (151.0939422, -33.9020688), (151.0941151, -33.9021052), (151.0941607, -33.9021173), (151.0942387, -33.9021392), (151.0943687, -33.9022004), (151.0945505, -33.9023084), (151.0954696, -33.9028822), (151.0963342, -33.9034067), (151.096647, -33.903539), (151.0969567, -33.9036123), (151.097095, -33.9036387), (151.0972452, -33.9036499), (151.0973659, -33.9036521), (151.0974717, -33.903648), (151.0976315, -33.9036254), (151.0977998, -33.9035895), (151.0983892, -33.9033231), (151.0993744, -33.902848), (151.0994024, -33.9026974), (151.0994152, -33.9024996), (151.0994571, -33.9021405), (151.0994649, -33.9020607), (151.0994706, -33.9019838), (151.0994551, -33.9019125), (151.0994364, -33.9018581), (151.0994101, -33.9018025), (151.0990339, -33.9011349), (151.0990016, -33.9010746), (151.098981, -33.9010269), (151.0989687, -33.9009908), (151.0989546, -33.9009261), (151.0989444, -33.9008598), (151.0989443, -33.9007987), (151.0989488, -33.9007453), (151.0989686, -33.9006175), (151.0990121, -33.9004), (151.0990915, -33.9000308), (151.0993325, -33.8988306), (151.0993466, -33.898769), (151.0994124, -33.8984296), (151.0995742, -33.8976564), (151.0995891, -33.8975851), (151.0996095, -33.8974875), (151.0997142, -33.8974619), (151.099745, -33.8974543), (151.1001982, -33.8973433), (151.1009168, -33.8971672), (151.1020241, -33.8968943), (151.102268, -33.8968323), (151.103544, -33.8965187), (151.1040917, -33.8963882), (151.1042084, -33.8963601), (151.1043756, -33.8963198), (151.1047736, -33.8962238), (151.1049912, -33.8961684), (151.1050845, -33.8961461), (151.1054759, -33.8960548), (151.1056555, -33.8960119), (151.1060485, -33.8959117), (151.106228, -33.8958688), (151.1064594, -33.8958131), (151.1065599, -33.895789), (151.1066564, -33.895766), (151.1067523, -33.8957431), (151.1073104, -33.89561), (151.1076502, -33.8955268), (151.1078167, -33.895486), (151.1079017, -33.8954652), (151.1083628, -33.8953522), (151.1083963, -33.895344), (151.1085734, -33.8953041), (151.1086825, -33.8952764), (151.1087092, -33.8952678), (151.1091219, -33.8951641), (151.1097506, -33.8950109), (151.1103713, -33.8948604), (151.1109995, -33.8947014), (151.1110281, -33.8946952), (151.1111228, -33.8946719), (151.1112341, -33.8946452), (151.1112653, -33.894637), (151.1113566, -33.8946139), (151.1117365, -33.8945225), (151.1123911, -33.8943629), (151.1123991, -33.8942772), (151.1127085, -33.8916958), (151.1127397, -33.8914355), (151.1127425, -33.8914124), (151.1127489, -33.8913591), (151.112755, -33.8913066), (151.1127601, -33.8912594), (151.1129559, -33.8896413), (151.1131093, -33.8882629), (151.1132137, -33.8873858), (151.1132569, -33.8869944), (151.1132654, -33.8869214), (151.1130327, -33.8868074), (151.1128897, -33.8867423), (151.1127386, -33.8866838), (151.1125838, -33.8866401), (151.1126482, -33.8865529), (151.1127485, -33.8864172), (151.1141184, -33.8847571), (151.1143462, -33.8845006), (151.114395, -33.8844456), (151.1145163, -33.8845148), (151.1145706, -33.8844463), (151.1146883, -33.8842977), (151.1147171, -33.8842612), (151.1147499, -33.8842198), (151.1147799, -33.8841819), (151.114851, -33.8840921), (151.1148624, -33.8840778), (151.114917, -33.8840121), (151.114966, -33.8839531), (151.1150331, -33.8838724), (151.1150463, -33.883856), (151.1152728, -33.8835744), (151.1153095, -33.8835288), (151.1158215, -33.8829338), (151.1163935, -33.8821888), (151.1184444, -33.8798696), (151.1206979, -33.8769906), (151.1206494, -33.8769842), (151.1205794, -33.8770047), (151.1191777, -33.8768233), (151.1182178, -33.8766916), (151.1184091, -33.8757907), (151.1185122, -33.8753179), (151.1185167, -33.8752852), (151.1187536, -33.8741724), (151.1187696, -33.8740971), (151.1187906, -33.8739918), (151.1187935, -33.8739783), (151.118829, -33.8738142), (151.1192097, -33.872036), (151.1192359, -33.8719243), (151.119398, -33.871139), (151.1194222, -33.8710286), (151.1194359, -33.8709779), (151.1194498, -33.8709378), (151.1187729, -33.8708716), (151.1176965, -33.8707698), (151.1171141, -33.8707125), (151.1168882, -33.8706879), (151.116667, -33.8706541), (151.1146065, -33.870195), (151.1133943, -33.8699), (151.1133029, -33.8698842), (151.1129807, -33.8698221), (151.1127966, -33.8697933), (151.1118216, -33.8696913), (151.1116225, -33.8696722), (151.1094449, -33.8694479), (151.1090363, -33.8694005), (151.1081776, -33.8692713), (151.1076079, -33.8691576), (151.1070345, -33.869084), (151.1055064, -33.8689066), (151.1045731, -33.8687809), (151.1040722, -33.8687016), (151.1030255, -33.868605), (151.1020826, -33.8685106), (151.1010974, -33.8684306), (151.1010193, -33.8684255), (151.1004751, -33.8683755), (151.1000584, -33.8683055), (151.0997592, -33.8682401), (151.0992534, -33.8681166), (151.0988297, -33.8680114), (151.0984909, -33.8679128), (151.0980727, -33.8677532), (151.0976413, -33.8676131), (151.0973489, -33.8675186), (151.0968026, -33.8673611), (151.0957123, -33.8670908), (151.0956944, -33.8671435), (151.0956838, -33.8671728), (151.0945774, -33.8702202), (151.0948424, -33.8702889), (151.0949542, -33.8703204), (151.0949305, -33.8703863), (151.0949242, -33.8704126), (151.0948611, -33.8706866), (151.0948567, -33.8707059), (151.0947241, -33.8710124), (151.0947182, -33.8710656), (151.0946161, -33.8714794), (151.0944111, -33.8723096), (151.0943798, -33.8724236), (151.0943462, -33.8725124), (151.0943488, -33.8725456), (151.0943479, -33.8725759), (151.0943432, -33.8726138), (151.0943239, -33.8726884), (151.0942815, -33.8728954), (151.0942767, -33.8729188), (151.094267, -33.8729664), (151.0942569, -33.8730147), (151.0942518, -33.8730392), (151.0941161, -33.8736886), (151.094041, -33.873789), (151.0939757, -33.87385), (151.093965, -33.8738604), (151.0939525, -33.8738862), (151.0940291, -33.873987), (151.0940348, -33.8740553), (151.094012, -33.8742057), (151.0938587, -33.8747219), (151.0938373, -33.8748171), (151.0938316, -33.8748464), (151.0937481, -33.875192), (151.0936218, -33.8756955), (151.0935491, -33.8760309), (151.093503, -33.876288), (151.0934892, -33.8763652), (151.0934753, -33.8764407), (151.0933486, -33.8771272), (151.093135, -33.8782592), (151.0930788, -33.8785641), (151.0930263, -33.8788533), (151.0928695, -33.8797101), (151.092832, -33.8799171), (151.0926629, -33.8807808), (151.0926512, -33.8808435), (151.0925579, -33.8813706), (151.0924614, -33.8818449), (151.0924422, -33.8819396), (151.0924262, -33.8820332), (151.0923749, -33.8823345), (151.092184, -33.8833121), (151.0921149, -33.883648), (151.0919731, -33.8844091), (151.0918581, -33.885023), (151.0918015, -33.8853307), (151.0916193, -33.8862869), (151.0914946, -33.8868919), (151.0914356, -33.8873461), (151.0914635, -33.8876403), (151.0914919, -33.8879406), (151.0914704, -33.8882345), (151.0913455, -33.8891242), (151.0911248, -33.8892797), (151.0904022, -33.8931389), (151.090265, -33.8939293), (151.0893243, -33.8987869), (151.0892141, -33.8993388), (151.0889803, -33.8997719), (151.200542, -33.840448), (151.202007, -33.84098), (151.202009, -33.840947), (151.202104, -33.840758), (151.203164, -33.841135), (151.202842, -33.841753), (151.204488, -33.842333), (151.204562, -33.84198), (151.204979, -33.842032), (151.2048544, -33.8423823), (151.204823, -33.842459), (151.205048, -33.842561), (151.205225, -33.842688), (151.205662, -33.842745), (151.206141, -33.842815), (151.206066, -33.842691), (151.206097, -33.84262), (151.206241, -33.841907), (151.206275, -33.841831), (151.206271, -33.84176), (151.206303, -33.841695), (151.206329, -33.841381), (151.206308, -33.841281), (151.20634, -33.841204), (151.206484, -33.841253), (151.207596, -33.841414), (151.207583, -33.841478), (151.207733, -33.8415), (151.207719, -33.841566), (151.208298, -33.841649), (151.208268, -33.841834), (151.209028, -33.841945), (151.209162, -33.841982), (151.209383, -33.842117), (151.209913, -33.842597), (151.210261, -33.84295), (151.210654, -33.843544), (151.210634, -33.843612), (151.2107293, -33.8436208), (151.2111711, -33.8436609), (151.2117343, -33.8437561), (151.2116788, -33.8436481), (151.2116322, -33.843541), (151.2115931, -33.8434206), (151.2114858, -33.843016), (151.2114735, -33.8429614), (151.2114172, -33.8427105), (151.2114145, -33.8426984), (151.2114059, -33.8426413), (151.2114143, -33.8425405), (151.2114332, -33.8424697), (151.2114476, -33.8424085), (151.2114778, -33.8423526), (151.2115082, -33.8423109), (151.2115287, -33.8422866), (151.2116037, -33.8422857), (151.2116752, -33.842314), (151.2119414, -33.8424323), (151.2121477, -33.8424998), (151.2125737, -33.84258), (151.2126355, -33.8426141), (151.2127856, -33.8427537), (151.2125111, -33.8432248), (151.2127727, -33.8433159), (151.2128165, -33.8433437), (151.2128626, -33.8434356), (151.2129301, -33.8433484), (151.2130163, -33.8432783), (151.2131182, -33.8432033), (151.2132219, -33.8431422), (151.213381, -33.8430601), (151.2135485, -33.8429465), (151.2141456, -33.8433686), (151.2142801, -33.8432217), (151.2145389, -33.8433562), (151.2144702, -33.8434632), (151.2147201, -33.8435758), (151.2148696, -33.8435959), (151.2151349, -33.8436844), (151.2151274, -33.8436983), (151.2152559, -33.8437604), (151.2152414, -33.8437829), (151.2157842, -33.8440361), (151.2157336, -33.8441078), (151.2159027, -33.8441917), (151.2160676, -33.8442738), (151.216189, -33.8443577), (151.2163059, -33.8444461), (151.2163265, -33.8444643), (151.2164193, -33.8445447), (151.2167737, -33.8447208), (151.2169041, -33.8447811), (151.2167098, -33.8450635), (151.2181902, -33.8451333), (151.2183215, -33.8451482), (151.218427, -33.8451544), (151.2185007, -33.8451531), (151.2186314, -33.8450516), (151.2186252, -33.8450152), (151.2186127, -33.8449596), (151.2185386, -33.8446331), (151.2184007, -33.8443239), (151.2182421, -33.8440733), (151.2182331, -33.8440766), (151.2182207, -33.8440812), (151.2182095, -33.8440853), (151.2182019, -33.8440881), (151.2181125, -33.8440553), (151.2180885, -33.8440649), (151.2180603, -33.8440211), (151.2180417, -33.8439748), (151.2180471, -33.8439201), (151.2179687, -33.8437706), (151.2178115, -33.8436111), (151.2177115, -33.8435876), (151.2178081, -33.8435657), (151.2177532, -33.8435006), (151.2177336, -33.8434426), (151.2177311, -33.8433966), (151.2177221, -33.8433774), (151.21771, -33.8433519), (151.2176913, -33.8433287), (151.2177161, -33.8433127), (151.2179413, -33.8435629), (151.2179267, -33.8435718), (151.2180526, -33.8437143), (151.2180608, -33.8437089), (151.2180708, -33.8437031), (151.218108, -33.8436802), (151.2177162, -33.8432612), (151.2177709, -33.8432243), (151.2170197, -33.8424167), (151.2169598, -33.8424536), (151.2169005, -33.8424902), (151.2167214, -33.8422918), (151.2166358, -33.8421971), (151.2166255, -33.8421857), (151.2166088, -33.8421672), (151.2165184, -33.8421493), (151.216493, -33.842145), (151.2164694, -33.8421375), (151.2163385, -33.8420697), (151.2163242, -33.8420584), (151.2162152, -33.8419964), (151.216173, -33.8419643), (151.2161594, -33.841951), (151.2160942, -33.8418996), (151.2160544, -33.8418835), (151.2160369, -33.8418764), (151.2159795, -33.8418532), (151.2159608, -33.8418456), (151.2159362, -33.8418357), (151.2158584, -33.8417765), (151.2158494, -33.8417684), (151.2158234, -33.8417437), (151.2158157, -33.8417368), (151.2157593, -33.8416976), (151.215749, -33.8416887), (151.2157252, -33.8416733), (151.2156226, -33.8416149), (151.2156114, -33.8416057), (151.2155346, -33.8415615), (151.2155183, -33.8415521), (151.2154907, -33.8415362), (151.2151958, -33.8410803), (151.2149362, -33.8411028), (151.2149353, -33.8408931), (151.2149217, -33.8408247), (151.2148996, -33.8407312), (151.2148685, -33.8406393), (151.2147842, -33.8404884), (151.2147422, -33.8404254), (151.2146899, -33.8403695), (151.2141792, -33.8399), (151.2141299, -33.8397968), (151.2140853, -33.8395911), (151.2140713, -33.8395152), (151.2139892, -33.8391437), (151.2139719, -33.8390483), (151.2139467, -33.8389946), (151.2137596, -33.838832), (151.2137412, -33.8388152), (151.2133959, -33.8384993), (151.213353, -33.8384879), (151.2133291, -33.8384849), (151.2133175, -33.8385556), (151.2132783, -33.8387955), (151.2127375, -33.8387202), (151.2127898, -33.8384195), (151.2124882, -33.8383824), (151.2124563, -33.8383785), (151.2124056, -33.8386531), (151.2123849, -33.8387713), (151.2117003, -33.8386793), (151.2116056, -33.8386666), (151.2113478, -33.838632), (151.2114898, -33.8377578), (151.2115018, -33.8374066), (151.211507, -33.8373228), (151.2115611, -33.8370271), (151.2119245, -33.8350397), (151.212159, -33.83411), (151.2122514, -33.833793), (151.212264, -33.8337531), (151.2123866, -33.8333637), (151.2125407, -33.8329869), (151.2126673, -33.8327666), (151.2128179, -33.8325363), (151.2130952, -33.832178), (151.2133176, -33.8319122), (151.2137489, -33.8314999), (151.2138749, -33.8313609), (151.2139937, -33.8312298), (151.2143103, -33.8308346), (151.2144051, -33.8307679), (151.2144741, -33.8307194), (151.2146172, -33.8304566), (151.2144991, -33.8304481), (151.2145214, -33.830313), (151.2147011, -33.8303357), (151.2147901, -33.830168), (151.2148393, -33.8299377), (151.2146074, -33.8299036), (151.2146339, -33.829792), (151.2142287, -33.8297756), (151.2135337, -33.8296873), (151.2133885, -33.8296659), (151.2129537, -33.8295936), (151.2130718, -33.8290235), (151.2128048, -33.8289866), (151.2127826, -33.8290434), (151.2126303, -33.8290164), (151.2125959, -33.8291555), (151.2123938, -33.8291265), (151.2124337, -33.8289468), (151.2115194, -33.8288097), (151.2114934, -33.8289293), (151.211065, -33.8288685), (151.2108623, -33.8287951), (151.2104315, -33.8287273), (151.2105507, -33.8281507), (151.210086, -33.8280784), (151.2099892, -33.8285368), (151.2096007, -33.828478), (151.2095825, -33.828577), (151.2090456, -33.8284962), (151.2089404, -33.8289102), (151.208703, -33.82888), (151.206711, -33.828582), (151.206624, -33.828994), (151.206849, -33.829027), (151.2068372, -33.8290788), (151.206592, -33.830154), (151.206485, -33.830138), (151.206387, -33.830581), (151.206058, -33.830535), (151.205994, -33.830437), (151.205467, -33.830361), (151.2054, -33.830664), (151.204333, -33.830523), (151.20423, -33.830977), (151.203963, -33.830942), (151.2033096, -33.8311779), (151.2031916, -33.8312283), (151.2027721, -33.8314329), (151.2027269, -33.831455), (151.2034692, -33.8323475), (151.2035399, -33.8324305), (151.2039994, -33.8323376), (151.2040301, -33.8323314), (151.2041545, -33.8323017), (151.2043228, -33.8326756), (151.2044634, -33.8329795), (151.2045007, -33.8330603), (151.2045987, -33.8332703), (151.2046391, -33.8333585), (151.2046984, -33.8334944), (151.2047461, -33.8336291), (151.204599, -33.833664), (151.203255, -33.83393), (151.203391, -33.834402), (151.202339, -33.834608), (151.202575, -33.835413), (151.20262, -33.835503), (151.203386, -33.8354), (151.203395, -33.835492), (151.203504, -33.835868), (151.203025, -33.83593), (151.203338, -33.837064), (151.202282, -33.837191), (151.202293, -33.83723), (151.20213, -33.837264), (151.201951, -33.837525), (151.201821, -33.837651), (151.201871, -33.837824), (151.201463, -33.837971), (151.201591, -33.838509), (151.201834, -33.838532), (151.201812, -33.838604), (151.20157, -33.838573), (151.201528, -33.838728), (151.201754, -33.83877), (151.201732, -33.838858), (151.201504, -33.838816), (151.20148, -33.838903), (151.20173, -33.838951), (151.201654, -33.839216), (151.201574, -33.8392), (151.20155, -33.839289), (151.201623, -33.839303), (151.201587, -33.839389), (151.201559, -33.839414), (151.201546, -33.839466), (151.201568, -33.839471), (151.201515, -33.839703), (151.201482, -33.839697), (151.201461, -33.839778), (151.201498, -33.839784), (151.201477, -33.839865), (151.201501, -33.839869), (151.201492, -33.839909), (151.201479, -33.839906), (151.201469, -33.839948), (151.201259, -33.839909), (151.201219, -33.839908), (151.201222, -33.839926), (151.201187, -33.839922), (151.2007949, -33.8398408), (151.2007515, -33.8398285), (151.200711, -33.8398), (151.200548, -33.840423), (151.200542, -33.840448)]]}}]}
# geojson = {'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'id': '5 km_west_Burwood', 'properties': {'centroid': (151.10248047317933, -33.8858088)}, 'geometry': {'type': 'Polygon', 'coordinates': [[(151.1723468950551, -33.86063035), (151.1723448032221, -33.86089668497604), (151.17233852823915, -33.86116295423791), (151.17232807165456, -33.861429092087654), (151.1723134360483, -33.86169503285974), (151.17229462503153, -33.86196071093726), (151.17227164324555, -33.86222606076813), (151.17224449636078, -33.86249101688124), (151.17221319107531, -33.86275551390264), (151.17217773511328, -33.86301948657165), (151.17213813722284, -33.86328286975696), (151.17209440717426, -33.863545598472705), (151.17204655575725, -33.863807607894515), (151.1719945947784, -33.864068833375484), (151.17193853705834, -33.864329210462124), (151.17187839642847, -33.8645886749103), (151.17181418772756, -33.864847162701025), (151.1717459267982, -33.86510461005632), (151.1716736304827, -33.865360953454896), (151.1715973166191, -33.865616129647854), (151.17151700403673, -33.86587007567429), (151.1714327125515, -33.86612272887682), (151.17134446296112, -33.86637402691704), (151.17125227703977, -33.86662390779093), (151.17115617753302, -33.86687230984412), (151.17105618815194, -33.86711917178712), (151.17095233356744, -33.86736443271043), (151.17084463940407, -33.8676080320996), (151.17073313223375, -33.86784990985012), (151.17061783956922, -33.86809000628228), (151.17049878985722, -33.86832826215587), (151.17037601247148, -33.86856461868482), (151.17024953770547, -33.8687990175517), (151.170119396765, -33.86903140092209), (151.1699856217603, -33.86926171145887), (151.16984824569846, -33.86948989233637), (151.16970730247488, -33.86971588725436), (151.16956282686525, -33.86993964045198), (151.16941485451673, -33.87016109672149), (151.1692634219393, -33.87038020142185), (151.16910856649667, -33.87059690049227), (151.16895032639712, -33.87081114046548), (151.16878874068402, -33.87102286848098), (151.16862384922624, -33.87123203229805), (151.16845569270822, -33.871438580308656), (151.16828431262016, -33.87164246155016), (151.16810975124744, -33.871843625717915), (151.16793205166053, -33.87204202317768), (151.16775125770414, -33.87223760497784), (151.16756741398643, -33.87243032286151), (151.16738056586811, -33.87262012927845), (151.1671907594512, -33.87280697739676), (151.1669980415675, -33.87299082111447), (151.16680245976735, -33.87317161507088), (151.16660406230758, -33.87334931465779), (151.16640289813984, -33.87352387603049), (151.16619901689833, -33.87369525611857), (151.1659924688877, -33.87386341263657), (151.16578330507065, -33.87402830409436), (151.16557157705515, -33.87418988980746), (151.16535733708193, -33.87434812990701), (151.1651406380115, -33.874502985349636), (151.16492153331114, -33.87465441792707), (151.16470007704166, -33.87480239027558), (151.164476323844, -33.87494686588522), (151.16425032892602, -33.875087809108784), (151.16402214804853, -33.87522518517065), (151.16379183751175, -33.87535896017532), (151.16355945414136, -33.875489101115825), (151.16332505527447, -33.875615575881824), (151.16308869874553, -33.875738353267565), (151.16285044287193, -33.87585740297956), (151.16261034643978, -33.87597269564409), (151.16236846868927, -33.8760842028144), (151.1621248693001, -33.876191896977765), (151.16187960837678, -33.87629575156227), (151.16163274643378, -33.876395740943344), (151.1613843443806, -33.87649184045011), (151.1611344635067, -33.87658402637145), (151.1608831654665, -33.87667227596185), (151.16063051226396, -33.876756567447075), (151.16037656623752, -33.87683688002944), (151.16012139004457, -33.876913193893024), (151.159865046646, -33.876985490208526), (151.1596075992907, -33.87705375113791), (151.15934911149995, -33.877117959838806), (151.1590896470518, -33.87717810046868), (151.15882926996514, -33.87723415818875), (151.15856804448418, -33.877286119167586), (151.15830603506237, -33.87733397058461), (151.15804330634663, -33.87737770063319), (151.1577799231613, -33.8774172985236), (151.1575159504923, -33.87745275448565), (151.1572514534709, -33.87748405977112), (151.1569864973578, -33.87751120665589), (151.15672114752692, -33.877534188441864), (151.1564554694494, -33.87755299945865), (151.15618952867732, -33.87756763506489), (151.15592339082758, -33.87757809164949), (151.1556571215657, -33.877584366632426), (151.15539078658966, -33.87758645846545), (151.15512445161363, -33.877584366632426), (151.15485818235175, -33.87757809164949), (151.154592044502, -33.87756763506489), (151.15432610372991, -33.87755299945865), (151.1540604256524, -33.877534188441864), (151.15379507582153, -33.87751120665589), (151.15353011970842, -33.87748405977112), (151.15326562268703, -33.87745275448565), (151.153001650018, -33.8774172985236), (151.1527382668327, -33.87737770063319), (151.15247553811696, -33.87733397058461), (151.15221352869514, -33.877286119167586), (151.1519523032142, -33.87723415818875), (151.15169192612754, -33.87717810046868), (151.15143246167938, -33.877117959838806), (151.15117397388863, -33.87705375113791), (151.15091652653334, -33.876985490208526), (151.15066018313476, -33.876913193893024), (151.1504050069418, -33.87683688002944), (151.15015106091536, -33.876756567447075), (151.14989840771284, -33.87667227596185), (151.14964710967263, -33.87658402637145), (151.14939722879873, -33.87649184045011), (151.14914882674555, -33.876395740943344), (151.14890196480255, -33.87629575156227), (151.14865670387923, -33.876191896977765), (151.14841310449006, -33.8760842028144), (151.14817122673955, -33.87597269564409), (151.1479311303074, -33.87585740297956), (151.1476928744338, -33.875738353267565), (151.14745651790486, -33.875615575881824), (151.14722211903796, -33.875489101115825), (151.14698973566757, -33.87535896017532), (151.1467594251308, -33.87522518517065), (151.1465312442533, -33.875087809108784), (151.1463052493353, -33.87494686588522), (151.14608149613767, -33.87480239027558), (151.14586003986818, -33.87465441792707), (151.14564093516782, -33.874502985349636), (151.1454242360974, -33.87434812990701), (151.14520999612418, -33.87418988980746), (151.14499826810868, -33.87402830409436), (151.14478910429162, -33.87386341263657), (151.144582556281, -33.87369525611857), (151.1443786750395, -33.87352387603049), (151.14417751087174, -33.87334931465779), (151.14397911341197, -33.87317161507088), (151.14378353161183, -33.87299082111447), (151.14359081372814, -33.87280697739676), (151.1434010073112, -33.87262012927845), (151.1432141591929, -33.87243032286151), (151.1430303154752, -33.87223760497784), (151.1428495215188, -33.87204202317768), (151.14267182193188, -33.871843625717915), (151.14249726055917, -33.87164246155016), (151.1423258804711, -33.871438580308656), (151.1421577239531, -33.87123203229805), (151.1419928324953, -33.87102286848098), (151.1418312467822, -33.87081114046548), (151.14167300668265, -33.87059690049227), (151.14151815124004, -33.87038020142185), (151.1413667186626, -33.87016109672149), (151.14121874631408, -33.86993964045198), (151.14107427070445, -33.86971588725436), (151.14093332748087, -33.86948989233637), (151.14079595141902, -33.86926171145887), (151.14066217641434, -33.86903140092209), (151.14053203547385, -33.8687990175517), (151.14040556070785, -33.86856461868482), (151.1402827833221, -33.86832826215587), (151.1401637336101, -33.86809000628228), (151.14004844094558, -33.86784990985012), (151.13993693377526, -33.8676080320996), (151.13982923961188, -33.86736443271043), (151.1397253850274, -33.86711917178712), (151.1396253956463, -33.86687230984412), (151.13952929613956, -33.86662390779093), (151.1394371102182, -33.86637402691704), (151.13934886062782, -33.86612272887682), (151.1392645691426, -33.86587007567429), (151.1391842565602, -33.865616129647854), (151.13910794269663, -33.865360953454896), (151.13903564638113, -33.86510461005632), (151.13896738545176, -33.864847162701025), (151.13890317675086, -33.8645886749103), (151.138843036121, -33.864329210462124), (151.13878697840093, -33.864068833375484), (151.13873501742208, -33.863807607894515), (151.13868716600507, -33.863545598472705), (151.13864343595648, -33.86328286975696), (151.13860383806605, -33.86301948657165), (151.138568382104, -33.86275551390264), (151.13853707681855, -33.86249101688124), (151.13850992993378, -33.86222606076813), (151.1384869481478, -33.86196071093726), (151.138468137131, -33.86169503285974), (151.13845350152476, -33.861429092087654), (151.13844304494017, -33.86116295423791), (151.13843676995722, -33.86089668497604), (151.1384346781242, -33.86063035), (151.13843676995722, -33.86036401502396), (151.13844304494017, -33.86009774576209), (151.13845350152476, -33.85983160791235), (151.138468137131, -33.85956566714026), (151.1384869481478, -33.85929998906274), (151.13850992993378, -33.85903463923187), (151.13853707681855, -33.85876968311876), (151.138568382104, -33.85850518609736), (151.13860383806605, -33.85824121342835), (151.13864343595648, -33.857977830243044), (151.13868716600507, -33.8577151015273), (151.13873501742208, -33.85745309210549), (151.13878697840093, -33.85719186662452), (151.138843036121, -33.85693148953788), (151.13890317675086, -33.8566720250897), (151.13896738545176, -33.85641353729898), (151.13903564638113, -33.85615608994368), (151.13910794269663, -33.855899746545106), (151.1391842565602, -33.85564457035215), (151.1392645691426, -33.855390624325715), (151.13934886062782, -33.855137971123185), (151.1394371102182, -33.85488667308296), (151.13952929613956, -33.85463679220907), (151.1396253956463, -33.85438839015588), (151.1397253850274, -33.854141528212885), (151.13982923961188, -33.85389626728957), (151.13993693377526, -33.853652667900406), (151.14004844094558, -33.85341079014988), (151.1401637336101, -33.85317069371772), (151.1402827833221, -33.85293243784413), (151.14040556070785, -33.85269608131518), (151.14053203547385, -33.8524616824483), (151.14066217641434, -33.85222929907791), (151.14079595141902, -33.85199898854113), (151.14093332748087, -33.851770807663634), (151.14107427070445, -33.851544812745644), (151.14121874631408, -33.85132105954802), (151.1413667186626, -33.85109960327851), (151.14151815124004, -33.85088049857815), (151.14167300668265, -33.850663799507736), (151.1418312467822, -33.850449559534525), (151.1419928324953, -33.850237831519024), (151.1421577239531, -33.85002866770195), (151.1423258804711, -33.849822119691346), (151.14249726055917, -33.84961823844984), (151.14267182193188, -33.84941707428209), (151.1428495215188, -33.849218676822325), (151.1430303154752, -33.84902309502216), (151.1432141591929, -33.84883037713849), (151.1434010073112, -33.84864057072155), (151.14359081372814, -33.84845372260324), (151.14378353161183, -33.84826987888553), (151.14397911341197, -33.84808908492912), (151.14417751087174, -33.847911385342215), (151.1443786750395, -33.84773682396951), (151.144582556281, -33.84756544388143), (151.14478910429162, -33.847397287363435), (151.14499826810868, -33.84723239590564), (151.14520999612418, -33.84707081019254), (151.1454242360974, -33.84691257009299), (151.14564093516782, -33.846757714650366), (151.14586003986818, -33.84660628207293), (151.14608149613767, -33.84645830972442), (151.1463052493353, -33.84631383411478), (151.1465312442533, -33.84617289089122), (151.1467594251308, -33.84603551482935), (151.14698973566757, -33.84590173982468), (151.14722211903796, -33.84577159888418), (151.14745651790486, -33.84564512411818), (151.1476928744338, -33.84552234673244), (151.1479311303074, -33.84540329702044), (151.14817122673955, -33.845288004355915), (151.14841310449006, -33.845176497185605), (151.14865670387923, -33.84506880302224), (151.14890196480255, -33.844964948437735), (151.14914882674555, -33.84486495905666), (151.14939722879873, -33.844768859549895), (151.14964710967263, -33.844676673628555), (151.14989840771284, -33.84458842403815), (151.15015106091536, -33.84450413255293), (151.1504050069418, -33.844423819970565), (151.15066018313476, -33.84434750610698), (151.15091652653334, -33.844275209791476), (151.15117397388863, -33.844206948862094), (151.15143246167938, -33.844142740161196), (151.15169192612754, -33.84408259953132), (151.1519523032142, -33.84402654181125), (151.15221352869514, -33.843974580832416), (151.15247553811696, -33.843926729415394), (151.1527382668327, -33.84388299936681), (151.153001650018, -33.8438434014764), (151.15326562268703, -33.84380794551435), (151.15353011970842, -33.84377664022888), (151.15379507582153, -33.84374949334411), (151.1540604256524, -33.84372651155814), (151.15432610372991, -33.84370770054135), (151.154592044502, -33.84369306493511), (151.15485818235175, -33.84368260835051), (151.15512445161363, -33.843676333367576), (151.15539078658966, -33.84367424153455), (151.1556571215657, -33.843676333367576), (151.15592339082758, -33.84368260835051), (151.15618952867732, -33.84369306493511), (151.1564554694494, -33.84370770054135), (151.15672114752692, -33.84372651155814), (151.1569864973578, -33.84374949334411), (151.1572514534709, -33.84377664022888), (151.1575159504923, -33.84380794551435), (151.1577799231613, -33.8438434014764), (151.15804330634663, -33.84388299936681), (151.15830603506237, -33.843926729415394), (151.15856804448418, -33.843974580832416), (151.15882926996514, -33.84402654181125), (151.1590896470518, -33.84408259953132), (151.15934911149995, -33.844142740161196), (151.1596075992907, -33.844206948862094), (151.159865046646, -33.844275209791476), (151.16012139004457, -33.84434750610698), (151.16037656623752, -33.844423819970565), (151.16063051226396, -33.84450413255293), (151.1608831654665, -33.84458842403815), (151.1611344635067, -33.844676673628555), (151.1613843443806, -33.844768859549895), (151.16163274643378, -33.84486495905666), (151.16187960837678, -33.844964948437735), (151.1621248693001, -33.84506880302224), (151.16236846868927, -33.845176497185605), (151.16261034643978, -33.845288004355915), (151.16285044287193, -33.84540329702044), (151.16308869874553, -33.84552234673244), (151.16332505527447, -33.84564512411818), (151.16355945414136, -33.84577159888418), (151.16379183751175, -33.84590173982468), (151.16402214804853, -33.84603551482935), (151.16425032892602, -33.84617289089122), (151.164476323844, -33.84631383411478), (151.16470007704166, -33.84645830972442), (151.16492153331114, -33.84660628207293), (151.1651406380115, -33.846757714650366), (151.16535733708193, -33.84691257009299), (151.16557157705515, -33.84707081019254), (151.16578330507065, -33.84723239590564), (151.1659924688877, -33.847397287363435), (151.16619901689833, -33.84756544388143), (151.16640289813984, -33.84773682396951), (151.16660406230758, -33.847911385342215), (151.16680245976735, -33.84808908492912), (151.1669980415675, -33.84826987888553), (151.1671907594512, -33.84845372260324), (151.16738056586811, -33.84864057072155), (151.16756741398643, -33.84883037713849), (151.16775125770414, -33.84902309502216), (151.16793205166053, -33.849218676822325), (151.16810975124744, -33.84941707428209), (151.16828431262016, -33.84961823844984), (151.16845569270822, -33.849822119691346), (151.16862384922624, -33.85002866770195), (151.16878874068402, -33.850237831519024), (151.16895032639712, -33.850449559534525), (151.16910856649667, -33.850663799507736), (151.1692634219393, -33.85088049857815), (151.16941485451673, -33.85109960327851), (151.16956282686525, -33.85132105954802), (151.16970730247488, -33.851544812745644), (151.16984824569846, -33.851770807663634), (151.1699856217603, -33.85199898854113), (151.170119396765, -33.85222929907791), (151.17024953770547, -33.8524616824483), (151.17037601247148, -33.85269608131518), (151.17049878985722, -33.85293243784413), (151.17061783956922, -33.85317069371772), (151.17073313223375, -33.85341079014988), (151.17084463940407, -33.853652667900406), (151.17095233356744, -33.85389626728957), (151.17105618815194, -33.854141528212885), (151.17115617753302, -33.85438839015588), (151.17125227703977, -33.85463679220907), (151.17134446296112, -33.85488667308296), (151.1714327125515, -33.855137971123185), (151.17151700403673, -33.855390624325715), (151.1715973166191, -33.85564457035215), (151.1716736304827, -33.855899746545106), (151.1717459267982, -33.85615608994368), (151.17181418772756, -33.85641353729898), (151.17187839642847, -33.8566720250897), (151.17193853705834, -33.85693148953788), (151.1719945947784, -33.85719186662452), (151.17204655575725, -33.85745309210549), (151.17209440717426, -33.8577151015273), (151.17213813722284, -33.857977830243044), (151.17217773511328, -33.85824121342835), (151.17221319107531, -33.85850518609736), (151.17224449636078, -33.85876968311876), (151.17227164324555, -33.85903463923187), (151.17229462503153, -33.85929998906274), (151.1723134360483, -33.85956566714026), (151.17232807165456, -33.85983160791235), (151.17233852823915, -33.86009774576209), (151.1723448032221, -33.86036401502396), (151.1723468950551, -33.86063035)],[(151.0889803, -33.8997719), (151.0890405, -33.9000323), (151.0890753, -33.9001859), (151.0891987, -33.9004598), (151.0894535, -33.9007291), (151.0898532, -33.9009651), (151.091484, -33.9018512), (151.0917897, -33.9020026), (151.0919963, -33.9020538), (151.092179, -33.9020761), (151.0924087, -33.9020985), (151.0925246, -33.9020938), (151.092629, -33.9020837), (151.0930182, -33.9020415), (151.0932418, -33.9020214), (151.093501, -33.9020092), (151.0936456, -33.9020186), (151.0938041, -33.9020426), (151.0939422, -33.9020688), (151.0941151, -33.9021052), (151.0941607, -33.9021173), (151.0942387, -33.9021392), (151.0943687, -33.9022004), (151.0945505, -33.9023084), (151.0954696, -33.9028822), (151.0963342, -33.9034067), (151.096647, -33.903539), (151.0969567, -33.9036123), (151.097095, -33.9036387), (151.0972452, -33.9036499), (151.0973659, -33.9036521), (151.0974717, -33.903648), (151.0976315, -33.9036254), (151.0977998, -33.9035895), (151.0983892, -33.9033231), (151.0993744, -33.902848), (151.0994024, -33.9026974), (151.0994152, -33.9024996), (151.0994571, -33.9021405), (151.0994649, -33.9020607), (151.0994706, -33.9019838), (151.0994551, -33.9019125), (151.0994364, -33.9018581), (151.0994101, -33.9018025), (151.0990339, -33.9011349), (151.0990016, -33.9010746), (151.098981, -33.9010269), (151.0989687, -33.9009908), (151.0989546, -33.9009261), (151.0989444, -33.9008598), (151.0989443, -33.9007987), (151.0989488, -33.9007453), (151.0989686, -33.9006175), (151.0990121, -33.9004), (151.0990915, -33.9000308), (151.0993325, -33.8988306), (151.0993466, -33.898769), (151.0994124, -33.8984296), (151.0995742, -33.8976564), (151.0995891, -33.8975851), (151.0996095, -33.8974875), (151.0997142, -33.8974619), (151.099745, -33.8974543), (151.1001982, -33.8973433), (151.1009168, -33.8971672), (151.1020241, -33.8968943), (151.102268, -33.8968323), (151.103544, -33.8965187), (151.1040917, -33.8963882), (151.1042084, -33.8963601), (151.1043756, -33.8963198), (151.1047736, -33.8962238), (151.1049912, -33.8961684), (151.1050845, -33.8961461), (151.1054759, -33.8960548), (151.1056555, -33.8960119), (151.1060485, -33.8959117), (151.106228, -33.8958688), (151.1064594, -33.8958131), (151.1065599, -33.895789), (151.1066564, -33.895766), (151.1067523, -33.8957431), (151.1073104, -33.89561), (151.1076502, -33.8955268), (151.1078167, -33.895486), (151.1079017, -33.8954652), (151.1083628, -33.8953522), (151.1083963, -33.895344), (151.1085734, -33.8953041), (151.1086825, -33.8952764), (151.1087092, -33.8952678), (151.1091219, -33.8951641), (151.1097506, -33.8950109), (151.1103713, -33.8948604), (151.1109995, -33.8947014), (151.1110281, -33.8946952), (151.1111228, -33.8946719), (151.1112341, -33.8946452), (151.1112653, -33.894637), (151.1113566, -33.8946139), (151.1117365, -33.8945225), (151.1123911, -33.8943629), (151.1123991, -33.8942772), (151.1127085, -33.8916958), (151.1127397, -33.8914355), (151.1127425, -33.8914124), (151.1127489, -33.8913591), (151.112755, -33.8913066), (151.1127601, -33.8912594), (151.1129559, -33.8896413), (151.1131093, -33.8882629), (151.1132137, -33.8873858), (151.1132569, -33.8869944), (151.1132654, -33.8869214), (151.1130327, -33.8868074), (151.1128897, -33.8867423), (151.1127386, -33.8866838), (151.1125838, -33.8866401), (151.1126482, -33.8865529), (151.1127485, -33.8864172), (151.1141184, -33.8847571), (151.1143462, -33.8845006), (151.114395, -33.8844456), (151.1145163, -33.8845148), (151.1145706, -33.8844463), (151.1146883, -33.8842977), (151.1147171, -33.8842612), (151.1147499, -33.8842198), (151.1147799, -33.8841819), (151.114851, -33.8840921), (151.1148624, -33.8840778), (151.114917, -33.8840121), (151.114966, -33.8839531), (151.1150331, -33.8838724), (151.1150463, -33.883856), (151.1152728, -33.8835744), (151.1153095, -33.8835288), (151.1158215, -33.8829338), (151.1163935, -33.8821888), (151.1184444, -33.8798696), (151.1206979, -33.8769906), (151.1206494, -33.8769842), (151.1205794, -33.8770047), (151.1191777, -33.8768233), (151.1182178, -33.8766916), (151.1184091, -33.8757907), (151.1185122, -33.8753179), (151.1185167, -33.8752852), (151.1187536, -33.8741724), (151.1187696, -33.8740971), (151.1187906, -33.8739918), (151.1187935, -33.8739783), (151.118829, -33.8738142), (151.1192097, -33.872036), (151.1192359, -33.8719243), (151.119398, -33.871139), (151.1194222, -33.8710286), (151.1194359, -33.8709779), (151.1194498, -33.8709378), (151.1187729, -33.8708716), (151.1176965, -33.8707698), (151.1171141, -33.8707125), (151.1168882, -33.8706879), (151.116667, -33.8706541), (151.1146065, -33.870195), (151.1133943, -33.8699), (151.1133029, -33.8698842), (151.1129807, -33.8698221), (151.1127966, -33.8697933), (151.1118216, -33.8696913), (151.1116225, -33.8696722), (151.1094449, -33.8694479), (151.1090363, -33.8694005), (151.1081776, -33.8692713), (151.1076079, -33.8691576), (151.1070345, -33.869084), (151.1055064, -33.8689066), (151.1045731, -33.8687809), (151.1040722, -33.8687016), (151.1030255, -33.868605), (151.1020826, -33.8685106), (151.1010974, -33.8684306), (151.1010193, -33.8684255), (151.1004751, -33.8683755), (151.1000584, -33.8683055), (151.0997592, -33.8682401), (151.0992534, -33.8681166), (151.0988297, -33.8680114), (151.0984909, -33.8679128), (151.0980727, -33.8677532), (151.0976413, -33.8676131), (151.0973489, -33.8675186), (151.0968026, -33.8673611), (151.0957123, -33.8670908), (151.0956944, -33.8671435), (151.0956838, -33.8671728), (151.0945774, -33.8702202), (151.0948424, -33.8702889), (151.0949542, -33.8703204), (151.0949305, -33.8703863), (151.0949242, -33.8704126), (151.0948611, -33.8706866), (151.0948567, -33.8707059), (151.0947241, -33.8710124), (151.0947182, -33.8710656), (151.0946161, -33.8714794), (151.0944111, -33.8723096), (151.0943798, -33.8724236), (151.0943462, -33.8725124), (151.0943488, -33.8725456), (151.0943479, -33.8725759), (151.0943432, -33.8726138), (151.0943239, -33.8726884), (151.0942815, -33.8728954), (151.0942767, -33.8729188), (151.094267, -33.8729664), (151.0942569, -33.8730147), (151.0942518, -33.8730392), (151.0941161, -33.8736886), (151.094041, -33.873789), (151.0939757, -33.87385), (151.093965, -33.8738604), (151.0939525, -33.8738862), (151.0940291, -33.873987), (151.0940348, -33.8740553), (151.094012, -33.8742057), (151.0938587, -33.8747219), (151.0938373, -33.8748171), (151.0938316, -33.8748464), (151.0937481, -33.875192), (151.0936218, -33.8756955), (151.0935491, -33.8760309), (151.093503, -33.876288), (151.0934892, -33.8763652), (151.0934753, -33.8764407), (151.0933486, -33.8771272), (151.093135, -33.8782592), (151.0930788, -33.8785641), (151.0930263, -33.8788533), (151.0928695, -33.8797101), (151.092832, -33.8799171), (151.0926629, -33.8807808), (151.0926512, -33.8808435), (151.0925579, -33.8813706), (151.0924614, -33.8818449), (151.0924422, -33.8819396), (151.0924262, -33.8820332), (151.0923749, -33.8823345), (151.092184, -33.8833121), (151.0921149, -33.883648), (151.0919731, -33.8844091), (151.0918581, -33.885023), (151.0918015, -33.8853307), (151.0916193, -33.8862869), (151.0914946, -33.8868919), (151.0914356, -33.8873461), (151.0914635, -33.8876403), (151.0914919, -33.8879406), (151.0914704, -33.8882345), (151.0913455, -33.8891242), (151.0911248, -33.8892797), (151.0904022, -33.8931389), (151.090265, -33.8939293), (151.0893243, -33.8987869), (151.0892141, -33.8993388), (151.0889803, -33.8997719), (151.200542, -33.840448), (151.202007, -33.84098), (151.202009, -33.840947), (151.202104, -33.840758), (151.203164, -33.841135), (151.202842, -33.841753), (151.204488, -33.842333), (151.204562, -33.84198), (151.204979, -33.842032), (151.2048544, -33.8423823), (151.204823, -33.842459), (151.205048, -33.842561), (151.205225, -33.842688), (151.205662, -33.842745), (151.206141, -33.842815), (151.206066, -33.842691), (151.206097, -33.84262), (151.206241, -33.841907), (151.206275, -33.841831), (151.206271, -33.84176), (151.206303, -33.841695), (151.206329, -33.841381), (151.206308, -33.841281), (151.20634, -33.841204), (151.206484, -33.841253), (151.207596, -33.841414), (151.207583, -33.841478), (151.207733, -33.8415), (151.207719, -33.841566), (151.208298, -33.841649), (151.208268, -33.841834), (151.209028, -33.841945), (151.209162, -33.841982), (151.209383, -33.842117), (151.209913, -33.842597), (151.210261, -33.84295), (151.210654, -33.843544), (151.210634, -33.843612), (151.2107293, -33.8436208), (151.2111711, -33.8436609), (151.2117343, -33.8437561), (151.2116788, -33.8436481), (151.2116322, -33.843541), (151.2115931, -33.8434206), (151.2114858, -33.843016), (151.2114735, -33.8429614), (151.2114172, -33.8427105), (151.2114145, -33.8426984), (151.2114059, -33.8426413), (151.2114143, -33.8425405), (151.2114332, -33.8424697), (151.2114476, -33.8424085), (151.2114778, -33.8423526), (151.2115082, -33.8423109), (151.2115287, -33.8422866), (151.2116037, -33.8422857), (151.2116752, -33.842314), (151.2119414, -33.8424323), (151.2121477, -33.8424998), (151.2125737, -33.84258), (151.2126355, -33.8426141), (151.2127856, -33.8427537), (151.2125111, -33.8432248), (151.2127727, -33.8433159), (151.2128165, -33.8433437), (151.2128626, -33.8434356), (151.2129301, -33.8433484), (151.2130163, -33.8432783), (151.2131182, -33.8432033), (151.2132219, -33.8431422), (151.213381, -33.8430601), (151.2135485, -33.8429465), (151.2141456, -33.8433686), (151.2142801, -33.8432217), (151.2145389, -33.8433562), (151.2144702, -33.8434632), (151.2147201, -33.8435758), (151.2148696, -33.8435959), (151.2151349, -33.8436844), (151.2151274, -33.8436983), (151.2152559, -33.8437604), (151.2152414, -33.8437829), (151.2157842, -33.8440361), (151.2157336, -33.8441078), (151.2159027, -33.8441917), (151.2160676, -33.8442738), (151.216189, -33.8443577), (151.2163059, -33.8444461), (151.2163265, -33.8444643), (151.2164193, -33.8445447), (151.2167737, -33.8447208), (151.2169041, -33.8447811), (151.2167098, -33.8450635), (151.2181902, -33.8451333), (151.2183215, -33.8451482), (151.218427, -33.8451544), (151.2185007, -33.8451531), (151.2186314, -33.8450516), (151.2186252, -33.8450152), (151.2186127, -33.8449596), (151.2185386, -33.8446331), (151.2184007, -33.8443239), (151.2182421, -33.8440733), (151.2182331, -33.8440766), (151.2182207, -33.8440812), (151.2182095, -33.8440853), (151.2182019, -33.8440881), (151.2181125, -33.8440553), (151.2180885, -33.8440649), (151.2180603, -33.8440211), (151.2180417, -33.8439748), (151.2180471, -33.8439201), (151.2179687, -33.8437706), (151.2178115, -33.8436111), (151.2177115, -33.8435876), (151.2178081, -33.8435657), (151.2177532, -33.8435006), (151.2177336, -33.8434426), (151.2177311, -33.8433966), (151.2177221, -33.8433774), (151.21771, -33.8433519), (151.2176913, -33.8433287), (151.2177161, -33.8433127), (151.2179413, -33.8435629), (151.2179267, -33.8435718), (151.2180526, -33.8437143), (151.2180608, -33.8437089), (151.2180708, -33.8437031), (151.218108, -33.8436802), (151.2177162, -33.8432612), (151.2177709, -33.8432243), (151.2170197, -33.8424167), (151.2169598, -33.8424536), (151.2169005, -33.8424902), (151.2167214, -33.8422918), (151.2166358, -33.8421971), (151.2166255, -33.8421857), (151.2166088, -33.8421672), (151.2165184, -33.8421493), (151.216493, -33.842145), (151.2164694, -33.8421375), (151.2163385, -33.8420697), (151.2163242, -33.8420584), (151.2162152, -33.8419964), (151.216173, -33.8419643), (151.2161594, -33.841951), (151.2160942, -33.8418996), (151.2160544, -33.8418835), (151.2160369, -33.8418764), (151.2159795, -33.8418532), (151.2159608, -33.8418456), (151.2159362, -33.8418357), (151.2158584, -33.8417765), (151.2158494, -33.8417684), (151.2158234, -33.8417437), (151.2158157, -33.8417368), (151.2157593, -33.8416976), (151.215749, -33.8416887), (151.2157252, -33.8416733), (151.2156226, -33.8416149), (151.2156114, -33.8416057), (151.2155346, -33.8415615), (151.2155183, -33.8415521), (151.2154907, -33.8415362), (151.2151958, -33.8410803), (151.2149362, -33.8411028), (151.2149353, -33.8408931), (151.2149217, -33.8408247), (151.2148996, -33.8407312), (151.2148685, -33.8406393), (151.2147842, -33.8404884), (151.2147422, -33.8404254), (151.2146899, -33.8403695), (151.2141792, -33.8399), (151.2141299, -33.8397968), (151.2140853, -33.8395911), (151.2140713, -33.8395152), (151.2139892, -33.8391437), (151.2139719, -33.8390483), (151.2139467, -33.8389946), (151.2137596, -33.838832), (151.2137412, -33.8388152), (151.2133959, -33.8384993), (151.213353, -33.8384879), (151.2133291, -33.8384849), (151.2133175, -33.8385556), (151.2132783, -33.8387955), (151.2127375, -33.8387202), (151.2127898, -33.8384195), (151.2124882, -33.8383824), (151.2124563, -33.8383785), (151.2124056, -33.8386531), (151.2123849, -33.8387713), (151.2117003, -33.8386793), (151.2116056, -33.8386666), (151.2113478, -33.838632), (151.2114898, -33.8377578), (151.2115018, -33.8374066), (151.211507, -33.8373228), (151.2115611, -33.8370271), (151.2119245, -33.8350397), (151.212159, -33.83411), (151.2122514, -33.833793), (151.212264, -33.8337531), (151.2123866, -33.8333637), (151.2125407, -33.8329869), (151.2126673, -33.8327666), (151.2128179, -33.8325363), (151.2130952, -33.832178), (151.2133176, -33.8319122), (151.2137489, -33.8314999), (151.2138749, -33.8313609), (151.2139937, -33.8312298), (151.2143103, -33.8308346), (151.2144051, -33.8307679), (151.2144741, -33.8307194), (151.2146172, -33.8304566), (151.2144991, -33.8304481), (151.2145214, -33.830313), (151.2147011, -33.8303357), (151.2147901, -33.830168), (151.2148393, -33.8299377), (151.2146074, -33.8299036), (151.2146339, -33.829792), (151.2142287, -33.8297756), (151.2135337, -33.8296873), (151.2133885, -33.8296659), (151.2129537, -33.8295936), (151.2130718, -33.8290235), (151.2128048, -33.8289866), (151.2127826, -33.8290434), (151.2126303, -33.8290164), (151.2125959, -33.8291555), (151.2123938, -33.8291265), (151.2124337, -33.8289468), (151.2115194, -33.8288097), (151.2114934, -33.8289293), (151.211065, -33.8288685), (151.2108623, -33.8287951), (151.2104315, -33.8287273), (151.2105507, -33.8281507), (151.210086, -33.8280784), (151.2099892, -33.8285368), (151.2096007, -33.828478), (151.2095825, -33.828577), (151.2090456, -33.8284962), (151.2089404, -33.8289102), (151.208703, -33.82888), (151.206711, -33.828582), (151.206624, -33.828994), (151.206849, -33.829027), (151.2068372, -33.8290788), (151.206592, -33.830154), (151.206485, -33.830138), (151.206387, -33.830581), (151.206058, -33.830535), (151.205994, -33.830437), (151.205467, -33.830361), (151.2054, -33.830664), (151.204333, -33.830523), (151.20423, -33.830977), (151.203963, -33.830942), (151.2033096, -33.8311779), (151.2031916, -33.8312283), (151.2027721, -33.8314329), (151.2027269, -33.831455), (151.2034692, -33.8323475), (151.2035399, -33.8324305), (151.2039994, -33.8323376), (151.2040301, -33.8323314), (151.2041545, -33.8323017), (151.2043228, -33.8326756), (151.2044634, -33.8329795), (151.2045007, -33.8330603), (151.2045987, -33.8332703), (151.2046391, -33.8333585), (151.2046984, -33.8334944), (151.2047461, -33.8336291), (151.204599, -33.833664), (151.203255, -33.83393), (151.203391, -33.834402), (151.202339, -33.834608), (151.202575, -33.835413), (151.20262, -33.835503), (151.203386, -33.8354), (151.203395, -33.835492), (151.203504, -33.835868), (151.203025, -33.83593), (151.203338, -33.837064), (151.202282, -33.837191), (151.202293, -33.83723), (151.20213, -33.837264), (151.201951, -33.837525), (151.201821, -33.837651), (151.201871, -33.837824), (151.201463, -33.837971), (151.201591, -33.838509), (151.201834, -33.838532), (151.201812, -33.838604), (151.20157, -33.838573), (151.201528, -33.838728), (151.201754, -33.83877), (151.201732, -33.838858), (151.201504, -33.838816), (151.20148, -33.838903), (151.20173, -33.838951), (151.201654, -33.839216), (151.201574, -33.8392), (151.20155, -33.839289), (151.201623, -33.839303), (151.201587, -33.839389), (151.201559, -33.839414), (151.201546, -33.839466), (151.201568, -33.839471), (151.201515, -33.839703), (151.201482, -33.839697), (151.201461, -33.839778), (151.201498, -33.839784), (151.201477, -33.839865), (151.201501, -33.839869), (151.201492, -33.839909), (151.201479, -33.839906), (151.201469, -33.839948), (151.201259, -33.839909), (151.201219, -33.839908), (151.201222, -33.839926), (151.201187, -33.839922), (151.2007949, -33.8398408), (151.2007515, -33.8398285), (151.200711, -33.8398), (151.200548, -33.840423), (151.200542, -33.840448)]]}}]}
draw_location(geojson)
def view_polygon_menu_between():
global geojson
# 初始 sidebar
st.sidebar.markdown("## Deployment Method")
st.sidebar.markdown("You can select the deployment method for the model.")
deployment_options = ["API", "Local deployment"]
use_local_model = st.sidebar.radio("Choose deployment method:", deployment_options, index=0) == "Local deployment"
if use_local_model:
local_model_path = st.sidebar.text_input("Enter local model path:", "")
st.sidebar.markdown("## LLM Model")
st.sidebar.markdown("You can **select** different *LLM model* powered by API.")
models = ['Llama-3-8B', 'Mistral-7B-0.3', 'Gemma-2-10B', 'GPT-4o', 'Gemini Pro', 'Deepseek-R1', 'en_core_web_sm',
'en_core_web_md', 'en_core_web_lg', 'en_core_web_trf']
params = st.query_params
if "model" in params:
default_ix = models.index(params["model"])
else:
default_ix = models.index('GPT-4o')
model = st.sidebar.selectbox('LLM Model', models, index=default_ix)
st.sidebar.markdown("## Spatial Entity Labels")
st.sidebar.markdown("Please **Mark** the Spatial Entities you want to extract.")
tpes = ""
st.sidebar.markdown("### Absolute Spatial Entity:")
if "g" in tpes:
gpe = st.sidebar.checkbox('GPE', value=True)
else:
gpe = st.sidebar.checkbox('GPE')
if "l" in tpes:
loc = st.sidebar.checkbox('LOC', value=True)
else:
loc = st.sidebar.checkbox('LOC')
# 初始 sidebar 结束
st.sidebar.markdown("## View")
# st.sidebar.markdown("Select the **format** to view coordinates")
view = st.sidebar.radio(
"Select the format to view coordinates",
('Map', 'GEOJson'), horizontal=True)
st.sidebar.markdown("## Compute")
is_midmid = st.sidebar.radio(
"Do you Want to compute polygons with mid or midmid point",
('midpoint', 'midmidpoint'), horizontal=True)
midmid = False
if is_midmid == "midmidpoint":
midmid = True
# params = st.experimental_get_query_params()
params = st.query_params
ase = None
level_1 = None
level_2 = None
level_3 = None
if "entity" in params:
ase, level_1, level_2, level_3 = geoutil.get_ent(params["entity"])
# md = "<span><b>ASE:</b>&emsp;" + str(ase) + "&emsp;<b>Level 1:</b>&emsp;" + str(
# level_1) + "&emsp;<b>Level 2:</b>&emsp;" + str(level_2) + "&emsp;<b>Level 3:</b>&emsp;" + str(
# level_3) + "</span>"
# st.write(md, unsafe_allow_html=True)
md1 = "<span><b>Input text:</b> I would like to know where is the area between <b>Burwood</b> and <b>Glebe</b> in Sydney.</span>"
md2 = "<span><b>ASE:</b>&emsp;Burwood / Glebe&emsp;<b>Level 1:</b>&emsp;" + str(
level_1) + "&emsp;<b>Level 2:</b>&emsp;" + str(level_2) + "&emsp;<b>Level 3:</b>&emsp;" + str(
level_3) + "</span>"
st.write(md1, unsafe_allow_html=True)
st.write(md2, unsafe_allow_html=True)
if view == "Map":
if "text" in params:
# doc = extract_spatial_entities(params["model"][0], params["text"][0], params["type"][0])
doc = ent_span.sent
geojson1 = disambiguate.dismabiguate_entities_between(doc, params["entity"][0], doc.ents[0].text, level_1, level_2, level_3,
midmid)
geojson2 = disambiguate.dismabiguate_entities_between(doc, params["entity"][0], doc.ents[1].text, level_1, level_2, level_3,
midmid)
geojson = disambiguate.dismabiguate_entities_between(doc, params["entity"][0], doc.ents[0].text, level_1, level_2, level_3,
midmid)
# geojson1['features'][0]['geometry']['coordinates']
# geojson2['features'][0]['geometry']['coordinates']
def convert(data):
return [tuple(item) for item in data]
mid_area = geo_level3.get_between_coordinates(convert(geojson1['features'][0]['geometry']['coordinates'][0]),
convert(geojson2['features'][0]['geometry']['coordinates'][0]),
geojson1['features'][0]['properties']['centroid'],
geojson2['features'][0]['properties']['centroid'])
geojson['features'][0]['geometry']['coordinates'] = mid_area[0]
center_line = [geojson1['features'][0]['properties']['centroid'], geojson2['features'][0]['properties']['centroid']] # 中点连线
geojson['features'][0]['geometry']['coordinates'].append(geojson1['features'][0]['geometry']['coordinates'][0])
geojson['features'][0]['geometry']['coordinates'].append(geojson2['features'][0]['geometry']['coordinates'][0]) # 添加中点连线
geojson['features'][0]['geometry']['coordinates'].append(center_line)
geojson['features'][0]['properties']['centroid'] = mid_area[1]
draw_location(geojson)
def set_geojson_menu():
global geojson
st.sidebar.markdown("## Export")
st.sidebar.markdown("Do you want to Export **GEOJson**?")
export = st.sidebar.button("Export")
if(export):
params = st.query_params
disambiguate.export(params["entity"][0],geojson)
def set_map_menu():
types = ""
params = st.query_params
st.sidebar.markdown("## Deployment Method")
st.sidebar.markdown("You can select the deployment method for the model.")
deployment_options = ["API", "Local deployment"]
use_local_model = st.sidebar.radio("Choose deployment method:", deployment_options, index=0) == "Local deployment"
if use_local_model:
local_model_path = st.sidebar.text_input("Enter local model path:", "")
st.sidebar.markdown("## LLM Model")
st.sidebar.markdown("You can **select** different *LLM model* powered by API.")
models = ['Llama-3-8B', 'Mistral-7B-0.3', 'Gemma-2-10B', 'GPT-4o', 'Gemini Pro', 'Deepseek-R1', 'en_core_web_sm',
'en_core_web_md', 'en_core_web_lg', 'en_core_web_trf']
default_ix = models.index('GPT-4o')
st.sidebar.selectbox('LLM Model', models, index=default_ix)
st.sidebar.markdown("## Spatial Entity Labels")
st.sidebar.markdown("Please **Mark** the Spatial Entities you want to extract.")
tpes = ""
if "type" in params:
tpes = params['type'][0]
st.sidebar.markdown("### Absolute Spatial Entity:")
if "g" in tpes:
st.sidebar.checkbox('GPE', value=True)
else:
st.sidebar.checkbox('GPE')
if "l" in tpes:
st.sidebar.checkbox('LOC', value=True)
else:
st.sidebar.checkbox('LOC')
st.sidebar.markdown("### Relative Spatial Entity:")
if "r" in tpes:
st.sidebar.checkbox('RSE', value=True)
else:
st.sidebar.checkbox('RSE')
def draw_location(geojson):
#gj = json.load(geojson)
centroid = geojson['features'][0]['properties']['centroid']
centroid = (centroid[0],centroid[1])
my_map = folium.Map(location=[centroid[1], centroid[0]],
zoom_start =12)
folium.GeoJson(geojson,
smooth_factor=1,
style_function = lambda x: {
'fillColor': 'green',
'color': 'blue',
'weight': 1.5,
'fillOpacity': 0.3
},
popup =True,
name= geojson['features'][0]['id']).add_to(my_map)
folium_static(my_map)
def displayGeoJson(geojson):
st.json(geojson)
def create_span(doc, text, label="ENTITY"):
for ent in doc.ents:
if ent.text == text:
return ent # 如果实体已经存在,直接返回
# 手动创建 Span
start = doc.text.find(text)
if start == -1:
return None # 如果找不到该文本,就返回 None
end = start + len(text)
return Span(doc, doc.char_span(start, end, label=label).start, doc.char_span(start, end, label=label).end, label=label)
set_header()
nlp = spacy.load("en_core_web_md")
doc = Doc(nlp.vocab).from_disk("saved_doc.spacy")
params = st.query_params
mode = params.get("mode", None)
if mode == "geocombo":
set_map_menu()
text = params.get("text", "")
st.markdown("### 🌍 Geographic Combo Mode")
st.write("#### Processed sentence:")
st.write(text)
parsed_steps = st.query_params["combo"]
parsed_steps = json.loads(parsed_steps)
step_loc = llm_coding.execute_steps(parsed_steps)
result = step_loc[0]
coords_set = []
centriod_set = []
for i in step_loc[1]:
coords_set.append(i[0])
centriod_set.append(i[1])
coords_set.append(centriod_set)
coords = result[(max(result.keys()))]
coords_set.append(coords[0])
print(coords_set, 'tyty')
# print(type(coords[0]), 'tyty')
# print(coords[0], 'tyty')
# for i in coords_set:
# coords[0].append(i)
# coords[0] += coords_set
geojson = llm_coding.get_geojson(None, coords[0], coords[1])
draw_location(geojson)
else:
ent_str = params["entity"]
ent_span = create_span(doc, ent_str, label="ENTITY")
if 'between' in ent_span.sent.text.lower() and len(ent_span.sent.ents) == 2:
view_polygon_menu_between()
else:
view_polygon_menu()
set_map_menu()
set_geojson_menu()
#displayGeoJson()