Commit Graph

890 Commits

Author SHA1 Message Date
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