[OSGeoLive] #2292: Suggestions for R quickstart

OSGeoLive trac_osgeolive at osgeo.org
Wed Jan 13 03:36:52 PST 2021


#2292: Suggestions for R quickstart
-----------------------+--------------------------
 Reporter:  micha      |       Owner:  osgeolive@…
     Type:  task       |      Status:  new
 Priority:  normal     |   Milestone:
Component:  OSGeoLive  |  Resolution:
 Keywords:             |
-----------------------+--------------------------

Comment (by micha):

 Please implement only the second suggestion:


 The final example has an error, misplaced parenthesis. Here is the correct
 statement:


 {{{
 ggplot() +
     geom_sf(data = ukos) +
     geom_sf(data = ukpop, aes(size = ukpop$POP_MAX/100000),
         color = "red", alpha=1/5) +
     coord_sf(crs=27700, datum=sf::st_crs(27700),
         xlim=st_bbox(ukos)[c(1,3)],  # These two lines are corrected
         ylim=st_bbox(ukos)[c(2,4)])
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2292#comment:2>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.


More information about the osgeolive mailing list