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 <morphmet@morphometrics.org> 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.00000 1155.00000 1447.00000 1169.00000 1432.00000 1189.00000 1418.00000 1208.00000 1403.00000 1228.00000 1393.00000 1250.00000 1383.00000 1273.00000 1376.00000 1296.00000 POINTS=8 1403.00000 1617.00000 1411.00000 1596.00000 1419.00000 1575.00000 1425.00000 1553.00000 1433.00000 1532.00000 1439.00000 1510.00000 1441.00000 1488.00000 1443.00000 1466.00000 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.