mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
Use SRID
This commit is contained in:
parent
6e357defcf
commit
89087f8566
1 changed files with 2 additions and 2 deletions
|
@ -22,14 +22,14 @@ def populate_courses(sender, **kwargs):
|
|||
name='Gymnasium',
|
||||
location=GEOSGeometry(
|
||||
'POLYGON ((124.656383 8.485963, 124.656576 8.485483, 124.657009 8.485659, 124.656827 8.486126, 124.656383 8.485963))',
|
||||
srid=4326
|
||||
srid=SRID
|
||||
)
|
||||
)
|
||||
Landmark.objects.get_or_create(
|
||||
name='Arts & Culture Building',
|
||||
location=GEOSGeometry(
|
||||
'POLYGON ((124.658427 8.486268, 124.658432 8.48617, 124.658582 8.486202, 124.658555 8.4863, 124.658427 8.486268))',
|
||||
srid=4326
|
||||
srid=SRID
|
||||
)
|
||||
)
|
||||
# Add more predefined records as needed
|
||||
|
|
Loading…
Reference in a new issue