AW: [postgis-users] Postgis and Dynamic Segmentation
Düster Horst
Horst.Duester at bd.so.ch
Thu May 6 23:59:36 PDT 2004
Christoph
I'm very interested in the code. Please send it to me.
Regrads Horst
Dr. Horst Düster
GIS-Koordinator
Kanton Solothurn
Amt für Geoinformation
Abteilung SO!GIS Koordination
Werkhofstr. 65
CH-4509 Solothurn
Tel.: ++41 (0)32 627 25 32
Fax: ++41 (0)32 627 22 14
horst.duester at bd.so.ch
www.sogis.so.ch
-----Ursprüngliche Nachricht-----
Von: Christoph Spoerri [mailto:cspoerri at cavtel.net]
Gesendet am: Freitag, 7. Mai 2004 03:19
An: postgis-users at postgis.refractions.net
Betreff: Re: [postgis-users] Postgis and Dynamic Segmentation
I implemented some basic dyn. segmentation functions (aka linear
referencing)
on top of the existing geometries (3D lines) and use the Z value as the M (-
measure) value. I'm planning to migrate the function to the new LWGEOM over
the next few weeks.
The functions are written in C and include functions for:
- creating measures on geometries
- returning a new shape based on from/to arguments (or only from in case of
points)
- return the 'measure' for a given location along the point
If somebody is interested in the code, let me know and I can send it along.
cheers,
Christoph
BTW. when will the new LWGEOM format be released? Will it work transparently
with the exiting geometry format? It would be good to know, so that any
development efforts can be put into the 'correct' format.
On Thursday 06 May 2004 12:20, David Blasby wrote:
> Düster Horst wrote:
> > I developed a first draft plpgsql function to create dynamic segmentated
> > linestrings (see attachment). The function works with a little numer of
> > linestrings. With larger datasets it works to slow.
> >
> > I send the function code to the list to hope for an idea to accelerate
> > this function. Perhaps it is possible to create and integrate a C based
> > function dynseg like line_interpolate_point to postgis.
>
> This looks interesting.
>
> You didnt put "line_interpolate_point()" in the .sql file.
>
> A function like this would be reasonably easy to do in C. You might
> want to look at the LWGEOM stuff (see the postgis developers mailing
> list) since its easier to write C function because of the API.
>
> There's lots and lots of example functions in PostGIS if you wanted to
> know how to add it.
>
> dave
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list