[MORPHMET] reading shapes with only semilandmarks, Error in readland.tps: No landmark data for some specimens.

2017-09-20 Thread Gonzalo Bilbao
Hi,

I am trying to analize a dataset ("myshapes.tps") with some 1000 shapes that 
look like this:

LM=0
CURVES=2
POINTS=8
1467.0 1155.0
1447.0 1169.0
1432.0 1189.0
1418.0 1208.0
1403.0 1228.0
1393.0 1250.0
1383.0 1273.0
1376.0 1296.0
POINTS=8
1403.0 1617.0
1411.0 1596.0
1419.0 1575.0
1425.0 1553.0
1433.0 1532.0
1439.0 1510.0
1441.0 1488.0
1443.0 1466.0
IMAGE=E_suberosa_6_copy_std.jpg
SCALE=0.008129


So only semilandmarks, in two curves. When I import them in geomorph using 
readland.tps("myshapes.tps", specID = "imageID", readcurves = T), I get the 
following error:

Error in readland.tps("myshapes.tps", specID = "imageID", readcurves = T) : 
  No landmark data for some specimens.

Why do I get this error message? Is this command suppossed to use only 
landmarks (not semilandmarks)? 

Alternatively, I was thinking of removing the curves so all my points would be 
considered as landmarks, and defining sliders for the gpa alignment...

Thanks in advance for your replies!
Gonzalo

-- 
MORPHMET may be accessed via its webpage at http://www.morphometrics.org
--- 
You received this message because you are subscribed to the Google Groups 
"MORPHMET" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to morphmet+unsubscr...@morphometrics.org.


RE: [MORPHMET] reading shapes with only semilandmarks, Error in readland.tps: No landmark data for some specimens.

2017-09-20 Thread Adams, Dean [EEOBS]
Gonzalo,

You received that error message because you have no primary landmark points 
(LM=0 in your example). All of your points are in the form of curve points 
representing semilandmarks.

One solution is as you suggested: simply remove the curve lines so the points 
are read in as landmarks.  Since semilandmarks are identified later in the gpa 
step by using a curve designator matrix, this change in how you read in the 
data will not matter (so long as you remember to create and use the curve 
designators!). 

In future versions of geomorph we can investigate adding a catch for situations 
such as yours where all landmarks in the TPS file are in the form of 
semilandmarks in curve matrices.

Dean

Dr. Dean C. Adams
Professor
Department of Ecology, Evolution, and Organismal Biology
   Department of Statistics
Iowa State University
www.public.iastate.edu/~dcadams/
phone: 515-294-3834


-Original Message-
From: Gonzalo Bilbao [mailto:gonzalobil...@ucm.es] 
Sent: Tuesday, September 19, 2017 1:29 PM
To: MORPHMET 
Cc: gonzobil...@hotmail.com
Subject: [MORPHMET] reading shapes with only semilandmarks, Error in 
readland.tps: No landmark data for some specimens.

Hi,

I am trying to analize a dataset ("myshapes.tps") with some 1000 shapes that 
look like this:

LM=0
CURVES=2
POINTS=8
1467.0 1155.0
1447.0 1169.0
1432.0 1189.0
1418.0 1208.0
1403.0 1228.0
1393.0 1250.0
1383.0 1273.0
1376.0 1296.0
POINTS=8
1403.0 1617.0
1411.0 1596.0
1419.0 1575.0
1425.0 1553.0
1433.0 1532.0
1439.0 1510.0
1441.0 1488.0
1443.0 1466.0
IMAGE=E_suberosa_6_copy_std.jpg
SCALE=0.008129


So only semilandmarks, in two curves. When I import them in geomorph using 
readland.tps("myshapes.tps", specID = "imageID", readcurves = T), I get the 
following error:

Error in readland.tps("myshapes.tps", specID = "imageID", readcurves = T) : 
  No landmark data for some specimens.

Why do I get this error message? Is this command suppossed to use only 
landmarks (not semilandmarks)? 

Alternatively, I was thinking of removing the curves so all my points would be 
considered as landmarks, and defining sliders for the gpa alignment...

Thanks in advance for your replies!
Gonzalo

-- 
MORPHMET may be accessed via its webpage at http://www.morphometrics.org
--- 
You received this message because you are subscribed to the Google Groups 
"MORPHMET" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to morphmet+unsubscr...@morphometrics.org.

-- 
MORPHMET may be accessed via its webpage at http://www.morphometrics.org
--- 
You received this message because you are subscribed to the Google Groups 
"MORPHMET" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to morphmet+unsubscr...@morphometrics.org.