Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

ESRI shapefiles exported from ctmm web

40 views
Skip to first unread message

Laura Franklin

unread,
Nov 26, 2024, 2:29:48 PM11/26/24
to ctmm R user group
Howdy,

I've spent a lot of time trying to troubleshoot coordinate system issues with the home range shapefiles I've exported from ctmm web. I've defined projections and projected every which way and nothing seems to get my home ranges out of the middle of the ocean. I've tried troubleshooting in both R and ArcGIS Pro.

Here's the projection metadata from the original shapefile freshly downloaded from ctmm web:

PROJCS["unknown",GEOGCS["GCS_unknown",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Two_Point_Equidistant"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Latitude_Of_1st_Point",30.2452443549489],PARAMETER["Latitude_Of_2nd_Point",30.2259219136728],PARAMETER["Longitude_Of_1st_Point",-178.454110875529],PARAMETER["Longitude_Of_2nd_Point",-178.389076800284],UNIT["Meter",1.0]]


And here it is after I've defined projection in R (it's the same if I do it in ArcPro):

PROJCS["NAD_1983_UTM_Zone_17N",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-81.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]

PS - I've not had the same issue when I've calculated/run/exported previous datasets from ctmm in R but, long story short, that's not an option for me right now.

I hope someone is able to help!
Laura

Christen Fleming

unread,
Dec 4, 2024, 10:22:01 PM12/4/24
to ctmm R user group
Hi Laura,

I'm not sure that I follow. The home ranges look good inside ctmmweb but not in ArcGIS? What about within in R?
It looks like ctmmweb is calling sp for leaflet plots, which would be my first guess at projection issues, as spTransform is buggy, but that then shouldn't plot correctly in ctmmweb leaflet plots if that were the case.

Best,
Chris
Reply all
Reply to author
Forward
0 new messages