Which rules apply when a pool sits near a city boundary?

https://yardchangejournal.keystonescope.com/posts/which-rules-apply-when-a-pool-sits-near-a-city-boundary

When a pool sits near a city boundary, local zoning, building codes, and health regulations may overlap or conflict. The property owner must check which municipality’s rules apply, as setback requirements, fencing standards, and drainage ordinances often differ. Consulting the relevant planning department or a land surveyor can clarify jurisdiction and avoid compliance issues.