Private
Public Access
1
0

small impro

This commit is contained in:
2024-02-28 15:57:44 +01:00
parent 25bfcb17fd
commit d07b20eb29
3 changed files with 5 additions and 5 deletions

View File

@@ -233,7 +233,7 @@ def removewhitespace(s):
return "\n".join(regels)
def getcoursefolder(course, document, cn=False):
folder2 = SubElement(document, 'Folder')
folder2 = SubElement(document, 'Folder', id="{id}".format(id=course.id))
coursename = SubElement(folder2, 'name')
coursename.text = course.name
openst = SubElement(folder2, 'open')

Binary file not shown.

View File

@@ -240,14 +240,14 @@ def part_of_day(hour):
# KML API views
"""
- Get a list of courses
- Get a list of courses OK
- Nearby a certain coordinate
- Filtered by
- Get a (KML) course (in response.content rather than as attachment)
- Get multiple courses as one KML in response.content
- Get a (KML) course (in response.content rather than as attachment) OK
- Get multiple courses as one KML in response.content OK
- GET with parameters?
Optional, not for CN
- Create one or more new courses from KML
- Create one or more new courses from KML
- Should check for duplicates (Placemark ID)
- Update one or more new courses from KML
"""