[postgis-users] problem with the_geom returned by ST_Line_Substring

Sandro Santilli strk at keybit.net
Tue Feb 21 07:08:44 PST 2012


Sounds like a bad bug, can you reproduce with a small
(like 2 or 3 vertices) input ? Would you file a ticket
for it on http://trac.osgeo.org/postgis/ ?

--strk;

On Tue, Feb 21, 2012 at 09:49:22AM -0500, Worth Lutz wrote:
> 
> 
> Postgis 1.5.3
> 
> I'm having a problem with the output of ST_Line_Substring().
> 
> Mapserver will not display the results when I replace the original geom with
> the substring.  The geometry is there but when trying to look at it I see
> some anomalies. I have noticed that when I look at the results with
> ST_AsText:
> 
> ST_AsText(the_geom) returns:
> 
>     MULTILINESTRING((2109131.635 773598.026, ...
> 
> 
> ST_AsText(ST_Line_Substring(the_geom, 0, 0.5))  returns:
> 
>     MULTILINESTRING(SRID=2264;(2109131.635 773598.026, ...
> 
> 
> I do not know if that is a clue to the problem.
> 
> Also:
> 
> ST_AsEWKT(the_geom) returns:
> 
>     SRID=2264;MULTILINESTRING((2109131.635 773598.026, ...
> 
> ST_AsEWKT(ST_Line_Substring(the_geom, 0, 0.5)) returns:
> 
>     SRID=2264;MULTILINESTRING(SRID=2264;(2109131.635 773598.026, ...
> 
> 
> _______________________________________________
> 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