Re: How to generate points kilometers from a road

2021-01-06 Thread hunter.cur...@gmail.com
Have a look at the GEOSGeometry class: https://docs.djangoproject.com/en/3.1/ref/contrib/gis/geos/#geosgeometry If you just want to specify a location along a linestring, try the interpolate method. On Tuesday, January 5, 2021 at 7:23:43 AM UTC-7 jfa...@inerza.com wrote: > > Exactly, what I ne

Django app part 2

2021-01-06 Thread Jani Karjalainen
Playing with the API onglema joka koskee kohtassa >>> Question.objects.get(id=2) Traceback (most recent call last): Tulee seuraava ilmoitus Traceback (most recent call last): File "", line 1, in File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/django/db/m

reg: Custom User model

2021-01-06 Thread 'Amitesh Sahay' via Django users
Hi,  I have created a custom User model as show below models.py Regards, Amitesh Sahay91-750 797 8619 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Django app part 2

2021-01-06 Thread Jani Karjalainen
Seems to work normally after teens until last. ke 6. tammik. 2021 klo 16.43 Jani Karjalainen (jani.karjalainen...@gmail.com) kirjoitti: > Playing with the API onglema joka koskee kohtassa >>> > Question.objects.get(id=2) > Traceback (most recent call last): > > Tulee seuraava ilmoitus > > Traceba

Re: How can I segment a roads?

2021-01-06 Thread Derek
This is a spatial query problem, not a Django one. Suggestion: use PostgreSQL and PostGIS and look at this: https://gis.stackexchange.com/questions/107277/getting-points-along-line-at-defined-distance-using-postgis/203551 HTH Derek On Tuesday, 5 January 2021 at 16:12:59 UTC+2 jfa...@inerza.com w

Reg: django termination

2021-01-06 Thread 'Amitesh Sahay' via Django users
Hi All, please somebody reply on the below link why the django admin console is terminating the web server automatically? | | | | || | | | | | why the django admin console is terminating the web server automatically? I have created a custom User model as I wanted to u