[postgis-users] postgis newbie AsSVG question

Sean M. Montague smontague at ATSDenver.com
Mon Feb 14 11:32:38 PST 2005


I'm trying to get up to speed quickly with postgis and php, I'm moving
away from MySQL, and I have an AsSVG question.  Below is a select
statement I modified, and works, that returns a list of states.  I'm
trying to export it AsSVG, but can't get it to work.  I've inserted it
in several places with no luck.  Any insight would be most appreciated.

select the_geom from usa where the_geom &&
GeomFromText('LINESTRING(-1862016 717184, -956486 935033)', 42102) and
crosses(the_geom, GeomFromText('LINESTRING(-1862016 717184, -956486
935033)', 42102))

Sean



More information about the postgis-users mailing list