Difference between revisions of "Importera beståndsregister"

From Heureka Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
[[Category:Reference Manual]]
 
[[Category:Reference Manual]]
 
[[Category:User's Guides]]
 
[[Category:User's Guides]]
The stand register import utility requires as input a semicolon separated file containing the fields specified in this document. The easiest way to produce such a file is to use the supplied template (found below). Use Excel to fill the template and save it as a semicolon separated .csv-file. Content of file, order of columns, valid values, etc. is described in the section "File specification" below.
+
()
 +
===Introduktion===
 +
Med ett beståndsregister menas en datatabell som beskriver ett skogsinnehav. Detta register är användbart i Heureka för olika syften:
 +
*Som underlag för att göra en provytebaserad fastighetstaxering. Man gör då en [[User%27s_guide_to_PlanStart#Inventory | stickprovsdesignen]] som utgår från beståndsregister.
 +
*Som indata för att göra analyser utifrån innehavet såsom det är beskrivet i registret. I detta fall kan Heureka simulera diameterfördelningar och trädlistor som systemet kräver för att kunna göra prognoser och andra beräkningar.
 +
*Som kompletterande data om man redan på annat sätt har fått in data i systemet, t ex genom [[Import_of_FMPP_data | import av data från Indelningspaketet]].
  
''NB: If other information, not covered by the specified variables, is available and of interest in the analyses (or in the inventory setup) such should be imported here, using the fields "UserDefinedVariable1-10". For example, interesting information could have been derived in preceding GIS-analyses (of stands coinciding with high nature value-areas, etc.).''
+
Exempel på variabler som krävs är, för varje bestånd, beståndsid, volym, ålder, grundyta, stamantal, trädslagsfördelning, huggningsklass, mm. För att importera ett beståndsregistret krävs en fil som är formatterad exakt såsom specficieras här. Det enklaste sättet att skapa en sådan fil är att utgå från mallen som finns nedan under "Mall" . Använd t ex Excel för att fylla i mallen och spara sedan som en semicolon-separerad .csv-file. Filens innehåll, kolumnernas ordning, tillåtna värden, etc. beskrivs under "Filspecifikation" nedan.
 +
 
 +
Notera också att det finns ett antal "fria" kolumner ("UserDefinedVariable1-10") i vilka man som användare kan lägga in egna variabler (decimaltal eller heltal). Exempelvis kanske man har information från en GIS-analys att ett viss bestånd ligger nära ett reservat och ska skötas med någon typ av anpassad skötsel.
 +
 
 +
Det importerade beståndsregistret läggs in en särkild tabell i den så kallade skogsdatabasen (Forest database). Man kan i princip importera samma register flera gånger, de skrivs då inte över utan det skapas nya interna id:n för det varje import. Om man har importerat ett register, låtis programmet simulera data, och sedan kommer på att man vill komplettera registret, så behöver man bara importera det uppdaterade registret och länka om det med via Importera > Beståndsregister > Länka till befintligt data.
 +
 
 +
===Instruktioner===
 +
 +
#Från toppmenyn, välj "Importera" > "Beståndsregister" > "Importera beståndsregsiter".
 +
#Klicka på "Bläddra"-knappen and välj den csv-fil som ska importeras (see nedan).
 +
#I rutan "Beskrivning" ("Description"), skriv in ett namn för vad registret ska kallas. Om du låter programmet simulera träddata utifrån resgitret kommer detta namn även att användas som områdesnamn på analysområdet.
 +
#I vissa fall görs alltså importen efter att "Heurekadata" redan finns inlagt, och då kan det vara aktuellt att länka resgiserdatat till befintliga data. Se nedan under ([[#Länka till befintligt data | Link_to_existing_area ]])
 +
#Om du har markerat "Use data for simulation", kommer du att efter importen få frågan om träddata ska simuleras.
  
===Instruction===
 
#Open an exisiting project or [[Create_a_new_Project | create a new one]]
 
#From the top menu, select "External Data" > "Stand Register" > "Import Stand Register"
 
#Click the "Browse"-button and select the csv-file to be imported (see below)
 
#In the "Description" edit box, type a name for the stand register. If you will simulate tree data based on the stand register, this name will be used as the name for the analysis area (the root node).
 
#In some cases this import is done after importing other forest data, for example if you have [[Import_of_FMPP_data | imported FMPP-data]]. See below ([[#Link_to_existing_area | Link_to_existing_area ]])
 
  
 
===Encoding===
 
===Encoding===
 
Supported encoding is ISO-8859-1 (Latin).
 
Supported encoding is ISO-8859-1 (Latin).
  
===Template===
+
===Mall===
 
Use supplied template to create correct import file for standregister import.
 
Use supplied template to create correct import file for standregister import.
  
 
[[Media:ImportTemplate.xls|ImportTemplate.xls]]
 
[[Media:ImportTemplate.xls|ImportTemplate.xls]]
  
===File specification===
+
===Filspecifikation===
The fields 1-3 will be used for matching plots in the stand register to treatment units in the system. Therefore the combination of the fields 1, 2 and 3 has to be unique within a stand register.
+
Notera: Fr.o.m. version 1.0.6 kommer det att finnas två versioner av fil, men systemet känner själv av vilken version som du försöker importera.
 +
 
 +
Kolumnerna 1 och 3 används inte längre.
 +
Kolumn 2, StandId (eller StandName), används för att kunna matcha bestånd med data som redan finns i systemet (om man t ex har importerat Indelningspakets-data, eller redan har simulerat data och bara vill göra om beståndsregisterimporten). will be used for matching plots in the stand register to treatment units in the system. Therefore the combination of the fields 1, 2 and 3 has to be unique within a stand register.
  
 
Field 2, "StandId", will be used for matching the stands in the register to polygons in the forest map. Hence, keep this field unique.
 
Field 2, "StandId", will be used for matching the stands in the register to polygons in the forest map. Hence, keep this field unique.
Line 365: Line 379:
 
|}
 
|}
  
==Link to existing area==
+
===Länka till befintligt data===
 
An existing analysis area can be regarded as a forest holding, consisting of several forest estates. Each forest estate could have its own stand register, to be imported separately. Similar situations can occur, e.g., when a forest owner acquire additional forest land. Use the "Link to existing area..."-function, either at the same time as the stand register import or afterwards. Currently, there are two sub-levels available in an analysis area, fields called "AreaLevel2" and "AreaLevel3" in the stand register template. For example, these can be regarded as ''Part of my forest holding located in the forested mountain areas'' and ''Part of my forest holding located elsewhere'', respectively.
 
An existing analysis area can be regarded as a forest holding, consisting of several forest estates. Each forest estate could have its own stand register, to be imported separately. Similar situations can occur, e.g., when a forest owner acquire additional forest land. Use the "Link to existing area..."-function, either at the same time as the stand register import or afterwards. Currently, there are two sub-levels available in an analysis area, fields called "AreaLevel2" and "AreaLevel3" in the stand register template. For example, these can be regarded as ''Part of my forest holding located in the forested mountain areas'' and ''Part of my forest holding located elsewhere'', respectively.
  
Line 372: Line 386:
 
When linking new data to existing you need to specify a link, a valid "Attribute Key", found in the combo box. Use fields from the stand register and/or user defined constants.
 
When linking new data to existing you need to specify a link, a valid "Attribute Key", found in the combo box. Use fields from the stand register and/or user defined constants.
  
==Simulating single tree-data==
+
===Simulating single tree-data===
 
A stand register usually includes, in each stand, average values and totals for several variables. However, models applied in the simulations of growth, treatments, etc. need initial forest state descriptions at the single tree-level. If not obtained in a forest inventory, e.g. according to [[Ivent]], such data can be simulated. Other inventory methods, and other simulation techniques (e.g. sample plot imputation), are available. Remote sensing like airborne laser sensors may soon return (a sample of) single-tree data for large areas without great costs, but of great interest.
 
A stand register usually includes, in each stand, average values and totals for several variables. However, models applied in the simulations of growth, treatments, etc. need initial forest state descriptions at the single tree-level. If not obtained in a forest inventory, e.g. according to [[Ivent]], such data can be simulated. Other inventory methods, and other simulation techniques (e.g. sample plot imputation), are available. Remote sensing like airborne laser sensors may soon return (a sample of) single-tree data for large areas without great costs, but of great interest.
  

Revision as of 11:39, 4 June 2010