Kaydet (Commit) 63d2472b authored tarafından Sergey Fedoseev's avatar Sergey Fedoseev Kaydeden (comit) Tim Graham

Fixed capitalization of "Spherical Mercator."

üst 0ab1dc0a
...@@ -67,7 +67,7 @@ GeoDjango's admin site ...@@ -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 ...@@ -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): ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment