elete Measure</button>
                </div>
            </form>
            
            <div style="margin-top: 30px;">
                <h3>JSON Output</h3>
                <div id="jsonOutput"></div>
                <button class="btn btn-primary" onclick="downloadJSON()">Download JSON</button>
                <button class="btn btn-secondary" onclick="copyJSON()">Copy to Clipboard</button>
            </div>
        </div>
    </div>

    <script>
        // Sample measures database
        let measure