newpage "pdf", "tutorialpdfgroup.pdf", 80, 80

dataset "shapefile", "coastline.shp", ""
worlds Mapyrus.dataset.min.x, Mapyrus.dataset.min.y, \
  Mapyrus.dataset.max.x, Mapyrus.dataset.max.y

# Define first group
pdfgroup "begin", "Background Image"
geoimage "australia.png"
pdfgroup "end"

# Define second group
color "yellow"
linestyle 1, "round", "round"
pdfgroup "begin", "Coastline"
while Mapyrus.fetch.more
do
  clearpath
  fetch
  addpath GEOMETRY
  stroke
done
pdfgroup "end"
