[pgrouting-users] latitude longitude of an intersection

Valeria Muñoz valemunoz at gmail.com
Mon Mar 30 16:32:33 EDT 2009


Hi daniel
    I have problems with st_intersection function, for any query the result
is "GEOMETRYCOLLECTION EMPTY"

my query:
select AsText(st_intersection('".$geom_ini."','".$geom_ter."'))

$geom_ini: is the AsText(the_geom) from street A and $geom_ter: is the
AsText(the_geom) from the street B

I think I'm completely lost

RG
2009/2/25 Daniel Kastl <kastl at orkney.co.jp>

> Hi Valeria,
>
> This should be possible with PostGIS.
> Probably you're looking for this function:
>
> ST_Intersection(geometry, geometry)
>
> http://postgis.refractions.net/documentation/manual-1.3/ch06.html#id2746133
>
> Daniel
>
>
> Valeria Muñoz schrieb:
>
>  HI!!
>
> i have a questions: can i get the latitude longitude of an intersection?,
> for example latitude longitude of street1 with street2
>
> RG
>
> ------------------------------
>
> _______________________________________________
> Pgrouting-users mailing listPgrouting-users at lists.postlbs.orghttp://lists.postlbs.org/mailman/listinfo/pgrouting-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20090330/1cc90c41/attachment.html


More information about the Pgrouting-users mailing list