useDynLib(maptools)

import(sp)
import(foreign)

export(leglabs, plotpolys, shape2poly, shape2lines, 
	shape2points, shape2bbs, Map2poly, Map2poly1, Map2lines, Map2points, 
	Map2bbs, convert.pl, get.Pcent, read.shape, getinfo.shape,
	plot.Map, plot.polylist, subset.polylist, maptools, dotsInPolys,
	symbolsInPolys, write.pointShape, write.polylistShape, 
	write.linelistShape, print.shapehead)

export(readShapePoints, readShapeLines, readShapePoly)

export(writePointsShape, writeLinesShape, writePolyShape)

export(readAsciiGrid, writeAsciiGrid)

export(readGPS)

export(sp2WB, sp2tmap, sp2Mondrian)

export(gzAzimuth, trackAzimuth)

export(MapGen2SL, ArcObj2SLDF, ContourLines2SLDF, pal2SpatialPolygons)

exportClass(ppp, im)

exportMethods("crepuscule", "sunriset", "solarnoon", "solarpos")

export(SpatialPolygons2PolySet, SpatialLines2PolySet, PolySet2SpatialPolygons, PolySet2SpatialLines, map2SpatialPolygons, map2SpatialLines, pruneMap)

export(as.ppp.SpatialPoints, as.ppp.SpatialPointsDataFrame, as.SpatialPoints.ppp, as.SpatialPointsDataFrame.ppp, as.SpatialGridDataFrame.ppp)
export(as.owin.SpatialGridDataFrame, as.owin.SpatialPixelsDataFrame, as.owin.SpatialPolygons, as.SpatialGridDataFrame.im, as.im.SpatialGridDataFrame)

export(unionSpatialPolygons, nowrapSpatialPolygons, nowrapRecenter, checkPolygonsHoles)

export(Rgshhs)

exportMethods(coerce, spCbind, spRbind, spChFIDs)
exportMethods(elide)

export(GE_SpatialGrid, kmlOverlay)

export(pointLabel, gcDestination)

S3method(plot, Map)
S3method(plot, polylist)
S3method(subset, polylist)
S3method(print, shapehead)
#S3method(as.ppp, SpatialPoints)
#S3method(as.ppp, SpatialPointsDataFrame)
#S3method(as.owin, SpatialGridDataFrame)
#S3method(as.owin, SpatialPixelsDataFrame)
#S3method(as.owin, SpatialPolygons)
#S3method(as.SpatialPoints, ppp)
#S3method(as.SpatialPointsDataFrame, ppp)
#S3method(as.SpatialGridDataFrame, ppp)
#S3method(as.SpatialGridDataFrame, im)



