Register | Login
Attackpoint - performance and training tools for orienteering athletes

Discussion: MATLAB to OCAD

in: Orienteering; Gear & Toys

Sep 16, 2011 2:21 PM # 
Tundra/Desert:
Does anyone have a .m file that will write OCAD 8? I need just one line symbol. With Eddie's great help, I have autogenerated vegetation boundaries for our rogaine area from lidar and would like to think that not reinventing this particular wheel will save me a part-time day or two. I searched for half an hour for "MATLAB to DXF" and to my amusement found that it's next to non-existent. I can go through the several GIS formats but that would require doing complex things within MATLAB and/or getting their geo package.
Advertisement  
Sep 16, 2011 2:49 PM # 
Juffy:
Can you get it to dump a list of coordinates of the vertices? Pretty trivial to go from that to a GPX file.
Sep 16, 2011 2:58 PM # 
edwarddes:
Write it out to the Grass ascii format, and then read it into grass and it will write out to a shape file or dxf.
The ASCII format is really simple, just a list of vertices for each polyline, and optional classification that can be linked to a db table for an attribute table.

email me if you want help with it.
Sep 16, 2011 3:00 PM # 
edwarddes:
http://grass.fbk.eu/gdp/html_grass64/v.in.ascii.ht...
Sep 16, 2011 5:08 PM # 
Tundra/Desert:
Thanks! I found out that something that I already have called GPS Utility will read plain CSV and generate DXF (and, if I need them, shapefiles).

This discussion thread is closed.