I have a PostGIS database with all streets from OSM within a given bounding box. Now I want to split all roads from my table planet_osm_roads into segments of max 20 meters length and save those segments to a new PostGIS table.
The geometry of the roads is save in "way geometry(linestring,900913)". Can anyone give me a hint on how to accomplish this?