Skip to content
Prev 1040 / 29559 Next

problems loading spproj library for transform()

On Thu, 25 May 2006 karl.sommer at dpi.vic.gov.au wrote:

            
Th spplot() methods use lattice graphics, so I am not confident that you 
can validly overplot. Can you try first with base graphics, possibly using 
xlim= and ylim= to zoom in and locator() to check coordinates? 

Shapefiles do not themselves have projection information, it is in a 
separate *.prj file. If you don't have one, you may need to establish it 
yourself. It is not used for plotting Spatial* objects beyond 
conditionally stretching the y axis aspect when is.projected() is TRUE. If 
the objects have been created by spTransform(), the projection information 
has been set, and can be accessed by proj4string().

Roger