Thank you very much Alexandre.

Best,

Manuel

On 05/11/2010 05:58 a.m., Alexandre dos Santos wrote:
> Dr.Manuel Spimnola,
>
>       For create SpatialPoints in shapfile format with
> SpatialPointsDataFrame, I use de arguments below,
>
> require(sp)
>       pontos<-data.frame(p_internos)
>       head(pontos)
>       class(pontos)
>       dim(pontos)
>       coordinates(pontos)<- c("N_S","L_O")
>       class(pontos)
>       dim(pontos)
>       getSlots("SpatialPointsDataFrame")
>       slot(pontos, "bbox")
> require(maptools)
> writePointsShape(pontos,"AMOSTRAGEM", factor2char = TRUE, max_nchar=254)
> readShapePoints("AMOSTRAGEM", proj4string = CRS(as.character(NA)),verbose =
> FALSE,repair=FALSE)
>
>
> I will expected help you,
> Best regards,
>
> Alexandre dos Santos
> Engenheiro Florestal, Msc.
> Doutorando em Entomologia
> Manejo Integrado de Pragas Florestais
> Universidade Federal de Lavras
> Departamento de Entomologia
> Caixa Postal 3037
> 37200-000 - Lavras - MG - Brasil
> Telefones: +55(35)3829-5122/+55(35)9182-0709
>
>
>
>
>
>
>
> -----Mensagem original-----
> De: r-sig-geo-boun...@stat.math.ethz.ch
> [mailto:r-sig-geo-boun...@stat.math.ethz.ch] Em nome de
> r-sig-geo-requ...@stat.math.ethz.ch
> Enviada em: sexta-feira, 5 de novembro de 2010 09:00
> Para: r-sig-geo@stat.math.ethz.ch
> Assunto: R-sig-Geo Digest, Vol 87, Issue 5
>
> Send R-sig-Geo mailing list submissions to
>       r-sig-geo@stat.math.ethz.ch
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> or, via email, send a message with subject or body 'help' to
>       r-sig-geo-requ...@stat.math.ethz.ch
>
> You can reach the person managing the list at
>       r-sig-geo-ow...@stat.math.ethz.ch
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of R-sig-Geo digest..."
>
>
> Today's Topics:
>
>     1. how to dismiss points outside of my area of interest in        a
>        raster (Manuel Sp?nola)
>     2. [R-sig-geo]: Plot spatial data with spplot and maps (pelt)
>     3. Re: [R-sig-geo]: Plot spatial data with spplot and maps
>        (Karl Ove Hufthammer)
>     4. raster package and predict for GBM models (Michael ODonnell)
>     5. Re: how to dismiss points outside of my area of interest in a
>        raster (Robert J. Hijmans)
>     6. Re: raster package and predict for GBM models (Robert J. Hijmans)
>     7. Re: how to dismiss points outside of my area of interest in a
>        raster (Manuel Sp?nola)
>     8. Convert from spatialpointsdataframe to spatialpoints
>        (Manuel Sp?nola)
>     9. Re: Convert from spatialpointsdataframe to spatialpoints
>        (Robert J. Hijmans)
>    10. Re: Convert from spatialpointsdataframe to spatialpoints
>        (Manuel Sp?nola)
>    11. Re: Convert from spatialpointsdataframe to spatialpoints
>        (Robert J. Hijmans)
>    12. plotting time series for particular months! (govin...@msu.edu)
>    13. Re: raster package and predict for GBM models (Michael ODonnell)
>    14. Re: plotting time series for particular months! (steven mosher)
>    15. Re: Convert from spatialpointsdataframe to spatialpoints
>        (Manuel Sp?nola)
>    16. Re: plotting time series for particular months! (govin...@msu.edu)
>    17. Re: plotting time series for particular months! (steven mosher)
>    18. rgdal, multiband CCITT compression (Oliver Soong)
>    19. Re: rgdal, multiband CCITT compression (Michael Sumner)
>    20. Is there a function for counting polygons within a
>        multi-polygon SpatialPolygonDataFrame class (Craig Mundy)
>    21. Re: rgdal, multiband CCITT compression (Oliver Soong)
>    22. Re: rgdal, multiband CCITT compression (Michael Sumner)
>    23. Re: rgdal, multiband CCITT compression (Michael Sumner)
>    24. Re: Is there a function for counting polygons within a
>        multi-polygon SpatialPolygonDataFrame class (Michael Sumner)
>    25. Re: rgdal, multiband CCITT compression (Oliver Soong)
>    26. Defining Holes Inside a Polygon (Rodrigo Aluizio)
>    27. Re: Defining Holes Inside a Polygon (Roger Bivand)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 04 Nov 2010 06:43:58 -0600
> From: Manuel Sp?nola<mspinol...@gmail.com>
> To: r-sig-geo@stat.math.ethz.ch
> Subject: [R-sig-Geo] how to dismiss points outside of my area of
>       interest in     a raster
> Message-ID:<4cd2aa8e.7090...@gmail.com>
> Content-Type: text/plain
>
> Dear list members,
>
> How can eliminate or dismiss points that do not "touch" my raster file?
> This mean those points that are outside of the raster area.
> When I have my plot of the rester and I draw the points:
>
> points (villages)
>
> some of them are outside of the raster not because an error but just
> because the point file is bigger in extent than the raster.
>
> Thank you very much in advance.
> Best,
>
> Manuel
>
>


-- 
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.ac.cr
mspinol...@gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036
Personal website: Lobito de río 
<https://sites.google.com/site/lobitoderio/>
Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to