Fixed capitalization of "Spherical Mercator."
This commit is contained in:
parent
0ab1dc0a8b
commit
63d2472b10
|
@ -67,7 +67,7 @@ GeoDjango's admin site
|
||||||
|
|
||||||
.. class:: OSMGeoAdmin
|
.. class:: OSMGeoAdmin
|
||||||
|
|
||||||
A subclass of :class:`GeoModelAdmin` that uses a spherical mercator projection
|
A subclass of :class:`GeoModelAdmin` that uses a Spherical Mercator projection
|
||||||
with `OpenStreetMap <https://www.openstreetmap.org/>`_ street data tiles.
|
with `OpenStreetMap <https://www.openstreetmap.org/>`_ street data tiles.
|
||||||
See the :ref:`OSMGeoAdmin introduction <osmgeoadmin-intro>`
|
See the :ref:`OSMGeoAdmin introduction <osmgeoadmin-intro>`
|
||||||
in the tutorial for a usage example.
|
in the tutorial for a usage example.
|
||||||
|
|
|
@ -393,7 +393,6 @@ MBR
|
||||||
memcache
|
memcache
|
||||||
memcached
|
memcached
|
||||||
mentorship
|
mentorship
|
||||||
mercator
|
|
||||||
metaclass
|
metaclass
|
||||||
metaclasses
|
metaclasses
|
||||||
metadata
|
metadata
|
||||||
|
|
|
@ -204,7 +204,7 @@ class GISFunctionsTests(TestCase):
|
||||||
@skipUnlessDBFeature("has_Difference_function", "has_Transform_function")
|
@skipUnlessDBFeature("has_Difference_function", "has_Transform_function")
|
||||||
def test_difference_mixed_srid(self):
|
def test_difference_mixed_srid(self):
|
||||||
"""Testing with mixed SRID (Country has default 4326)."""
|
"""Testing with mixed SRID (Country has default 4326)."""
|
||||||
geom = Point(556597.4, 2632018.6, srid=3857) # Spherical mercator
|
geom = Point(556597.4, 2632018.6, srid=3857) # Spherical Mercator
|
||||||
qs = Country.objects.annotate(difference=functions.Difference('mpoly', geom))
|
qs = Country.objects.annotate(difference=functions.Difference('mpoly', geom))
|
||||||
# Oracle does something screwy with the Texas geometry.
|
# Oracle does something screwy with the Texas geometry.
|
||||||
if oracle:
|
if oracle:
|
||||||
|
|
Loading…
Reference in New Issue