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
Probably the easiest way to do what you are looking for is to use
cookiecutter-django: https://github.com/pydanny/cookiecutter-django
They are now using Caddy for the web server but if you look in earlier
versions there are good examples of how to use Nginx if that is your
preference.
On Sunda
I think you are on the right track. I am doing something similar with
photos and gps tracks uploaded by users and the celery/redis combo makes it
easy to run a compute intensive task without blocking the site.
I'm not sure if the celery-signals approach is strictly necessary,
however. I am foll
Using database time functions is a bit of a hassle since each database
seems to have its own syntax for these types.
If you are using MySQL, the function you are calling will only return a
DATE field, in this case you want to use TIMESTAMP with the parameters all
combined in a single text string
I've been using geodjango for a few years now and it's quite useful.
I wrote some blog posts about setting up a server
here: https://geoanalytic.github.io/
although some of the info is in need of an update it does discuss using
leaflet on the front end.
I'd also recommend checking out Geonode,
You could use this library: https://github.com/martsberger/django-pivot
On Wednesday, January 31, 2018 at 4:55:48 AM UTC-7, harshvardhan singh
wrote:
>
> Can anyone give me the guidance for "How to build a pivot table in Django"?
> I want to implement something like this:
> https://pivottable.j
Hi Tadeo, I've recently gone through this exercise myself, and documented
my progress in three posts:
https://geoanalytic.github.io/a-production-ready-web-mapping-toolkit-part-1/
https://geoanalytic.github.io/a-production-ready-web-mapping-toolkit-part-2/
https://geoanalytic.github.io/a-production
7 matches
Mail list logo