Re: [Django] #29116: Geometry editing issue when widget map_srid different from original value srid

2018-04-02 Thread Django
#29116: Geometry editing issue when widget map_srid different from original 
value
srid
-+-
 Reporter:  Claude Paroz |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  GIS  |  Version:  2.0
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Tim Graham ):

 In [changeset:"357a48368a0102d88675da601bf2fa59098eef01" 357a483]:
 {{{
 #!CommitTicketReference repository=""
 revision="357a48368a0102d88675da601bf2fa59098eef01"
 [2.0.x] Fixed #29116 -- Fixed OpenLayersWidget deserialization ignoring
 the widget map's SRID.

 Regression in 6ecccad711b52f9273b1acb07a57d3f806e93928.

 Backport of 2a2ed0e70a93bfd1a3d41af40870fe963dc2687d from master
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.e09d6ee8e8a0e41897b5858a516fc66b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29116: Geometry editing issue when widget map_srid different from original value srid

2018-04-02 Thread Django
#29116: Geometry editing issue when widget map_srid different from original 
value
srid
-+-
 Reporter:  Claude Paroz |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  GIS  |  Version:  2.0
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Tim Graham ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"2a2ed0e70a93bfd1a3d41af40870fe963dc2687d" 2a2ed0e7]:
 {{{
 #!CommitTicketReference repository=""
 revision="2a2ed0e70a93bfd1a3d41af40870fe963dc2687d"
 Fixed #29116 -- Fixed OpenLayersWidget deserialization ignoring the widget
 map's SRID.

 Regression in 6ecccad711b52f9273b1acb07a57d3f806e93928.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.56dff3233b5b630370c0d4d6ff599b57%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29116: Geometry editing issue when widget map_srid different from original value srid

2018-03-12 Thread Django
#29116: Geometry editing issue when widget map_srid different from original 
value
srid
-+-
 Reporter:  Claude Paroz |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  GIS  |  Version:  2.0
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Carlton Gibson):

 * stage:  Accepted => Ready for checkin


Comment:

 The new patch covers the regression.

 (There's some duplication of logic between the field's `to_python` and the
 widget's `deserialize` but short of a restructuring that's probably out of
 scope here it's not clear how that can be avoided.)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.6f5eebd77abb9a1dc765060cbb612a33%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29116: Geometry editing issue when widget map_srid different from original value srid

2018-02-15 Thread Django
#29116: Geometry editing issue when widget map_srid different from original 
value
srid
-+
 Reporter:  Claude Paroz |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  GIS  |  Version:  2.0
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+
Changes (by Sergey Fedoseev):

 * cc: Sergey Fedoseev (added)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.6bd644a13b1faaf4bba418122049f95e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29116: Geometry editing issue when widget map_srid different from original value srid

2018-02-10 Thread Django
#29116: Geometry editing issue when widget map_srid different from original 
value
srid
-+
 Reporter:  Claude Paroz |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  GIS  |  Version:  2.0
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+
Changes (by Tim Graham):

 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.617ade9aae30b47de7d4c04b17a8bf93%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29116: Geometry editing issue when widget map_srid different from original value srid

2018-02-06 Thread Django
#29116: Geometry editing issue when widget map_srid different from original 
value
srid
-+--
 Reporter:  Claude Paroz |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  GIS  |  Version:  2.0
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+--
Changes (by Claude Paroz):

 * has_patch:  0 => 1


Comment:

 Added a possible resolution in [https://github.com/django/django/pull/9668
 this PR].

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.94a9d9c80a6fa658b02c3af4260be1f8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29116: Geometry editing issue when widget map_srid different from original value srid

2018-02-05 Thread Django
#29116: Geometry editing issue when widget map_srid different from original 
value
srid
-+--
 Reporter:  Claude Paroz |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  GIS  |  Version:  2.0
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+--

Comment (by Claude Paroz):

 Quoting the latest GeoJSON spec (https://tools.ietf.org/html/rfc7946):
 {{{
 4.  Coordinate Reference System

The coordinate reference system for all GeoJSON coordinates is a
geographic coordinate reference system, using the World Geodetic
System 1984 (WGS 84) [WGS84] datum, with longitude and latitude units
of decimal degrees.  This is equivalent to the coordinate reference
system identified by the Open Geospatial Consortium (OGC) URN
urn:ogc:def:crs:OGC::CRS84.  An OPTIONAL third-position element SHALL
be the height in meters above or below the WGS 84 reference
ellipsoid.  In the absence of elevation values, applications
sensitive to height or depth SHOULD interpret positions as being at
local ground or sea level.

Note: the use of alternative coordinate reference systems was
specified in [GJ2008], but it has been removed from this version of
the specification because the use of different coordinate reference
systems -- especially in the manner specified in [GJ2008] -- has
proven to have interoperability issues.  In general, GeoJSON
processing software is not expected to have access to coordinate
reference system databases or to have network access to coordinate
reference system transformation parameters.  However, where all
involved parties have a prior arrangement, alternative coordinate
reference systems can be used without risk of data being
misinterpreted.
 }}}

 So should we blame `MapWidget` for not converting the value to WGS84
 before serializing the value?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.19895d1fccb406241c45a1025319899f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #29116: Geometry editing issue when widget map_srid different from original value srid

2018-02-05 Thread Django
#29116: Geometry editing issue when widget map_srid different from original 
value
srid
-+--
 Reporter:  Claude Paroz |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  GIS  |  Version:  2.0
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+--

Comment (by Claude Paroz):

 The solution might be to customize the `OpenLayersWidget.deserialize`
 method, trying to inject the proper srid into the input value.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.09c050534f2025d9cdd2ddaac92e914a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #29116: Geometry editing issue when widget map_srid different from original value srid

2018-02-05 Thread Django
#29116: Geometry editing issue when widget map_srid different from original 
value
srid
---+
   Reporter:  Claude Paroz |  Owner:  nobody
   Type:  Bug  | Status:  new
  Component:  GIS  |Version:  2.0
   Severity:  Release blocker  |   Keywords:
   Triage Stage:  Unreviewed   |  Has patch:  0
Needs documentation:  0|Needs tests:  0
Patch needs improvement:  0|  Easy pickings:  0
  UI/UX:  0|
---+
 Regression in [6ecccad711b52f9273b1acb07a57d3f806e93928].

 When a form posts data with GeoJSON formatted input and a map SRID
 different from the srid of the original value, the deserialization gives a
 wrong geometry (or crash with `OGRFailure` when trying to transform the
 geometry in the field `clean()` method).

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.ba92cadd34dbd66441ee8944dba72645%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.