Skip to content

Commit 74a134a

Browse files
committed
add hint to use the schema in copilot instructions
1 parent 2ed8fb6 commit 74a134a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/copilot-instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ This file provides instructions for AI coding assistants (like GitHub Copilot) t
3737
To implement a new KML feature (e.g., a new KML element):
3838

3939
1. **Identify the Domain**: Is it a Feature, Container, Geometry, or Extension?
40+
- **CRITICAL**: Use `fastkml/schema/ogckml22.xsd` or `fastkml/schema/ogckml23.xsd` to identify the object's domain and attributes.
4041
2. **Create/Modify Class**:
4142
- Place in `fastkml/features.py`, `fastkml/geometry.py`, etc.
4243
- Inherit from `_XMLObject` (or `_BaseObject`, `_Geometry`).

0 commit comments

Comments
 (0)