HR and HR overlap

8 views
Skip to first unread message

e.santo...@gmail.com

unread,
Jun 25, 2019, 2:21:47 AM6/25/19
to OpenJUMP HoRAE Users
Hi there,

Needing some advice here.

I would like to know how to quantify HR and HR-overlap for some 40 individuals using HRE - MCP 95%.

A bit of background. Data of all individuals is in single shapefile (created in ArcMap). Each individual is identified by a unique combination of colors: color code (string variable, no numbers).

The program wont let me use the color code to create a HR polygon for each individual. I tried to edit the attribute (Color code) using the Auto Assign Attribute, but it assigns the same number to all observations or continuous numbers.

I want to assign the same number or alphanumeric ID to the same individual to create individual polygons and quantify HR-Overlap.

Any suggestions?

Stefan Steiniger

unread,
Jun 26, 2019, 5:08:28 PM6/26/19
to e.santo...@gmail.com, OpenJUMP HoRAE Users
Hi,

I have difficulties to understand how the IDs are encoded. Can you send a sample?

To calculate overlap for 40 individuals sounds like a fairly intensive work to me, as in theory there is a very large number of combinations possible (40^2+40)/2 = 800 - I believe; but...

Best,
Stefan

Ps: sorry am in vacations now, so am responding slowly

--
You received this message because you are subscribed to the Google Groups "OpenJUMP HoRAE Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ojhorae-user...@googlegroups.com.
To post to this group, send email to ojhora...@googlegroups.com.
Visit this group at https://groups.google.com/group/ojhorae-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ojhorae-users/d7fd9edb-0e3c-4b73-a671-3620d65d3642%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Enrique Santoyo-Brito

unread,
Jun 27, 2019, 12:36:23 PM6/27/19
to OpenJUMP HoRAE Users
Hi Stefan, 

Thank you very much for taking the time to answer my questions.

I have attached to this email file with data and a .pdf with screenshots and a short explanation of what I am doing and what I want to do. 

Thank you very much for your help!

Saludos,


Jump.pdf
Example.jml

Enrique Santoyo-Brito

unread,
Jul 13, 2019, 2:02:34 PM7/13/19
to OpenJUMP HoRAE Users
Hi Stefan, 

Hope you are doing well. 

I apologize for insisting but have you had a chance to look over my data? Do you have any suggestions?

Thank you!

Stefan Steiniger

unread,
Jul 15, 2019, 12:15:31 PM7/15/19
to Enrique Santoyo-Brito, OpenJUMP HoRAE Users
Hi Enrique,

ok, your colour coding seems to be a smart idea, but converting that into an integer value, as needed for the analysis is indeed a headache.
So here is what I did now with your sample - using a table join as a solution:
- I created an Excel file with two columns: colour and indiv-id, putting in the first column the unique code and in the latter a unique id to be used later on
- I exported the excel to a csv file (so I can read it in OpenJUMP or/and QGIS)
- I did load that csv in OpenJUMP (using the auto option), then I adjusted the id field to be of type integer, not double, and saved it as a shapefile (i.e. hoping also OpenJUMP as well as QGIS figure that this is a file with no real point geometries, only serving to load a table)
- then i did load both shapefiles in QGIS to perform a Join operation on the original shapefile with the colour atribute as "matching attribute". I checked then if each observation really had a new individual id, and then I exported that layer again as shapefile to be loaded later in OpenJUMP and run the MCP analysis (with the id attribute).
- if OpenJUMP could do a join using STRING type attributes, this would have been mucht easier... but unfortunately...
- also, in one moment I was able to load the xls (or xlxs) straight into QGIS for the join, but later on it did not work again :(

So I attach you an excel with the csv, the generated shapefile with the ids (and empty geometries) from OpenJUMP that I did load in QGIS for the colour ("String")-based join operation, plus the final shapefile.
(btw. some QGIS can also read the excel directly, but converting the id attribute into an integer may still be an issue).

I hope you are able to redo, what I did with your larger dataset. If not, let me know.

cheers,
Stefan


--
You received this message because you are subscribed to the Google Groups "OpenJUMP HoRAE Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ojhorae-user...@googlegroups.com.
To post to this group, send email to ojhora...@googlegroups.com.
Visit this group at https://groups.google.com/group/ojhorae-users.
color-to-id.csv
color-to-id.zip
emai-data-as-shapefile.zip
individuals-with-id.zip
color-to-id.xls
mcp-results-for-example-data-Screen Shot 2019-07-15 at 12.00.30.png
Reply all
Reply to author
Forward
0 new messages