An Infield / Full field switch on the Bases card (remembered per device). Full field draws the home team's park: the outfield wall and warning track for all 30 parks, MLB's posted distance signs where the wall measures them, the foul lines to the poles, and the same tappable bases and runner tags as the infield. Walls come from the stadium editor (js/fields.js, generated). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
9.4 KiB
JavaScript
42 lines
9.4 KiB
JavaScript
// Outfield walls for the Bases card's full-field view. GENERATED by
|
|
// ~/Developer/stadium-editor/export.py from walls.json; don't edit by hand.
|
|
// Per home team: w = wall from the left-field pole to the right-field pole, in feet
|
|
// (x toward right field, y toward center field, home plate at 0,0); t = warning
|
|
// track width; s = MLB's posted distance signs as [angle from center (+ = left
|
|
// field), feet]; src = where the outline came from.
|
|
// Outlines: GeomMLBStadiums (MIT, Ben Dilday; Statcast spray-chart outlines),
|
|
// adjusted by hand against satellite imagery; Braves from OpenStreetMap
|
|
// (© OpenStreetMap contributors, ODbL); Rangers and A's from MLB's distances.
|
|
var FIELD_WALLS = {
|
|
"Arizona Diamondbacks": {"w":[[-234.0,234.0],[-232.0,262.0],[-228.0,276.5],[-214.5,280.0],[-99.0,383.0],[-86.5,390.5],[-48.0,391.0],[-35.0,399.5],[-21.0,401.0],[31.5,401.0],[41.0,391.5],[83.0,391.0],[96.0,385.0],[210.0,284.0],[232.0,272.0],[235.5,257.0],[235.5,235.5]],"t":23,"s":[[45,328],[-4.5,407],[-45,335]],"src":"statcast"},
|
|
"Oakland Athletics": {"w":[[-233.5,233.5],[-222.5,247.0],[-213.0,263.0],[-204.0,281.0],[-195.0,300.0],[-183.5,318.5],[-170.5,334.5],[-154.5,346.5],[-136.5,355.0],[-118.0,363.5],[-100.0,372.5],[-81.0,382.0],[-62.0,390.0],[-41.5,397.0],[-21.0,401.5],[0.0,403.0],[21.0,401.5],[41.5,397.0],[62.0,390.0],[81.0,382.0],[100.0,372.5],[118.0,363.5],[136.5,355.0],[154.5,346.5],[170.0,334.0],[183.0,317.0],[193.5,298.0],[202.0,278.5],[210.5,259.5],[219.0,243.5],[230.0,230.0]],"t":15,"s":[[45,330],[21.6,380],[0.0,403],[-21.6,380],[-45,325]],"src":"mlb"},
|
|
"Atlanta Braves": {"w":[[-237.0,237.0],[-199.0,318.5],[-151.0,352.0],[-45.0,392.5],[39.5,399.0],[140.5,335.5],[228.5,228.5]],"t":19,"s":[[45,335],[32.2,375],[14.5,385],[-5.9,400],[-15.3,375],[-45,325]],"src":"osm"},
|
|
"Baltimore Orioles": {"w":[[-229.5,229.5],[-237.5,254.5],[-245.0,277.0],[-234.0,304.0],[-206.0,325.0],[-126.0,376.0],[-114.5,384.5],[-107.0,371.5],[-100.0,362.5],[-39.0,403.0],[-28.0,410.0],[117.5,369.5],[129.5,365.5],[168.5,312.0],[176.5,298.0],[195.5,270.5],[224.0,224.0]],"t":20,"s":[[45,333],[15.4,376],[4.2,410],[-23.0,373],[-45,318]],"src":"statcast"},
|
|
"Boston Red Sox": {"w":[[-216.0,216.0],[-210.0,225.0],[-59.5,375.5],[-36.0,375.5],[71.5,405.0],[81.5,407.0],[92.0,370.0],[101.5,365.5],[228.0,302.5],[236.5,292.0],[241.0,277.0],[239.0,270.0],[214.5,214.5]],"t":14,"s":[[45,310],[-11.3,420],[-45,302]],"src":"statcast"},
|
|
"Chicago Cubs": {"w":[[-252.5,252.5],[-223.5,279.5],[-183.5,312.0],[-172.0,305.5],[-143.5,324.0],[-34.5,392.5],[-4.5,404.0],[31.5,406.0],[70.0,396.0],[91.5,383.5],[103.5,373.5],[117.5,362.0],[172.0,309.0],[181.0,303.0],[193.5,306.0],[226.5,275.0],[247.5,247.5]],"t":16,"s":[[45,355],[14.5,368],[-10.9,400],[-22.3,368],[-45,353]],"src":"statcast"},
|
|
"Chicago White Sox": {"w":[[-234.0,234.0],[-189.5,292.0],[-128.0,352.0],[-93.5,374.5],[-45.5,398.0],[-31.5,401.5],[38.5,400.5],[103.0,372.0],[123.5,359.0],[144.5,340.5],[237.5,237.5]],"t":20,"s":[[45,330],[18.4,377],[-6.5,400],[-22.1,372],[-45,335]],"src":"statcast"},
|
|
"Cincinnati Reds": {"w":[[-230.5,230.5],[-224.0,248.5],[-214.5,260.0],[-100.0,372.5],[-10.5,402.0],[3.5,404.0],[34.5,395.0],[67.0,380.5],[94.5,365.0],[128.0,342.5],[179.0,297.5],[211.5,256.5],[226.5,234.5],[228.5,228.5]],"t":18,"s":[[45,328],[16.8,379],[-0.6,404],[-17.9,370],[-45,325]],"src":"statcast"},
|
|
"Cleveland Guardians": {"w":[[-229.5,229.5],[-197.5,287.5],[-187.5,300.5],[-28.5,407.5],[-14.0,406.0],[152.5,342.5],[162.0,332.0],[230.0,230.0]],"t":18,"s":[[45,325],[1.6,405],[-17.1,375],[-45,325]],"src":"statcast"},
|
|
"Colorado Rockies": {"w":[[-242.5,242.5],[-113.5,396.0],[-100.0,401.5],[40.0,413.5],[54.5,413.0],[67.5,403.5],[241.0,258.5],[246.5,246.5]],"t":21,"s":[[45,347],[-5.0,415],[-45,350]],"src":"statcast"},
|
|
"Detroit Tigers": {"w":[[-241.0,241.0],[-230.0,255.5],[-74.0,404.0],[-51.0,414.0],[70.0,411.0],[98.0,399.5],[108.0,389.5],[127.5,370.5],[138.5,358.0],[142.0,336.0],[214.5,261.0],[234.0,242.5],[234.5,234.5]],"t":21,"s":[[45,345],[21.8,370],[-9.6,420],[-22.9,365],[-45,330]],"src":"statcast"},
|
|
"Houston Astros": {"w":[[-222.5,222.5],[-180.0,268.5],[-126.0,315.0],[-133.0,334.0],[-38.0,412.5],[-8.5,414.0],[17.0,412.5],[46.5,413.0],[76.0,413.5],[98.5,385.0],[130.0,346.5],[142.0,346.5],[151.0,334.0],[231.5,231.5]],"t":20,"s":[[45,315],[20.5,362],[-12.3,409],[-21.7,373],[-45,326]],"src":"statcast"},
|
|
"Kansas City Royals": {"w":[[-234.5,234.5],[-237.5,250.0],[-236.0,262.0],[-228.0,281.5],[-190.0,322.5],[-134.5,369.0],[-110.0,384.0],[-70.5,400.0],[-28.5,408.5],[3.5,410.0],[46.0,405.5],[87.5,393.5],[113.0,381.5],[148.5,358.5],[172.5,338.5],[224.0,286.5],[231.0,275.5],[236.0,262.0],[237.0,249.5],[233.5,233.5]],"t":22,"s":[[45,347],[26.8,379],[-0.2,410],[-27.4,379],[-45,344]],"src":"statcast"},
|
|
"Los Angeles Angels": {"w":[[-237.5,237.5],[-237.0,263.0],[-230.0,279.0],[-152.5,359.5],[14.0,404.5],[207.0,301.0],[227.0,280.5],[235.5,257.0],[237.0,237.0]],"t":19,"s":[[45,330],[20.8,389],[2.9,396],[-33.9,365],[-45,330]],"src":"statcast"},
|
|
"Los Angeles Dodgers": {"w":[[-233.0,233.0],[-230.5,256.0],[-225.5,273.5],[-214.0,294.0],[-201.5,304.5],[-142.0,343.0],[-89.0,371.0],[-37.5,390.0],[3.5,394.5],[34.0,391.0],[98.0,366.5],[150.5,338.0],[209.0,299.0],[225.5,273.5],[230.0,260.0],[233.0,233.0]],"t":21,"s":[[45,330],[10.1,385],[-0.5,395],[-10.0,385],[-45,330]],"src":"statcast"},
|
|
"Miami Marlins": {"w":[[-238.5,238.5],[-213.0,277.5],[-195.0,300.5],[-174.0,320.5],[-110.0,370.5],[-68.5,389.0],[-40.0,416.5],[-29.0,417.0],[14.5,413.5],[53.5,404.5],[80.5,395.0],[118.0,375.0],[147.5,348.0],[235.5,235.5]],"t":18,"s":[[45,344],[16.7,386],[-8.3,407],[-17.8,392],[-45,335]],"src":"statcast"},
|
|
"Milwaukee Brewers": {"w":[[-241.5,241.5],[-228.5,272.5],[-178.5,322.0],[-75.0,369.0],[-58.0,388.0],[-45.0,396.0],[38.0,396.0],[51.5,391.5],[60.0,380.0],[72.5,372.5],[138.5,343.0],[165.5,318.0],[170.5,301.5],[239.5,239.5]],"t":22,"s":[[45,344],[16.1,371],[6.5,400],[-15.4,374],[-45,345]],"src":"statcast"},
|
|
"Minnesota Twins": {"w":[[-237.5,237.5],[-143.0,344.5],[-49.0,401.0],[-31.5,402.5],[35.0,397.5],[48.0,393.0],[130.0,339.0],[150.5,323.0],[161.5,297.5],[210.5,251.0],[229.5,229.5]],"t":19,"s":[[45,339],[19.1,377],[7.0,404],[-18.5,367],[-45,328]],"src":"statcast"},
|
|
"New York Mets": {"w":[[-237.5,237.5],[-238.0,242.0],[-218.5,279.5],[-39.0,406.5],[-21.5,411.0],[18.0,411.0],[35.5,405.5],[130.0,347.0],[141.5,341.5],[167.0,335.0],[178.0,327.5],[211.5,280.5],[220.0,253.5],[232.0,232.0]],"t":19,"s":[[45,335],[27.2,358],[18.6,370],[-4.5,408],[-14.8,380],[-29.3,370],[-45,330]],"src":"statcast"},
|
|
"New York Yankees": {"w":[[-225.5,225.5],[-219.5,259.0],[-209.0,285.0],[-187.5,309.0],[-119.0,373.5],[-89.0,396.0],[-59.5,403.0],[-26.0,410.0],[10.0,408.5],[36.5,404.5],[53.5,397.5],[75.0,383.5],[99.5,359.5],[211.5,256.5],[221.5,242.0],[226.5,226.5]],"t":21,"s":[[45,318],[7.4,408],[-12.4,385],[-45,314]],"src":"statcast"},
|
|
"Philadelphia Phillies": {"w":[[-231.5,231.5],[-231.0,239.5],[-222.0,251.0],[-108.0,365.0],[-97.0,374.5],[-75.5,371.5],[-50.0,396.0],[-39.0,407.0],[65.0,390.5],[75.5,388.0],[231.0,231.0]],"t":20,"s":[[45,329],[12.2,381],[0.3,401],[-10.0,398],[-45,330]],"src":"statcast"},
|
|
"Pittsburgh Pirates": {"w":[[-229.5,229.5],[-223.5,281.0],[-219.5,296.5],[-114.0,384.5],[-103.5,383.5],[-88.0,381.5],[-7.0,395.5],[7.0,396.0],[74.0,381.0],[134.5,350.5],[145.5,343.0],[226.5,226.5]],"t":18,"s":[[45,325],[15.0,399],[-21.3,375],[-45,320]],"src":"statcast"},
|
|
"San Diego Padres": {"w":[[-236.5,236.5],[-218.0,259.5],[-111.5,371.5],[-80.0,389.0],[-57.0,388.0],[-27.5,388.0],[-11.5,398.5],[39.0,401.0],[76.0,395.5],[95.0,388.5],[119.0,366.0],[206.5,279.0],[213.5,268.5],[215.5,239.0],[225.5,225.5]],"t":18,"s":[[45,336],[12.2,396],[-16.2,391],[-45,322]],"src":"statcast"},
|
|
"San Francisco Giants": {"w":[[-240.5,240.5],[-234.5,255.5],[-224.5,267.5],[-75.0,393.5],[-58.5,393.5],[125.5,394.0],[133.0,393.5],[138.5,382.0],[158.0,329.5],[174.0,320.5],[182.5,310.0],[217.5,217.5]],"t":21,"s":[[45,339],[13.3,391],[-18.5,415],[-45,309]],"src":"statcast"},
|
|
"Seattle Mariners": {"w":[[-234.5,234.5],[-233.5,242.0],[-226.0,251.0],[-139.5,345.0],[-96.5,372.5],[-17.5,403.0],[-3.5,400.5],[114.5,363.5],[126.5,357.0],[223.0,239.0],[228.0,228.0]],"t":22,"s":[[45,331],[2.5,405],[-10.0,387],[-45,327]],"src":"statcast"},
|
|
"St. Louis Cardinals": {"w":[[-235.0,235.0],[-238.0,250.5],[-231.0,261.5],[-131.5,361.0],[-120.0,369.0],[-41.5,394.5],[-24.5,397.0],[28.0,397.0],[41.5,394.5],[122.5,366.5],[134.0,358.5],[231.0,261.0],[237.0,237.0]],"t":19,"s":[[45,336],[23.2,375],[-4.0,400],[-23.3,375],[-45,335]],"src":"statcast"},
|
|
"Tampa Bay Rays": {"w":[[-223.0,223.0],[-227.0,252.0],[-221.5,264.0],[-99.5,385.0],[-78.5,403.0],[-65.0,409.0],[46.0,405.5],[64.0,403.0],[85.5,386.5],[225.5,246.5],[228.5,232.5],[230.0,230.0]],"t":15,"s":[[45,315],[11.1,410],[-10.1,404],[-45,322]],"src":"statcast"},
|
|
"Texas Rangers": {"w":[[-232.5,232.5],[-142.5,343.5],[0.0,407.0],[143.0,345.5],[230.5,230.5]],"t":15,"s":[[45,329],[22.5,372],[0.0,407],[-22.1,374],[-45,326]],"src":"mlb"},
|
|
"Toronto Blue Jays": {"w":[[-233.0,233.0],[-165.0,331.0],[-153.5,344.5],[-96.0,385.0],[-80.0,393.0],[-38.5,399.5],[-3.5,401.0],[38.5,399.0],[83.5,392.0],[144.5,349.5],[158.0,338.5],[231.0,231.0]],"t":22,"s":[[45,328],[24.7,375],[11.5,404],[-24.1,375],[-45,328]],"src":"statcast"},
|
|
"Washington Nationals": {"w":[[-237.5,237.5],[-198.5,300.0],[-181.0,320.0],[-95.5,368.5],[-81.5,367.5],[-21.0,400.5],[-7.0,403.0],[186.0,316.0],[196.0,308.0],[235.5,235.5]],"t":18,"s":[[45,336],[12.8,377],[2.1,402],[-14.4,370],[-45,335]],"src":"statcast"}
|
|
};
|