SELECT astext(the_geom) as the_geom, tipo_geom FROM geometrias WHERE id_geometria=