httpresponse "HTTP/1.0 200 OK
Content-Type: image/png"

# Display the file coastline.shp in a PNG file that
# is sent to standard output.
#
newpage "png", "-", 100, 100
color "red"
dataset "shapefile", "coastline.shp", ""
worlds Mapyrus.dataset.min.x, Mapyrus.dataset.min.y, \
  Mapyrus.dataset.max.x, Mapyrus.dataset.max.y
while Mapyrus.fetch.more
do
  clearpath
  fetch
  addpath GEOMETRY
  stroke
done
