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
|
8b2515a450
|
Removed unneeded __init__() methods.
|
2017-09-07 08:10:49 -04:00 |
Sergey Fedoseev
|
34f27f910b
|
Replaced @cached_property with class attributes where possible.
|
2017-09-06 10:13:43 -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 |
Fabian Schindler
|
da0fb5b1ec
|
Fixed #28380 -- Excluded null geometries in SpatiaLite geometry lookups.
|
2017-08-24 08:30:11 -04:00 |
Claude Paroz
|
831358f23d
|
Fixed #28465 -- Unified index SQL creation in DatabaseSchemaEditor
Thanks Tim Graham for the review.
|
2017-08-08 17:37:43 +02:00 |
Sergey Fedoseev
|
6ebe3a95ea
|
Fixed #28437 -- Added support for complex geometry expressions in GIS lookups.
|
2017-07-27 08:06:08 -04:00 |
Tim Graham
|
ef9344b3a5
|
Removed unused SpatialOperations.from_wkb.
Unused since its introduction in ff60c5f9de .
|
2017-07-26 20:03:41 -04:00 |
Sergey Fedoseev
|
f3bada9889
|
Fixed #28436 -- Added support for distance lookups on MySQL.
|
2017-07-26 08:50:56 -04:00 |
Sergey Fedoseev
|
38af496b98
|
Fixed #28432 -- Allowed geometry expressions to be used with distance lookups.
Distance lookups use the Distance function for decreased code redundancy.
|
2017-07-25 15:49: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 |
Sergey Fedoseev
|
3f7953846e
|
Fixed typo in DistanceLookupBase.process_rhs() error message.
|
2017-07-19 13:40:56 -04:00 |
Sergey Fedoseev
|
196da41ee2
|
Removed SRID use in PostGISAdapter.__eq__() and __hash__().
EWKB already contains the SRID.
|
2017-07-19 10:04:15 -04:00 |
Sergey Fedoseev
|
9290f15bb5
|
Simplified GIS Funcs by using GeoFuncMixin.geo_field.
|
2017-07-15 15:03:50 +05:00 |
Tim Graham
|
e532bf7a90
|
Removed GeometryField.get_distance(); a GeoQuerySet leftover.
Follow up to a0d166306f .
|
2017-07-12 21:23:25 -04:00 |
Sergey Fedoseev
|
306b961a4d
|
Fixed #28383 -- Made NumPoints GIS function return None for non-LINESTRING geometries on MySQL.
|
2017-07-11 08:21:11 -04:00 |
Mads Jensen
|
550cb3a365
|
Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().
|
2017-06-28 14:07:55 -04:00 |
Sergey Fedoseev
|
44a7b98abb
|
Fixed #27964 -- Made MySQL backend raise exception if spatial transformation is needed for query.
|
2017-06-26 15:10:55 -04:00 |
chillaranand
|
08bda82c23
|
Fixed #27830 -- Used distutils.version.LooseVersion for version parsing.
|
2017-06-13 10:53:39 -04:00 |
Tom
|
3eb3907bb1
|
Refs #23919 -- Replaced stray super(ClassName, self) with super().
|
2017-06-10 20:46:43 -04:00 |
Tim Graham
|
cde31daf88
|
Sorted imports per isort 4.2.9.
|
2017-06-01 13:23:48 -04:00 |
Jon Dufresne
|
8bf96c109f
|
Replaced unneeded *arguments with positional arguments.
|
2017-04-26 09:39:24 -04:00 |
Sergey Fedoseev
|
e7afef13f5
|
Fixed #26788 -- Fixed QuerySet.update() crash when updating a geometry to another one.
|
2017-04-10 13:26:26 -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
|
08df3dd937
|
Removed more GeoQuerySet leftovers.
Follow up to a0d166306f .
|
2017-04-07 07:38:56 -04:00 |
Sergey Fedoseev
|
fd892f3443
|
Fixed #28006 -- Allowed using D with lookups on Distance annotations.
|
2017-04-06 19:27:45 -04:00 |
Sergey Fedoseev
|
ef8a339dfb
|
Removed Oracle NULL workaround in AreaField.
Unused since 1b1ea63f6a .
|
2017-04-03 22:26:33 -04:00 |
Sergey Fedoseev
|
898e623db0
|
Fixed #27573 -- Made Distance on geodetic coordinates return a raw value on MySQL.
|
2017-04-02 17:06:01 -04:00 |
Sergey Fedoseev
|
5e710cf4a5
|
Fixed #11854 -- Added Azimuth GIS function. (#8286)
|
2017-04-02 14:24:06 -04:00 |
Sergey Fedoseev
|
ede4f6d48c
|
Fixed #12410 -- Added LineLocatePoint GIS function.
|
2017-04-01 15:02:09 -04:00 |
Sergey Fedoseev
|
0a13b249e2
|
Fixed #26967 -- Added MySQL support for AsGeoJSON, GeoHash, IsValid functions, and isvalid lookup.
|
2017-04-01 13:43:53 -04:00 |
Sergey Fedoseev
|
bde86ce9ae
|
Fixed #25605 -- Made GIS DB functions accept geometric expressions, not only values, in all positions.
|
2017-04-01 09:47:49 -04:00 |
Sergey Fedoseev
|
d5977e492e
|
Refs #25759 -- Fixed some GIS Funcs if different database backends are used.
|
2017-03-29 13:29:18 -04:00 |
Sergey Fedoseev
|
9cd6ba991f
|
Made isvalid lookup use IsValid function to decrease code redundancy.
|
2017-03-29 08:56:58 -04:00 |
Sergey Fedoseev
|
d47de2e09d
|
Refs #27736 -- Used decorators for GIS lookup registration.
|
2017-03-27 22:20:18 -04:00 |
Sergey Fedoseev
|
7fffe3acc2
|
Removed unused GISLookup._check_geo_field().
Unused since a0d166306f .
|
2017-03-25 13:09:34 -04:00 |
Sergey Fedoseev
|
1b1ea63f6a
|
Fixed #27962 -- Allowed lookups on Area annotations.
|
2017-03-23 20:06:16 -04:00 |
Sergey Fedoseev
|
e9149d3eb0
|
Fixed #27603 -- Fixed AsKML when queryset is evaluated more than once.
|
2017-03-23 19:09:04 -04:00 |
Sergey Fedoseev
|
08972528c2
|
Removed more GeoQuerySet leftovers.
Follow up to a0d166306f .
|
2017-03-21 09:13:18 -04:00 |
Sergey Fedoseev
|
6cb0a3ac28
|
Removed BaseSpatialOperations.truncate_params.
Unused since 32969c3931 .
|
2017-03-20 07:59:23 -04:00 |
Sergey Fedoseev
|
875aebdb2c
|
Added SpatiaLite NumPoints support for non-LINESTRING geometries.
|
2017-03-16 20:29:31 -04:00 |
Tim Graham
|
5bd7ffc313
|
Updated postgis.net and gaia-gis.it links to https.
|
2017-03-16 14:01:45 -04:00 |
Sergey Fedoseev
|
1bf5e79394
|
Removed GeoQuerySet leftovers.
Follow up to a0d166306f .
|
2017-03-16 09:38:02 -04:00 |