Tim Graham
dbb0df2a0e
Fixed #25985 -- Updated signature of ModelAdmin.formfield_for_* to make request a positional argument.
2015-12-29 12:49:14 -05:00
Ville Skyttä
e6ca15c13f
Passed logging message parameters as arguments instead of interpolating them.
2015-12-26 18:35:42 -05:00
Alexander Sosnovskiy
2a7ce34600
Fixed #14286 -- Added models.BigAutoField.
2015-12-25 20:01:31 -05:00
Tim Graham
4d83b0163e
Fixed #25969 -- Replaced render_to_response() with render() in docs examples.
2015-12-23 09:14:32 -05:00
Sergey Fedoseev
312fc1af7b
Fixed #25961 -- Removed handling of thread-non-safe GEOS functions.
2015-12-23 08:02:37 -05:00
Sergey Fedoseev
5d348bba31
Fixed #25950 -- Added support for GEOSisClosed.
2015-12-22 16:54:02 -05:00
Sergey Fedoseev
c984e2bc15
Fixed #25869 -- Added trim and precision properties to WKTWriter.
2015-12-18 19:44:43 +01:00
Sergey Fedoseev
5146e2cf98
Fixed #25662 -- Allowed creation of empty GEOS geometries.
2015-12-14 13:29:38 -05:00
Sergey Fedoseev
a6c803a2e3
Fixed #25932 -- Made predicates of OGRGeometry return bool instead of int.
2015-12-14 11:30:36 -05:00
Sergey Fedoseev
ed7b1bdf01
Fixed #25926 -- Removed gis.utils.ogrinfo.sample backwards compatibility alias.
2015-12-12 12:00:24 -05:00
Sergey Fedoseev
f7889b83b0
Fixed #25924 -- Removed gis.utils.srs.add_postgis_srs() backwards-compatibility alias.
2015-12-12 10:49:04 -05:00
Sergey Fedoseev
d40a38b335
Unwrapped gdal.Envelope import from try-except as fail of `import ctypes` is not expected.
2015-12-12 09:52:59 -05:00
Claude Paroz
cd40d9e721
Fixed #25657 -- Ignored exceptions when destroying geometry objects
...
Due to randomness of garbage collection with geometry objects, it's
easier to simply ignore AttributeError/TypeError generally raised when
parts of objects are already garbage-collected.
Thanks Sergey Fedoseev and Tim Graham for reviewing the patch.
2015-12-08 22:06:34 +01:00
Sergey Fedoseev
a8614fb438
Fixed #25876 -- Removed OGRGeometry.transform_to() backwards-compatibility method.
2015-12-08 10:05:38 +05:00
Sergey Fedoseev
25f5b5c19d
Fixed #25853 -- Added support for GeoHash function on SpatiaLite.
2015-12-04 08:09:21 -05:00
Sergey Fedoseev
717a54c883
Fixed #25797 -- Fixed regex for getting units from SRS WKT.
2015-12-03 19:03:28 -05:00
Claude Paroz
b52b9cf6f2
Refs #25655 -- Made HAS_GEOS depend on a minimum version.
...
This skips some tests on systems with GEOS < 3.3 (the minimum
supported version).
2015-12-03 18:22:58 -05:00
Josh Soref
93452a70e8
Fixed many spelling mistakes in code, comments, and docs.
2015-12-03 12:48:24 -05:00
Sergey Fedoseev
0825f77f76
Fixed #25836 -- Added support for MakeLine aggregate on SpatiaLite.
2015-12-02 17:25:33 -05:00
Claude Paroz
273ce8aa6a
Pulled contrib translations from Transifex
...
Forward port of 6a4649c27e
from stable/1.9.x
2015-12-01 20:37:57 +01:00
Sergey Fedoseev
49f1cc54e6
Fixed #25835 -- Removed Adaptor alias from spatial operations classes.
2015-11-30 08:57:15 -05:00
Tim Graham
2c0be9045b
Fixed #25806 -- Removed name mangling from syndication.Feed's _get_dynamic_attr().
...
It doesn't seem to serve any purpose.
2015-11-25 17:46:58 -05:00
Sergey Fedoseev
f920be7c32
Fixed #25773 -- Deprecated the geos.MultiPolygon.cascaded_union property.
2015-11-25 17:31:24 -05:00
Daniel Wiesmann
8f5904560a
Fixed #25734 -- Made GDALBand min and max properties use GDALComputeRasterStatistics.
...
Thanks Sergey Fedoseev and Tim Graham for the review.
2015-11-25 13:40:39 -05:00
Sergey Fedoseev
229fc793a0
Refs #25663 -- Fixed checking of the number of points for LineString if initialized from numpy.array.
2015-11-23 17:36:06 -05:00
Sergey Fedoseev
ccc8f67b77
Fixed #25722 -- Added the GEOSGeometry.covers() method.
2015-11-20 12:36:03 -05:00
Sergey Fedoseev
034dfbfc05
Fixed #25654 -- Added the GEOSGeometry.unary_union property.
2015-11-18 19:17:16 -05:00
Sergey Fedoseev
1e35dd1a05
Fixed #25663 -- Added checking of the number of points for LinearRing and LineString.
2015-11-18 18:36:10 -05:00
Sergey Fedoseev
7a452c5ce2
Fixed #25665 -- Deprecated getter/setter of Point.tuple.
2015-11-18 12:06:03 -05:00
Sergey Fedoseev
7803f429a4
Refs #25665 -- Deprecated getters/setters of Point coordinate properties.
2015-11-18 11:57:26 -05:00
Sergey Fedoseev
b7177cc2a4
Refs #25665 -- Deprecated getter/setter of GEOSGeometry.srid.
2015-11-18 11:49:48 -05:00
Attila Tovt
0a2d3b7387
Fixed #25682 -- Removed bare except clauses.
2015-11-17 14:39:15 -05:00
Claude Paroz
c3531d2f20
Removed ability to pass a geometry string to GIS functions
...
This was a possible confusion source with column name arguments.
Thanks Sergey Fedoseev for the suggestion.
2015-11-07 16:04:24 +01:00
Claude Paroz
24c1605aa0
Fixed GIS test failures when GDAL is not installed
...
Thanks Iacopo Spalletti for the report and testing.
2015-11-07 15:12:54 +01:00
Sergey Fedoseev
5f7035cec7
Fixed #25673 -- Made `GeometryField.from_db_value` set SRID
2015-11-06 20:45:31 +01:00
Sergey Fedoseev
a449b7ef99
Fixed #25629 -- Added checks of the number of arguments for GeoDjango DB functions.
2015-11-03 08:20:08 +01:00
Sergey Fedoseev
1b598b4b42
Fixed #25661 -- Fixed checking number of points during list assignment for `LinearRing`.
2015-11-02 22:38:33 +01:00
Sergey Fedoseev
03c6ad7ad4
Fixed #25664 -- Fixed `dims` for `Point`
2015-11-02 19:52:16 +01:00
Sergey Fedoseev
7127eb287f
Fixed #25659 -- Added missing support for MySQL 5.6.1 GIS functions
...
Added support for ST_Difference/ST_Intersection/ST_SymDifference.
2015-11-02 19:25:53 +01:00
Sergey Fedoseev
b78226cd3d
Fixed #25655 -- Dropped support for GEOS < 3.3
2015-11-01 20:41:52 +01:00
Sergey Fedoseev
8ad923b9d0
Fixed #25636 -- Dropped support for SpatiaLite < 3.0
2015-10-31 14:22:34 +01:00
Sergey Fedoseev
7521bb95d5
Fixed #25630 -- Replaced `AsGeoHash` with `GeoHash` in unsupported GIS functions
2015-10-29 13:34:12 +01:00
Daniel Wiesmann
48548d1a47
Refs #25588 -- Added the srid property to GDALRaster
...
Geometry objects have an srid property, so this addition makes the raster api
more similar to the geometries api.
2015-10-28 15:27:19 +01:00
Claude Paroz
b55b34129b
Moved around imports in PostGIS operations
...
Thanks Daniel Wiesmann for inspiration.
2015-10-27 20:38:21 +01:00
Tim Graham
0b5d32faca
Fixed #25611 -- Standardized descriptor signatures.
2015-10-26 11:31:16 -04:00
Sergey Fedoseev
a7bb5af50b
Fixed #25583 -- Allowed calling `transform` with `CoordTransform` even if SRID is invalid.
2015-10-24 11:39:24 -04:00
Claude Paroz
c08f85fd54
Fixed #25592 -- Fixed misnamed strictly_above PostGIS lookup
...
Fixes a regression from 2bd1bbc42
. Thanks Daniel Wiesmann for the report
and Tim Graham for the review.
2015-10-22 20:32:31 +02:00
Sergey Fedoseev
0dbe897ab5
Fixed #25585 -- Allowed setting OGRGeometry srid/srs attributes to `None`.
2015-10-21 18:54:28 -04:00
Sergey Fedoseev
a272db7008
Fixed #25580 -- Allowed `None` to be set as SRID value.
2015-10-21 09:35:17 +02:00
Tim Graham
67732a9b18
Fixed #24687 -- Added select_related() validation for nested non-relational fields.
...
The removed test was added in the original select_related() validation
patch (45d4e43d2d
), but there doesn't
seem to be any reason for it.
Thanks Claude Paroz for help and review.
2015-10-10 09:48:50 -04:00
Claude Paroz
00db71d452
Refs #25499 -- Fixed expressions in distance lookups on Oracle.
2015-10-09 14:08:42 -04:00
Claude Paroz
f233aa3ff9
Updated translation catalogs
...
Forward port of f717cb2ab4
from stable/1.9.x.
2015-10-09 18:02:47 +02:00
Daniel Wiesmann
5d8985005e
Fixed #25533 -- Changed datatype mapping for GDALRasters
2015-10-09 15:35:00 +02:00
Claude Paroz
37d06cfc46
Fixed #25499 -- Added the ability to pass an expression in distance lookups
...
Thanks Bibhas Debnath for the report and Tim Graham for the review.
2015-10-09 15:27:47 +02:00
Claude Paroz
41ed6338a4
Upgraded OpenLayers version from 2.13 to 2.13.1
...
Thanks Daniel Hahler for the initial patch.
2015-10-03 12:36:39 +02:00
Tim Graham
5d383549ee
Refs #24152 -- Removed deprecated GeoQuerySet aggregate methods.
...
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Tim Graham
fd6a299cd0
Refs #14030 -- Removed backwards compatiblity for old-style aggregates.
...
Per deprecation timeline.
2015-09-23 19:31:10 -04:00
Claude Paroz
c9a02bc8f5
Fixed #25448 -- Eased GISLookup subclassing with custom lookups
...
When someone needs to build a custom backend-specific GIS lookup, it
is much easier done if getting the spatial operator class happens in
a dedicated method (no need to rewrite the entire as_sql() method).
2015-09-23 22:01:56 +02:00
Alex Hill
134ca4d438
Fixed #24509 -- Added Expression support to SQLInsertCompiler
2015-09-22 23:35:24 +10:00
Jani Tiainen
fcf494b48f
Fixed #24688 -- Added Oracle support for new-style GIS functions.
2015-09-21 13:52:14 -04:00
Daniel Hahler
da5747f8e4
Fixed #25400 -- Fixed regression in nonexistent features on gis backends.
2015-09-17 09:30:46 -04:00
elky
86cd89095a
Fixed #25348 -- Removed unused gif/png images from contrib.admin.
2015-09-04 08:55:36 -04:00
Maxime Lorant
c92cd22d02
Refs #25345 -- Updated links to code.google.com.
2015-09-04 08:14:21 -04:00
Maxime Lorant
5153a3bfdc
Fixed #25331 -- Removed trailing blank lines in docstrings.
2015-08-31 17:37:21 -04:00
Keryn Knight
d4b10a7256
Refs #24121 -- Added a repr() to gis.GeoIP and gis.GeoIP2.
2015-08-31 16:12:40 -04:00
Jani Tiainen
1b8d7eff3b
Refs #12400 -- Added supports_geometry_field_unique_index GIS db feature.
2015-08-19 19:02:30 -04:00
Tim Graham
197b187810
Fixed #25225 -- Simplified code to remove GEOSIndexError
...
The test is a regression for refs #4740 to show that the original
fix of GEOSIndexError is no longer needed.
2015-08-18 19:10:47 -04:00
Tim Graham
b27547f9d1
Removed deprecated GeoManager from inspectdb/ogrinspect output.
...
refs ea27e26b09
2015-08-10 10:29:36 -04:00
Caio Ariede
ec9004728e
Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql.
2015-08-07 09:33:17 -04:00
aroche
cc3d2fa731
Made the @register decorator importable from contrib.gis.admin.
2015-08-03 07:29:31 -04:00
Flavio Curella
1e2362ca0f
Refs #25184 -- Started deprecation for contrib.gis.geoip.
2015-07-31 10:09:06 -04:00
Flavio Curella
7f0953ce1f
Fixed #25184 -- Added support for MaxMind GeoLite2 database format
2015-07-31 09:45:03 -04:00
Tim Graham
77a112cb88
Fixed JavaScript "no-eval" violation.
2015-07-22 17:09:53 -04:00
Tim Graham
fbb4f0797c
Fixed JavaScript "strict" violations.
2015-07-22 17:09:53 -04:00
Claude Paroz
1da170a203
Fixed #25141 -- Diminished GDAL dependence during geojson serialization
...
Only require GDAL if contained geometries need coordinate transformations.
Thanks drepo for the report and Tim Graham for the review.
2015-07-20 20:22:29 +02:00
Tim Graham
efc144aba0
Fixed JavaScript "space-infix-ops" violations.
2015-07-18 06:57:10 -04:00
Tim Graham
ec6563f585
Fixed JavaScript "dot-notation" violations.
2015-07-18 06:57:10 -04:00
Tim Graham
2d6466c295
Fixed JavaScript "comma-spacing" violations.
2015-07-18 06:57:10 -04:00
Tim Graham
b647d64408
Fixed JavaScript "indent" violations.
2015-07-18 06:57:10 -04:00
Tim Graham
8606bea3bc
Fixed JavaScript space-before-function-paren violations.
2015-07-18 06:57:10 -04:00
Tim Graham
ac6164948e
Fixed JavaScript "curly" violations.
2015-07-18 06:57:10 -04:00
Thomas Stephenson
035b0fa60d
Fixed #24716 -- Deprecated Field._get_val_from_obj()
...
The method duplicates the functionality of Field.value_from_object()
and has the additional downside of being a privately named public
API method.
2015-07-14 09:13:22 -04:00
Claude Paroz
d72f8862cb
Fixed #25072 -- Prevented GDALRaster memory to be uncollectable
...
Setting GDALRaster.bands as a cached property was creating a circular
reference with objects having __del__ methods, which means the memory
could never be freed.
Thanks Daniel Wiesmann for the report and test, and Tim Graham for the review.
2015-07-10 19:56:17 +02:00
Trey Hunner
ec4f219ecb
Fixed #22463 -- Added code style guide and JavaScript linting (EditorConfig and ESLint)
2015-06-27 16:36:26 -04:00
Tim Graham
7da3923ba0
Sorted imports in __init__.py files.
2015-06-27 11:53:33 -04:00
Greg Chapple
4a66a69239
Fixed #24887 -- Removed one-arg limit from models.aggregate
2015-06-27 11:44:33 -04:00
Claude Paroz
60879a2193
Loaded real destructor functions before garbage time
...
This is an alternative patch to the unsuccessful b43b27bcd
.
2015-06-26 13:41:48 +02:00
Claude Paroz
ad82d0003b
Revert "Reverted lazy initialization of GIS destroy functions"
...
This reverts commit b43b27bcdf
.
This commit broke tests initialization on systems without GIS libraries.
2015-06-25 23:37:36 +02:00
Claude Paroz
b43b27bcdf
Reverted lazy initialization of GIS destroy functions
...
Partial revert of 61d09e61
. At __del__ time, it might be to late to bind
those functions.
2015-06-25 21:05:48 +02:00
Tim Graham
aaacaeb096
Renamed RemovedInDjangoXYWarnings for new roadmap.
...
Forwardport of ae1d663b79
from stable/1.8.x plus more.
2015-06-24 16:08:20 -04:00
Daniel Wiesmann
c078021555
Refs #24840 -- Added GDALRaster Warp and transform methods
...
Thanks to Tim Graham for the review.
2015-06-24 18:31:22 +02:00
Daniel Wiesmann
c0fff64486
Fixed #25011 , Refs #23804 -- Added check for GDAL on RasterField initialization
2015-06-23 16:11:42 -04:00
Claude Paroz
ffdf507ec0
Added GDAL 2.0 support
2015-06-20 14:40:50 +02: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
Tim Graham
3872a33132
Fixed #24979 -- Removed usage of inspect.getargspec().
2015-06-15 13:43:22 -04:00
Tim Graham
4b600ed244
Removed django.utils.functional.total_ordering()
2015-06-15 13:15:24 -04:00
Sylvain Fankhauser
0a89915783
Fixed #24862 -- Improved PostGIS database connection error message
...
Thanks brycenesbitt for the patch.
2015-06-05 21:58:30 +02:00
Tim Graham
0eaef8e527
Added contrib.gis.admin.__all__
2015-05-15 09:41:44 -04:00
Piotr Jakimiak
4157c502a5
Removed unnecessary arguments in .get method calls
2015-05-13 20:51:18 +02:00
Claude Paroz
d1df1fd2bb
Fixed #24207 -- Added 25D-type geometry field support to ogrinspect
...
Thanks Michael Diener for the report and sample data, and Tim Graham
for the review.
2015-05-06 20:31:36 +02:00