Thanks Erik. Doing so.
--
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-use
Z value calculation
step1: converting lat and long to int
latitude int = (latitude + 90) × 10^6
longitude int = (latitude + 180) × 10^6
note 10^6 = 100
We compute the Morton value for a spatial point P (x, y)
by interleaving the bits of x and y. For example
#Z value calculation
#
#step1: converting lat and long to int
latitude int = (latitude + 90) × 10^6
longitude int = (latitude + 180) × 10^6
#note 10^6 = 100
We compute the Morton value for a spatial point P (x, y)
by interleaving the bits of x and y. For exam
improve
efficiency.
I do not know the python syntax. Kindly help.
On Tue, May 3, 2016 at 3:22 PM, Erik Cederstrand
wrote:
>
> > Den 3. maj 2016 kl. 02.45 skrev Shameema Mohsin >:
> >
> >
> > Stil stuck with the z order calculation and usage of the property fie
Stil stuck with the z order calculation and usage of the property field.
Kindly help. I am new to Django, only knows php well.
--
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, se
Thank you Erik. I will try the property method.
--
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 django-users+unsubscr...@googlegroups.com.
To post to this group,
Could anybody help me out as I am new to Django.
*In my model:*
from django.db import models
class Employees(models.Model):
empId = models.AutoField(primary_key=True)
empName = models.CharField(max_length=200)
empEmail = models.EmailField()
empMob = models.CharField(max_length=200
i have 2 fields latitude n longitude, and need to calculate z order value
of lat n long n insert to a field
--
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 djan
8 matches
Mail list logo