#15533 closed (fixed)
OSMGeoAdmin fails on Fedora 14
Reported by: | cnorthwood | Owned by: | jbronn |
---|---|---|---|
Component: | GIS | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description
When trying to render a model in the admin using OSMGeoAdmin, it fails with an SRSException. This appears to be because the GDAL bundled with Fedora doesn't use the 900913 SRID for the Google projection, but the "official" 3857 one.
I've attached a patch (against 15704) which will attempt to transform using 3857 if a transformation using the 900913 transform fails. This appears to fix my issue.
Attachments (1)
Change History (8)
by , 14 years ago
Attachment: | osmgeoadminfix.diff added |
---|
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 14 years ago
milestone: | → 1.3 |
---|---|
Owner: | changed from | to
Patch needs improvement: | set |
Status: | new → assigned |
follow-up: 4 comment:3 by , 14 years ago
milestone: | 1.3 → 1.4 |
---|
OpenLayers will not support 3857 until 2.11, so I'm moving the milestone to 1.4.
comment:4 by , 14 years ago
milestone: | 1.4 → 1.3 |
---|
Replying to jbronn:
OpenLayers will not support 3857 until 2.11, so I'm moving the milestone to 1.4.
After talking with Christopher Schmidt, a one line JavaScript fix is enough until OpenLayers 2.11 is released. Initial tests look good, should be in trunk and backported soon.
Apparently the Fedora packagers didn't like the licensing of the
cubewerx_extra.wkt
file where 900913 lives. 3857 was added in GDAL 1.7, thus we need to try and support previous versions.I agree this is a bug, but I'm -1 on the patch implementation. The right thing to do would be to introspect on the GDAL version, and use 3857 when 1.7+ is used, and 900913 otherwise.