Tim Graham
9c3fbf5423
Used SQL from DB backend in GeomValue.
...
This avoids the deprecated GeomFromText on MySQL (refs #26134 ).
Thanks Claude Paroz for the review.
2016-06-16 19:51:13 -04:00
Tim Graham
ea34426ae7
Fixed flake8 2.6 warnings.
2016-06-16 09:12:50 -04:00
Ville Skyttä
96f97691ad
Fixed broken links in docs and comments.
2016-06-15 21:20:23 -04:00
Sergey Fedoseev
cee534228c
Refs #25645 -- Removed SpatiaLite 3.x compatibility in gis.db.models.functions.Translate.
...
Complements 47f22e8286
.
2016-06-13 10:32:07 -04:00
Sergey Fedoseev
6928ad184e
Fixed #26736 -- Fixed crashes in SpatialReference with non-ASCII characters.
2016-06-11 21:03:22 -04:00
Sergey Fedoseev
a20671c489
Refs #25645 -- Removed SpatiaLite 3.x compatibility in SpatialiteSpatialRefSys.wkt.
...
Complements 47f22e8286
.
2016-06-01 10:49:55 -04:00
Tim Graham
bc84278615
Fixed #26675 -- Dropped support for PostgreSQL 9.2/PostGIS 2.0.
2016-06-01 07:45:22 -04:00
Tim Graham
47f22e8286
Fixed #25645 -- Dropped support for SpatiaLite < 4.0.
2016-05-31 11:31:51 -04:00
Daniel Wiesmann
9bb1b4b7f6
Refs #25588 -- Fixed GDAL dependency in spatial lookups.
2016-05-27 17:43:17 +01:00
Aleksey
a247c1d789
Added missing quotes in openlayers.html template.
2016-05-25 09:12:55 -04:00
Tim Graham
92f88206d0
Refs #26134 -- Updated deprecated MySQL GIS function names.
2016-05-24 11:34:15 -04:00
Loïc Bistuer
ed0ff913c6
Fixed #10506 , #13793 , #14891 , #25201 -- Introduced new APIs to specify models' default and base managers.
...
This deprecates use_for_related_fields.
Old API:
class CustomManager(models.Model):
use_for_related_fields = True
class Model(models.Model):
custom_manager = CustomManager()
New API:
class Model(models.Model):
custom_manager = CustomManager()
class Meta:
base_manager_name = 'custom_manager'
Refs #20932 , #25897 .
Thanks Carl Meyer for the guidance throughout this work.
Thanks Tim Graham for writing the docs.
2016-05-17 12:07:22 +07:00
Daniel Wiesmann
078eb87626
Refs #26592 -- Fixed band statistics for empty bands and GDAL 2.1
2016-05-16 18:43:04 +02:00
Nicolas Noé
e158ec0ba0
Fixed #26333 -- Made GIS Geometry classes deconstructible.
2016-05-13 11:30:19 -04:00
Daniel Wiesmann
bbfad84dd9
Fixed #25588 -- Added spatial lookups to RasterField.
...
Thanks Tim Graham for the review.
2016-05-06 09:17:18 -04:00
Claude Paroz
388bb5bd9a
Fixed #22936 -- Obsoleted Field.get_prep_lookup()/get_db_prep_lookup()
...
Thanks Tim Graham for completing the initial patch.
2016-05-04 20:02:01 +02:00
bgaechter
4e2ee86627
Fixed #26569 -- Updated OSM Mapnik constructor
2016-05-02 18:06:03 +02:00
Tim Graham
32969c3931
Refs 2bd1bbc
-- Made GeometryField.get_db_prep_lookup() a private (deprecated) method.
2016-05-02 09:40:02 -04:00
Claude Paroz
8dcf352c03
Pulled translations from Transifex
2016-04-30 14:27:07 +02:00
Claude Paroz
d9a00ad16b
Removed deprecated Chinese language codes for contrib apps
...
Refs #18149 .
2016-04-30 14:26:47 +02:00
Anssi Kääriäinen
7f51876f99
Fixed #26207 -- Replaced dynamic classes with non-data descriptors for deferred instance loading.
2016-04-29 13:06:32 -04:00
Tim Graham
f945fb24a3
Fixed #26554 -- Updated docs URLs to readthedocs.io
2016-04-28 10:09:57 -04:00
Nicolas Noé
23fbd3ff48
Fixed #26512 -- Added tests for SpatialRefSysMixin.get_units().
2016-04-19 11:19:44 -04:00
Claude Paroz
9686c888d6
Fixed #25951 -- Trimmed default representation of GEOSGeometry
...
Thanks Sergey Fedoseev for the report.
2016-04-17 15:31:12 +02:00
krishbharadwaj
e494b9ffb6
Fixed #26509 -- Deprecated the contrib.gis.utils.precision_wkt() function.
2016-04-16 16:47:04 -04:00
Claude Paroz
10c53385f8
Fixed #26510 -- Allowed dim/trim/precision as WKTWriter init arguments
...
Thanks Tim Graham for the review.
2016-04-16 19:51:00 +02:00
Claude Paroz
05d08367d7
Set WKTWriter trim/precision only when changed
2016-04-16 19:51:00 +02:00
Claude Paroz
d419b0c9bd
Converted property syntax of WKBWriter
2016-04-16 19:51:00 +02:00
Tim Graham
74675a15d0
Removed unused wk_col property of SpatialRefSys models.
...
Unused since ae7cb577dd
.
2016-04-15 13:17:09 -04:00
Opa-
461f74ab19
Fixed #26432 -- Fixed size tuple order when using numpy reshape on a GDALBand.
2016-04-12 10:12:19 -04:00
Daniel Wiesmann
c12a00e554
Fixed #26455 -- Allowed filtering and repairing invalid geometries.
...
Added the IsValid and MakeValid database functions, and the isvalid lookup,
all for PostGIS.
Thanks Tim Graham for the review.
2016-04-09 09:22:30 -04:00
Tim Graham
df8d8d4292
Fixed E128 flake8 warnings in django/.
2016-04-08 09:51:06 -04:00
Tim Graham
6448873197
Fixed E402 flake8 warnings.
2016-04-04 17:14:27 -04:00
Tim Graham
2cd2d18851
Fixed W503 flake8 warnings.
2016-04-04 17:14:26 -04:00
Daniel Wiesmann
870dd1d38b
Fixed #26417 -- Allowed setting GDALBand data with partial values.
2016-03-29 11:08:36 -04:00
Daniel Wiesmann
f1db8c36e9
Fixed #26415 -- Allowed deleting nodata value on GDALBands.
2016-03-29 08:06:31 -04:00
Noenglish Professorbut
f8d20da047
Fixed a few docstring typos.
2016-03-12 08:45:06 -05:00
Tim Graham
9027fac841
Removed unneeded GeoManagers in tests.
2016-03-11 13:09:24 -05:00
Sergey Fedoseev
1f035e6283
Fixed #25865 -- Made OSMGeoAdmin require GDAL only if transformation is needed.
2016-03-11 12:33:00 -05:00
Claude Paroz
c5517b9e74
Fixed #26266 -- Output the primary key in the GeoJSON serializer properties
...
Thanks Tim Graham for the review.
2016-02-24 16:10:46 +01:00
Shai Berger
bb51dc902d
Refs #26112 -- Fixed aggregate GIS test on Oracle.
...
Made sure the test doesn't try to aggregate over MultiPolygonField and made
AreaField turn decimals into floats on the way from the DB.
Thanks Daniel Wiesmann, Jani Tiainen, and Tim Graham for review and discussion.
2016-02-09 10:04:54 -05:00
Tim Graham
406675b1a0
Fixed #26176 -- Fixed E123 flake8 warnings.
2016-02-05 15:11:07 -05:00
Claude Paroz
c47364ef0c
Fixed #26134 -- Used new OpenGIS names for recent MySQL
...
Thanks František Malina for the report.
2016-01-29 23:25:23 +01:00
Tim Graham
19d1cb1451
Fixed #20415 -- Ensured srid isn't localized in OpenLayers JavaScript.
2016-01-28 17:46:55 -05:00
Claude Paroz
54236a2c1c
Fixed #26138 -- Ensured geometry_field's geometry is always serialized
...
Thanks Bernd Schlapsi for the report.
2016-01-28 08:50:38 +01:00
Daniel Wiesmann
a08d2463d2
Fixed #26112 -- Error when computing aggregate of GIS areas.
...
Thanks Simon Charette and Claude Paroz for the reviews.
2016-01-22 19:38:34 +01:00
Tim Graham
59ef6559a3
Reverted #25961 -- Removed handling of thread-non-safe GEOS functions.
...
This reverts commit 312fc1af7b
as it seems
to cause segmentation faults as described in the ticket.
2016-01-07 18:54:41 -05:00
Marten Kenbeek
16411b8400
Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
...
Thanks to Tim Graham for the review.
2015-12-31 14:21:29 -05:00
Claude Paroz
f14ab700c3
Updated translations from Transifex
...
Forward port of 59f3590ca7
from stable/1.9.x.
2015-12-31 15:53:02 +01:00
Claude Paroz
00cb9e13b4
Fixed #15165 -- Prevented wrong results with perimeter on geodetic fields.
2015-12-30 18:07:02 -05:00