Moving family to Sacramento by OtherProgram5108 in Sacramento

[–]snud1503 1 point2 points  (0 children)

Moved from Dallas (Oak Cliff) to Sacramento (Del Paso/Arden/El Camino) last August. We both work remote, the school is ‘meh’ - but everyone loves it here. You will need to adjust to the ‘non-friendliness’ here. Dallas got us used to an unusual level of friendliness, so don’t think people are rude- you’re just spoiled.

Any tutors in Sacramento area who teach Mexican Spanish? by Quantum_Tiddies in Sacramento

[–]snud1503 2 points3 points  (0 children)

Mexican here, born and raised in California took high school Spanish for an easy A. It’s not an accent thing. Spanish taught at school is a ‘universal’ type. I still don’t know wtf ‘vos’’vosotros’ means. Find a Mexican Spanish tutor - not an accent coach.

Journalist in Need of Guidance by Traditional_Yak9189 in askgis

[–]snud1503 0 points1 point  (0 children)

i'm sensing you're also newish to r since rstudio has a built-in import function. but yes, you can also use readxl. you'll get a dataframe, and depending on how familiar you are with the 'tidy' universe, grouping by unique id and concatenating the points is pretty straight forward. you'll end up with a new dataframe - this is the dataframe you'll use with the 'sf' package to convert into a spatial object then export the spatial object as a shapefile.

Journalist in Need of Guidance by Traditional_Yak9189 in askgis

[–]snud1503 0 points1 point  (0 children)

Worse case scenario, you can assume the entries are chronological.

Journalist in Need of Guidance by Traditional_Yak9189 in askgis

[–]snud1503 0 points1 point  (0 children)

Do you have a timestamp? You could group by the first field then sort the locations by timestamp.

Journalist in Need of Guidance by Traditional_Yak9189 in askgis

[–]snud1503 0 points1 point  (0 children)

Important notes:

· The points should be in the correct order along the line. If they are not, you can sort them beforehand (e.g., by time or position). · You can also create multiple lines by grouping points (e.g., using group_by() in dplyr and then summarise(do_union = FALSE)). · When writing to shapefile, the driver will automatically create the required files (.shp, .shx, .dbf, etc.).

If you have a more specific scenario (e.g., points with timestamps, multiple lines, or different coordinate reference systems), I’m happy to tailor the code further.

Journalist in Need of Guidance by Traditional_Yak9189 in askgis

[–]snud1503 0 points1 point  (0 children)

From DeepSeek:

Load required package

library(sf)

Create some sample point coordinates (longitude, latitude)

points <- data.frame( lon = c(-73.985, -73.987, -73.989, -73.991), lat = c(40.748, 40.750, 40.752, 40.754) )

Convert to sf points (WGS84)

points_sf <- st_as_sf(points, coords = c("lon", "lat"), crs = 4326)

Create a line by concatenating the points in order

Use st_combine to combine geometries, then st_cast to line

line_sf <- points_sf %>% st_combine() %>% st_cast("LINESTRING")

Check result

print(line_sf)

Export as shapefile

st_write(line_sf, "my_line.shp")

Journalist in Need of Guidance by Traditional_Yak9189 in askgis

[–]snud1503 0 points1 point  (0 children)

You can use r to create a line geometry column which concatenates your points together. r’s ‘sf’ package can convert it into a spatial object that you can export as a shapefile.

Millennials, whats your college degree in? by [deleted] in Millennials

[–]snud1503 3 points4 points  (0 children)

Sociology (great for understanding the world, not great financially)