Skip to main content
Solved

How to transform a shapefile of lines to a wavefront .obj file?

  • June 25, 2020
  • 2 replies
  • 156 views

I wanted to transform a shapefile of lines to a wavefront .obj file. In the resulted file test_obj.obj, I did not get a list of vertices and a line starting with "l" to represent a line.

Below are three images. The first one shows shapefile "test" with a line. The second image shows how I configured in FME to get an obj file of the line. The third image shows the resulted obj file, which is "empty".

Can anybody help me?

Best answer by jlbaker2779

Enable the "Write Points and Lines". By default it is set to no.

 

Keep in mind, some software can't read the lines. So, you'll have to buffer them slightly to create polygons if you run into issues.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

Forum|alt.badge.img+2
  • Best Answer
  • June 25, 2020

Enable the "Write Points and Lines". By default it is set to no.

 

Keep in mind, some software can't read the lines. So, you'll have to buffer them slightly to create polygons if you run into issues.

 


  • Author
  • June 26, 2020

Enable the "Write Points and Lines". By default it is set to no.

 

Keep in mind, some software can't read the lines. So, you'll have to buffer them slightly to create polygons if you run into issues.

 

Enabling the "Write Points and Lines" solved my problem. Thanks a lot!