File:Jack the ripper rossmo 2.svg
Original file (SVG file, nominally 1,151 × 702 pixels, file size: 563 KB)
Captions
Summary
[edit]DescriptionJack the ripper rossmo 2.svg |
English: Jack The Ripper map, canonical 5 cases, Rossmo analysis |
|||
Date | ||||
Source | Own work | |||
Author | Merikanto | |||
SVG development InfoField |
|
Source of location data is
"Jack The Ripper significiant locations"
Map is Leaflet Openstreetmap (OSM)
Captured to pdf with FireShot extension in Firefox browser
Converted to svg with online converter
"R" code to produce the map
-
- Jack the Ripper, locations
-
- "R" rgeoprofile
- leaflet openstreetmap
-
- 0000.0002 30.8.2021
-
- must do this on first time, if you dop not have Rcpp
- install.packages("Rcpp", repos ="https://ftp.acc.umu.se/mirror/CRAN/")
library(Rcpp)
library(rgeoprofile)
library(leaflet)
library(htmltools)
library(exportwidget)
library(leaflet.minicharts)
library(htmlwidgets)
library(mapview)
library(webshot)
library(magick)
names<-c("Nichols","Eddowes","Kelly","Chapman","Stride")
lats<-c(51.520036,51.513728, 51.518679,51.520447,51.513729)
lons<-c(-0.060401,-0.078042,-0.075092,-0.072564,-0.06559)
ages<-c(43,46,35,47,44)
dates<-as.Date(c('1888-08-31','1888-09-30','1888-11-09','1888-09-08','1888-09-30') )
daata<-data.frame(names, ages,dates, lats, lons)
names(daata)<-c("name","age","date","lat","lon")
cgt <- cgt_profile(daata$lat, daata$lon)
- cgt <- neg_exp_profile(daata$lat, daata$lon ,method = "CrimeStat")
- cgt <- norm_profile(daata$lat, daata$lon) # nok?
- cgt <- lognorm_profile(daata$lat, daata$lon ) ## nok
- cgt <- trun_neg_exp_profile(daata$lat, daata$lon )
- ok
- cgt <- neg_exp_profile(daata$lat, daata$lon , method = "Dragnet")
- cgt <- neg_exp_profile(daata$lat, daata$lon , method = "Dragnet", buffer = TRUE)
g_map = sp::SpatialPixelsDataFrame(points = cgt[c("lons", "lats")], data = cgt)
g_map <- raster::raster(g_map)
raster::crs(g_map) <- sp::CRS("+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs")
pal <- colorNumeric(pals::parula(200), raster::values(g_map),
na.color = "transparent")
- 51.517384, -0.0703541
cgt_map <- leaflet(options = leafletOptions(zoomControl = FALSE) ) %>%
addTiles() %>%
setView(lng = -0.0703541, lat = 51.517384, zoom = 16) %>%
addRasterImage(g_map, colors = pal, opacity = 0.45) %>%
addLegend(pal = pal, values = raster::values(g_map), title = 'Score') %>%
#addMarkers(lng=lons,lat=lats,popup=names) %>%
addCircleMarkers(lng = daata$lon, lat = daata$lat, radius = 10, opacity = 1,
stroke = FALSE, fillOpacity = 0.75, weight = 2,
fillColor = "red")
saveWidget(cgt_map , file = "rosmo.html", selfcontained = FALSE)
- saveWidget(cgt_map , file = "rosmo2.html", selfcontained = TRUE)
- webshot("rosmo.html", file = "rosmo.png",
- cliprect = "viewport")
- my_image <- image_read("rosmo.png")
- my_svg <- image_convert(my_image, format="svg")
- image_write(my_svg, "rosmo0.svg")
Licensing
[edit]- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 07:15, 30 July 2021 | 1,151 × 702 (563 KB) | Merikanto (talk | contribs) | Reverted to version as of 14:01, 28 July 2021 (UTC) | |
07:03, 30 July 2021 | 992 × 744 (1.09 MB) | Merikanto (talk | contribs) | Update | ||
14:01, 28 July 2021 | 1,151 × 702 (563 KB) | Merikanto (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 1151 |
---|---|
Height | 702 |