Nick Pope
|
335c9c94ac
|
Simplified imports from django.db and django.contrib.gis.db.
|
2020-02-04 13:20:06 +01:00 |
Simon Charette
|
fff5186d32
|
Refs #25367 -- Moved select_format hook to BaseExpression.
This will expose an intermediary hook for expressions that need special
formatting when used in a SELECT clause.
|
2019-08-13 06:48:14 +02:00 |
Jon Dufresne
|
42b9a23267
|
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
|
2019-06-28 16:46:18 +02:00 |
jtiai
|
5a77190e66
|
Fixed #29792 -- Made GeometryField.deconstruct() handle 'extent' and 'tolerance' args.
|
2018-12-21 17:44:45 -05:00 |
Mariusz Felisiak
|
83a36ac49a
|
Removed unnecessary trailing commas and spaces in various code.
|
2017-12-28 21:07:29 +01:00 |
Sergey Fedoseev
|
da71e4bb08
|
Fixed #28896 -- Reallowed filtering a queryset with GeometryField=None.
Regression in 58da81a5a3 .
|
2017-12-12 17:12:04 -10:00 |
Nick Pope
|
d13a9e44de
|
Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.
|
2017-12-11 07:08:45 -05:00 |
Дилян Палаузов
|
23bf4ad87f
|
Fixed #28795 -- Removed 'not in' checks and used dict.setdefault().
|
2017-11-14 10:52:52 -05:00 |
Sergey Fedoseev
|
a4f9ef4fe8
|
Refs #28518 -- Improved performance of assigning values to GeometryFields.
|
2017-11-07 09:49:29 -05:00 |
Sergey Fedoseev
|
e9a370bb6a
|
Simplified GeometryField.select_format().
|
2017-11-04 10:08:25 -04:00 |
Tim Graham
|
f896eb30f6
|
Removed django.contrib.gis.geometry.backend.
The layer of indirection is unchanged and undocumented
since its introduction in ff60c5f9de .
|
2017-09-12 09:51:02 -04:00 |
Tim Graham
|
6e4c6281db
|
Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."
This reverts commit 550cb3a365
because try/except performs better.
|
2017-09-07 08:16:21 -04:00 |
Sergey Fedoseev
|
2ef4b4795e
|
Refs #28518 -- Improved performance of loading geometries from DB.
|
2017-09-05 09:54:57 -04:00 |
Sergey Fedoseev
|
1a85b07bdd
|
Fixed #28518 -- Improved performance of loading geometries from DB.
|
2017-08-24 14:08:35 -04:00 |
Tim Graham
|
487362fa8f
|
Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expression.convert_value().
Unused since a0d166306f .
|
2017-07-20 16:30:08 -04:00 |
Sergey Fedoseev
|
8d5095d8a3
|
Added BaseSpatialField.get_db_prep_value() to simplify.
BaseSpatialField.get_db_prep_value() supersedes
BaseSpatialField.get_db_prep_save() and Geometry.get_db_prep_value().
|
2017-07-20 22:26:22 +05:00 |
Tim Graham
|
f86b6f351d
|
Refs #25588 -- Removed obsolete bits of RasterField support.
Unused since bbfad84dd9 .
|
2017-07-20 10:09:36 -04:00 |
Sergey Fedoseev
|
3b56f2191d
|
Simplified handling of GIS lookup params.
|
2017-07-20 10:08:55 -04:00 |
Sergey Fedoseev
|
81a453ca0f
|
Removed unneeded check in GeometryField.from_db_value().
Unneeded since 6f43b2b8a5 .
|
2017-07-20 16:23:56 +05:00 |
Tim Graham
|
e532bf7a90
|
Removed GeometryField.get_distance(); a GeoQuerySet leftover.
Follow up to a0d166306f .
|
2017-07-12 21:23:25 -04:00 |
Mads Jensen
|
550cb3a365
|
Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().
|
2017-06-28 14:07:55 -04:00 |
Sergey Fedoseev
|
df8f1d018f
|
Fixed #27972 -- Made BaseSpatialField.geodetic() use SpatialReference.geographic.
|
2017-04-07 12:45:52 -04:00 |
Sergey Fedoseev
|
e2bd2539b6
|
Made get_srid_info() cache use a namedtuple.
|
2017-04-07 12:24:38 -04:00 |
Sergey Fedoseev
|
24ae244a82
|
Removed connection agnostic SRID info cache from BaseSpatialField.
|
2017-04-07 12:24:38 -04:00 |
Sergey Fedoseev
|
d47de2e09d
|
Refs #27736 -- Used decorators for GIS lookup registration.
|
2017-03-27 22:20:18 -04:00 |
Sergey Fedoseev
|
08972528c2
|
Removed more GeoQuerySet leftovers.
Follow up to a0d166306f .
|
2017-03-21 09:13:18 -04:00 |
Claude Paroz
|
c651331b34
|
Converted usage of ugettext* functions to their gettext* aliases
Thanks Tim Graham for the review.
|
2017-02-07 09:04:04 +01:00 |
Anton Samarchyan
|
5411821e3b
|
Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.
|
2017-02-04 16:39:28 -05:00 |
Vytis Banaitis
|
8838d4dd49
|
Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.
|
2017-02-01 11:41:56 -05:00 |
chillaranand
|
d6eaf7c018
|
Refs #23919 -- Replaced super(ClassName, self) with super().
|
2017-01-25 12:23:46 -05:00 |
Simon Charette
|
cecc079168
|
Refs #23919 -- Stopped inheriting from object to define new style classes.
|
2017-01-19 08:39:46 +01:00 |
Claude Paroz
|
7b2f2e74ad
|
Refs #23919 -- Removed six.<various>_types usage
Thanks Tim Graham and Simon Charette for the reviews.
|
2017-01-18 20:18:46 +01:00 |
Tim Graham
|
a0d166306f
|
Removed GeoManager and GeoQuerySet per deprecation timeline.
|
2017-01-17 20:51:56 -05:00 |
Tim Graham
|
3215bc98fe
|
Refs #27576 -- Fixed running Django's tests if GDAL isn't installed.
|
2016-12-15 17:38:34 -05:00 |
Sergey Fedoseev
|
4884472447
|
Fixed #27576 -- Made get_srid_info() fallback to GDAL if SpatialRefSys is unavailable.
|
2016-12-15 16:36:18 -05:00 |
Sergey Fedoseev
|
f909fa84be
|
Fixed #25708 -- Fixed annotations with geometry values.
|
2016-12-07 14:16:29 -05:00 |
Sergey Fedoseev
|
183f501540
|
Fixed #26789 -- Fixed handling of empty geometries in BaseSpatialField.get_db_prep_save().
|
2016-12-06 13:58:22 -05:00 |
Ramin Farajpour Cami
|
967be82443
|
Fixed E305 flake8 warnings.
|
2016-11-14 12:30:46 -05:00 |
Sergey Fedoseev
|
ea4665066b
|
Fixed #26785 -- Made Oracle return None rather than empty string for empty geometries.
|
2016-06-21 14:06:29 -04:00 |
Claude Paroz
|
f7a363ee1d
|
Fixed #26753 -- Made GDAL a required dependency for contrib.gis
Thanks Tim Graham for the review.
|
2016-06-18 10:58:02 +02:00 |
Daniel Wiesmann
|
9bb1b4b7f6
|
Refs #25588 -- Fixed GDAL dependency in spatial lookups.
|
2016-05-27 17:43:17 +01: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 |
Tim Graham
|
32969c3931
|
Refs 2bd1bbc -- Made GeometryField.get_db_prep_lookup() a private (deprecated) method.
|
2016-05-02 09:40:02 -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 |
Sergey Fedoseev
|
5f7035cec7
|
Fixed #25673 -- Made `GeometryField.from_db_value` set SRID
|
2015-11-06 20:45:31 +01:00 |
Daniel Wiesmann
|
c0fff64486
|
Fixed #25011, Refs #23804 -- Added check for GDAL on RasterField initialization
|
2015-06-23 16:11:42 -04:00 |
Daniel Wiesmann
|
b769bbd4f6
|
Fixed #23804 -- Added RasterField for PostGIS.
Thanks to Tim Graham and Claude Paroz for the reviews and patches.
|
2015-06-19 14:36:43 -04:00 |
Claude Paroz
|
71e20814fc
|
Added MySQL support to GIS functions
|
2015-04-22 19:54:17 +02:00 |
Josh Smeaton
|
88d798d71a
|
Refs #24485 -- Renamed some expression types
|
2015-03-17 08:40:18 -04:00 |