Converting data from rasters to row-oriented data can be tricky. ConsNet (and the helper program which converts Maxent data to ConsNet input files) want you to assign a unique ID to each cell so that we can be certain which cell we are talking about. The rows in both the representation and the cost files are keyed by this cell ID.
Tools inside GIS may be able to help you convert the data from a raster to a tabular format. My GIS skills are pretty weak (and also dated), so I can't give you a step by step guide. But it goes something like this:
- Get GIS to think about each cell in your raster as a geographic feature.
- GIS will assign a "feature ID" (FID) to each cell. This is a good value to use for the ConsNet cellID
- Now you can construct a table inside GIS that will have one row for each cell
- You can add columns/values to that table pulling values from your existing rasters
- During this process, make sure to exclude cells that are masked out of your analysis. You could add a 0/1 column and filter them out at the end.
Now that your data is row-oriented, doing the final adjustments will be much easier if you can get the data into Excel. I recall that GIS has a bunch of wonky file types (specifically a dbfile) that modern Excel versions can no longer open. Sometimes, your best bet on a small dataset is just to copy and paste the whole table (make sure you get every row). Otherwise a tab delimited file or CSV text file will work.
Once you get it into Excel, there is one more trick that makes it super easy to create the ConsNet input file. First, insert and populate any missing columns, add a header row, double check your work, etc. Then, just highlight the data in Excel, copy it to the clipboard, and paste it into a text document. This process puts tabs in between the fields, which is exactly what ConsNet wants. Save your text file and that should work. Once you load it in ConsNet, use the "more data" button to inspect your cost layers and make sure they look okay.
mc