Hi Julien, 

You need to input a (polygon) shapefile to define regions of interest for which 
the metrics will be calculated. Basically, the usage should be the same as when 
using a shapefile but just that the output is not another shapefile but a ascii 
file. 

Hope that makes sense and let me know if you have any other issues. 

Best wishes, 

Pete

****************************************************
* Dr Pete Bunting
* Senior Lecturer in Remote Sensing
* Earth Observation and Ecosystem Dynamics Group
* Department of Geography and Earth Sciences
* Aberystwyth University
* Aberystwyth
* Ceredigion
* SY23 3DB
* UK
* 
* Ph: +44 (0) 1970 622615
* Mob: +44 (0) 7917 842743
* NZ Ph: +64 (0) 4 280 7430
* Email: [email protected]
* ORCID: http://orcid.org/0000-0002-7435-0148
****************************************************

On 7 Apr 2014, at 21:49, julien le huu nghia <[email protected]> wrote:

> Hi all,
> I am trying to get ASCII files with spdmetrics, for that purpose I use the 
> xml files was give for the tutorial 6, I've followed the step, and i 
> translate spd file on asc file, that give:
> 
> spdmetrics --ascii -m metrics.xml -o Vyrnwy_OSGB.asc -i 
> Vyrnwy_OSGB_10m_h_asc.asc 
> 
> but i get this error:
> 
> " terminate called after throwing an instance of 'std::out_of_range'
>   what():  basic_string::substr
>   Aborted (core dumped) "
> 
> I try with other xml files the result are the same, but with image on output 
> that work.
> 
> How we use spdmetrics to have a ascii files on output ?
> 
> Thanks you.
> Julien
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment 
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees_APR_______________________________________________
> spdlib-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spdlib-develop

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_APR
_______________________________________________
spdlib-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spdlib-develop

Reply via email to