Opened 15 years ago
Closed 12 years ago
#11948 closed New feature (fixed)
Linear referencing for Django
Reported by: | novalis | Owned by: | nobody |
---|---|---|---|
Component: | GIS | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | novalis, ckarrie@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I created some patches to GEOS to do linear referencing. If you have a linestring (a bus route, say), and a point (a gps reading), and you want to find out where along the linestring the point is, you need linear referencing.
Here is a patch for Django which allows GeoDjango apps to use the new linear referencing code, when it is available. For now, you'll need SVN GEOS to test, but eventually version 3.2.0 of GEOS will be released and you'll be able to use the release version.
Attachments (3)
Change History (13)
by , 15 years ago
Attachment: | contrib-gis-linearref.patch added |
---|
comment:1 by , 15 years ago
Component: | Uncategorized → GIS |
---|
comment:2 by , 15 years ago
Triage Stage: | Unreviewed → Design decision needed |
---|
comment:3 by , 14 years ago
comment:4 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → New feature |
comment:5 by , 13 years ago
Easy pickings: | unset |
---|---|
UI/UX: | unset |
I needed to use linearref feature from my application and so patched my django code. The patch targets an older version of django, so a little refresh was needed, but now it works nicely.
I attach the patch used for building a 1.3 for ubuntu maverick (http://ppa.launchpad.net/chris-lea/python-django/ubuntu)
comment:6 by , 13 years ago
Cc: | added |
---|
comment:7 by , 13 years ago
Needs documentation: | set |
---|---|
Triage Stage: | Design decision needed → Accepted |
This looks useful.
comment:8 by , 13 years ago
What's the status on this patch? Do I need to apply it myself for latest django?
comment:9 by , 13 years ago
Needs documentation: | unset |
---|
In this latest patch, I moved some things around and added the docs. Would appreciate a review (also for the wording of the docs).
The patch is also available as a pull request: https://github.com/django/django/pull/168
comment:10 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
What is missing to get this into GeoDjango? I would really like to have it in the default installation.