I am attempting to take a shape file and display it on a map:
I can do something like this:
SELECT ST_AsText((ST_Dump(the_geom)).geom) as the_geom FROM shapes;
But the problem is I still have to do a lot of parsing of the data to get it to display on a google map. Is there a way to do this easily via google's javascript api?