#1 2020-05-10 20:33:52

Pedro Quiroga
Member
Registered: 2019-10-11
Posts: 6

Roughness map (shapefile)

Hi support team.

I'm working with a land-use map from Landsat which was converted to shapefile using Arcgis, this map was imported into the WAsP Map Editor, and then the attributes were specificated, my doubt is regarding the right and left-roughness, since shapefile only has one attribute of roughness per polygon (called gridcode), so my map has the same values for both roughness.

Could you give me an idea of how to assign each roughness?
Thanks for your help.

Offline

#2 2020-05-10 22:45:36

Morten
Administrator
From: DTU Wind Energy
Registered: 2009-11-02
Posts: 135
Website

Re: Roughness map (shapefile)

Hi Pedro,


I have no personal experience with this, but I believe that roughness values to the left and right side of each polygon or polyline in the SHP file should be stored in an a separate DBF file – with the same name and in the same folder, just using different filename extensions. You can read about this in the Map Editor help file section called ‘Map Formats> Vector maps> Shape files’. I am not sure exactly how you generate the DBF file with ArcGIS as I have never used this tool myself.


With best regards,
Morten Nielsen

Offline

#3 2020-05-11 02:30:45

Pedro Quiroga
Member
Registered: 2019-10-11
Posts: 6

Re: Roughness map (shapefile)

Hi Morten,
Thanks for the prompt response, I was checking the help section and apparently there is a way to convert polygons to line, to get both roughnesses, the polygons option only has the internal roughness of each polygon, and as you mentioned is stored in a separate DBF file.
We are evaluating another option, we have a matrix with, X and Y coordinates and its respective roughness, we have a code in Matlab to create a .map file that writes the coordinates of a squared polygon for each roughness value in the matrix and as we know the roughness and location of each matrix element we can write as well the left side roughness, it is valid this approach (using a roughness polygon per element in the matrix)?   
Thanks.
Best regards
Pedro

Offline

Board footer

Powered by FluxBB

[ Generated in 0.012 seconds, 10 queries executed - Memory usage: 516.72 KiB (Peak: 518.81 KiB) ]