1

How can I split a (poly)line in segments of a given length in cartodb?

I want to be able to visualize segments of street, each 4m long, following the road curve. One way would have been to trace the road side with a line and then cut it in chunks of 4m.

I cannot use a simple "grid", as the 4m have to be tangent to the path, and I did not find a way to create points or lines with a given distance of each other.

It seems possible in QGIS and OpenJump (How to split a line every x meters?) but I cannot find a way to do it in cartodb.

Any suggestion?

1

cartodb use postgres/postgis so you can make nice sql queries. I couldn't try but this one below should help: Split linestring to smaller lines

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.