newpage "eps", "tutorialgeoimage2.eps", 70, 70

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

# Save all coastline polygons into path, then clip to path.
#
while Mapyrus.fetch.more
do
  fetch
  addpath GEOMETRY
done

clip "inside"

# Draw image, clipped to coastline.
#
geoimage "australia.png"
