Skip to main content
Solved

Convert linestring text to line geometry

  • October 29, 2020
  • 2 replies
  • 263 views

Forum|alt.badge.img

Greetings, I'm pulling from a datasource that has a column of linestrings (example below) and i just need to convert this to line geometry in order to derive a polyline shapefile. which transformer(s) can i use? Thanks

 

"Geometry": "LINESTRING (-107.726325 39.50062, -107.72632501 39.50062042, -107.72632492 39.50062061, -107.72632458 39.50062097, -107.72632481 39.50062182, -107.72632666 39.50062407)",

Best answer by ebygomm

This looks like WKT

LINESTRING (-107.726325 39.50062, -107.72632501 39.50062042, -107.72632492 39.50062061, -107.72632458 39.50062097, -107.72632481 39.50062182, -107.72632666 39.50062407)

If you can isolate this part  you can use it in the GeometryReplacer to rebuild the line

View original
Did this help you find an answer to your question?

2 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • Best Answer
  • October 29, 2020

This looks like WKT

LINESTRING (-107.726325 39.50062, -107.72632501 39.50062042, -107.72632492 39.50062061, -107.72632458 39.50062097, -107.72632481 39.50062182, -107.72632666 39.50062407)

If you can isolate this part  you can use it in the GeometryReplacer to rebuild the line


Forum|alt.badge.img
  • Author
  • October 29, 2020
ebygomm wrote:

This looks like WKT

LINESTRING (-107.726325 39.50062, -107.72632501 39.50062042, -107.72632492 39.50062061, -107.72632458 39.50062097, -107.72632481 39.50062182, -107.72632666 39.50062407)

If you can isolate this part  you can use it in the GeometryReplacer to rebuild the line

Thank you, that worked


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings