Jump to content

Writing .Map files via script


Neil

Recommended Posts

Hi,

I have some existing code that successfully writes .map files. At present however it only writes the elevation contours.

I have added code to append roughness lines to this file. But the result does not work.

I am fairly sure that the format for my roughness lines matches that set out in the helpfile (see below). So can I append roughness line to a .Map with elevation data or must the entire file be in the format :

z01 z02 Z n

Thanks

Neil

EXAMPLE OF ROUGNESS DATA

0.05 0.375 11
1426320.9785 6308074.9936
1426220.9785 6308074.9936
1426220.9785 6308174.9936
1426170.9785 6308174.9936
1426220.9785 6308174.9936
1426220.9785 6308274.9936
1426370.9785 6308274.9936
1426370.9785 6308224.9936
1426420.9785 6308224.9936
1426420.9785 6308074.9936
Link to comment
EDIT :

Looking at another file, it seems I can append as hoped. But would I be right in thinking that the roughness lines need to be fixed width (Tab delimited seems to work for the elevation lines)?

Thanks
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...