GameDevelopmentToolset icon indicating copy to clipboard operation
GameDevelopmentToolset copied to clipboard

OSM importer: duplicating nodes ?

Open gitToad opened this issue 8 years ago • 0 comments

I think the OSM importer is creating new points for each way vs just creating vertices, referencing the same nodes / points.

For example if there are two adjacent road segments ("ways"), in OSM they might reference these points:

..........0..................1........................WAYs X------------X---------X................sample street 0...................1...............2................NODEs

But the importer creates two polylines, with the following points:

0: 0, 1 1: 2, 3

Eg point 1 in the original OSM file turns into two points (1 and 2) in the houdini import. This throws away valuable informaton and its reconstruction makes adjacency processing unnecessarily tedious.

Would it be possible to have a 1:1 correspondence between referenced OSM nodes and houdini points and (as now) a 1:1 correspondence between OSM ways and houdini polylines with the polylines using vertices that occasionally share the same point/node ?

I.e.

0: 0, 1 1: 1, 2

gitToad avatar Nov 26 '17 00:11 gitToad