Hi,

I am trying to calculate some metrics.
I tried time ago in a test area, and it worked out (my own laptop)

I have tried this weekend to run on my tiles and it didn't work out
(another computer), but the other commands did.
So I have tried this morning to run the spdmetrics on one tile using my
laptop and it worked out.
In the meanwhile I reinstall tuiview on my laptop, and after that I can run
spdmetrics anymore.
The error I get anytime is segmentation fault (core dumped)

I fear that it has something to do with my conda installation, because
before reinstalling tuiview with conda, the spdmetrics woked out, and now I
doesn't anymore. Below you find my command and the xml file.

Could anyone give me a hint?
I have tried already to install and reinstall spdlib.

Best regards,



My code for metrics looks like :

spdmetrics --image -f KEA -b 1 -c 50 -r 50 -m ./metrics2a.xml -o
./als_dr_opt3_row1col29_2013_nztm_rmn_pmfmccgrd_10m_metrics.kea
-i /als_dr_opt3_row1col29_2013_nztm_10m_rmn_pmfmccgrd_h.spd

my xml file, which it should be right, is:

<?xml version="1.0" encoding="UTF-8" ?>
<!--
    Description:
       XML File for execution within SPDLib
       This file contains a template for the
       metrics XML interface.
-->

<spdlib:metrics xmlns:spdlib="http://www.spdlib.org/xml/";>
    <spdlib:metric metric="percentage" field="CoverRts" >
        <spdlib:metric metric="numreturnsheight" field="Out_Name1"
          return="All" class="NotGrd" lowthreshold="2" />
        <spdlib:metric metric="numreturnsheight" field="Out_Name2"
          return="All" class="All" />
    </spdlib:metric>
    <spdlib:metric metric="maxheight" field="MaxH" return="All"
       class="NotGrd" lowthreshold="2" />
    <spdlib:metric metric="meanheight" field="MeanH" return="All"
       class="NotGrd" lowthreshold="2" />
    <spdlib:metric metric="medianheight" field="MedianH" return="All"
      class="NotGrd" lowthreshold="2" />
    <spdlib:metric metric="canopycover" field="CanopyCover" resolution="1"
      radius="2" return="All" class="NotGrd" />
    <spdlib:metric metric="canopycoverpercent" field="CanopyCopyPercent"
      resolution="1" radius="2" return="All" class="NotGrd" />
</spdlib:metrics>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
spdlib-develop mailing list
spdlib-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spdlib-develop

Reply via email to