Re: [R-sig-Geo] Mapping my own polygon?

2023-06-13 Thread Kevin Zembower via R-sig-Geo
Mike, thanks, again, for all your help. You got me started down the correct path. Here's what's finally working for me: library(tidyverse) library(tidycensus) library(sf) library(tmap) library(tigris) options(tigris_use_cache = TRUE) library(tmaptools)

Re: [R-sig-Geo] Mapping my own polygon?

2023-06-12 Thread Michael Sumner
The OpenStreetMap package is using PseudoMercator (quite common for image tile servers) which is EPSG:3857. Using your long/lat min max the numbers give the right neighbourhood, perhaps a transcribe error in the original 'rw' data frame numbers for Y?

Re: [R-sig-Geo] Mapping my own polygon?

2023-06-11 Thread Kevin Zembower via R-sig-Geo
Hi, Mike, thanks for answering me from across the world! I created my polygon of my neighborhood the old fashion way: by printing a map with a grid in meters, and using a pair of navigational dividers to pick off the x and y coordinates of the borders of my neighborhood. You can see a map of

Re: [R-sig-Geo] Mapping my own polygon?

2023-06-11 Thread Michael Sumner
I took a guess that your coordinates are not in EPSG:6487 but in global Mercator (EPSG:3857) which seems to give a reasonable region from online image servers. https://gist.github.com/mdsumner/e6997c2f4a54c743e078aca8401537a0 If that looks ok? Then, simply replace 6487 with 3857 in your

[R-sig-Geo] Mapping my own polygon?

2023-06-10 Thread Kevin Zembower via R-sig-Geo
In my continuing work on reporting on US Census data for my neighborhood, I'd like to draw a map of the boundaries of it. I was successful in creating and printing an OSM basemap, with the US Census blocks that make up my neighborhood on it. Now, I'd like to create my own polygon, of the