Fix comment
This commit is contained in:
parent
736ad46789
commit
03bacf3832
|
@ -25,7 +25,7 @@ usedPolygon=args[2]
|
||||||
wktP <-readWKT(usedPolygon)
|
wktP <-readWKT(usedPolygon)
|
||||||
print(wktP@bbox)
|
print(wktP@bbox)
|
||||||
|
|
||||||
#By scientific name adnd geometry
|
#By scientific name and geometry
|
||||||
y=occurrence(sname, geometry = usedPolygon)
|
y=occurrence(sname, geometry = usedPolygon)
|
||||||
occplot<-map_ggplot(y, color = "#ff3399")+coord_sf(xlim = wktP@bbox[1,], ylim = wktP@bbox[2,])
|
occplot<-map_ggplot(y, color = "#ff3399")+coord_sf(xlim = wktP@bbox[1,], ylim = wktP@bbox[2,])
|
||||||
ggsave(result, plot = occplot)
|
ggsave(result, plot = occplot)
|
||||||
|
|
|
@ -15,7 +15,7 @@ result="occplot.png"
|
||||||
wktP <-readWKT(usedPolygon)
|
wktP <-readWKT(usedPolygon)
|
||||||
print(wktP@bbox)
|
print(wktP@bbox)
|
||||||
|
|
||||||
#By scientific name adnd geometry
|
#By scientific name and geometry
|
||||||
y=occurrence(sname, geometry = usedPolygon)
|
y=occurrence(sname, geometry = usedPolygon)
|
||||||
occplot<-map_ggplot(y, color = "#ff3399")+coord_sf(xlim = wktP@bbox[1,], ylim = wktP@bbox[2,])
|
occplot<-map_ggplot(y, color = "#ff3399")+coord_sf(xlim = wktP@bbox[1,], ylim = wktP@bbox[2,])
|
||||||
ggsave(result, plot = occplot)
|
ggsave(result, plot = occplot)
|
||||||
|
|
Loading…
Reference in New Issue