File:Jack the ripper rossmo 2.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (SVG file, nominally 1,151 × 702 pixels, file size: 563 KB)

Captions

Captions

Jack The Ripper map, canonical 5 cases, Rossmo analysis

Summary

[edit]
Description
English: Jack The Ripper map, canonical 5 cases, Rossmo analysis
Date
Source Own work
Author Merikanto
SVG development
InfoField
 
The SVG code is valid.
 
This map was created with an unknown SVG tool by Merikanto.

Source of location data is

"Jack The Ripper significiant locations"

https://www.google.com/maps/d/viewer?mid=1nkmEUBhDk400CTeJwDwLkHAz6JA&ie=UTF8&hl=en&msa=0&z=15&ll=51.51856111815372%2C-0.06886693853310755

Map is Leaflet Openstreetmap (OSM)

Captured to pdf with FireShot extension in Firefox browser

Converted to svg with online converter

https://pdftosvg.com/

"R" code to produce the map

    1. Jack the Ripper, locations
    1. "R" rgeoprofile
  1. leaflet openstreetmap
    1. 0000.0002 30.8.2021
    1. must do this on first time, if you dop not have Rcpp
  1. 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)


  1. cgt <- neg_exp_profile(daata$lat, daata$lon ,method = "CrimeStat")
  1. cgt <- norm_profile(daata$lat, daata$lon) # nok?
  1. cgt <- lognorm_profile(daata$lat, daata$lon ) ## nok
  1. cgt <- trun_neg_exp_profile(daata$lat, daata$lon )


    1. ok
    2. cgt <- neg_exp_profile(daata$lat, daata$lon , method = "Dragnet")


  1. 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")


  1. 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)

  1. saveWidget(cgt_map , file = "rosmo2.html", selfcontained = TRUE)
  1. webshot("rosmo.html", file = "rosmo.png",
  2. cliprect = "viewport")
  1. my_image <- image_read("rosmo.png")
  2. my_svg <- image_convert(my_image, format="svg")
  3. image_write(my_svg, "rosmo0.svg")



Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
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/TimeThumbnailDimensionsUserComment
current07:15, 30 July 2021Thumbnail for version as of 07:15, 30 July 20211,151 × 702 (563 KB)Merikanto (talk | contribs)Reverted to version as of 14:01, 28 July 2021 (UTC)
07:03, 30 July 2021Thumbnail for version as of 07:03, 30 July 2021992 × 744 (1.09 MB)Merikanto (talk | contribs)Update
14:01, 28 July 2021Thumbnail for version as of 14:01, 28 July 20211,151 × 702 (563 KB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata