Displaying 20 results from an estimated 1000 matches similar to: "Convert poly line to polygon in R"
2017 Nov 13
0
Convert poly line to polygon in R
Might want to post this on R-sig-geo.
Might also want to post in plain text format... see below how your message got messed up coming through the mailing list.
-- 
Sent from my phone. Please excuse my brevity.
On November 12, 2017 9:58:56 PM PST, Javad Bayat via R-help <r-help at r-project.org> wrote:
>I have a shape file as poly line and I want to convert it to polygon.Is
>it
2008 Aug 19
4
converting coordinates from utm to longitude / latitude
Hi,
is there a function in R to convert data read with read.shape and which is originally in UTM coordinates into longitude / latitude coordinates?
I found the convUL() function from the PBSmapping package but I have no idea how I could apply that to the read.shape object.
Many thanks,
  Werner
__________________________________________________
Do
sragenden Schutz gegen Massenmails. 
2023 Dec 06
2
Volume of polygon
Dear all;
I am trying to calculate the volume of a polygon shapefile according to a
DEM raster. I have provided some codes at the end of this email.I dont know
if the codes are correct or not. Following this, I have another question
too.
I want to know if the volume of the reservoir rises or doubles, what would
be the elevation?
I would be more than happy if anyone could help me.
Sincerely
"
2023 Dec 06
2
Volume of polygon
The volume of a polygon  = 0.  Polyhedra  have volumes.
This may be irrelevant, but if the lake is cylindrical == constant cross
sectional area at all depths, then height doubles when the volume does and
vice versa.  Otherwise you have to know how area varies with height or use
more sensible approximations thereto.
Cheers,
Bert
On Tue, Dec 5, 2023, 20:13 javad bayat <j.bayat194 at
2023 Dec 06
1
Volume of polygon
Hi,
As already mentioned, this is a great topic for R-sig-geo, where you'd
probably get specialist answers like the lake morphology package
https://cran.r-project.org/web/packages/lakemorpho/index.html which is
explicitly designed for this kind of question.
Sarah
On Tue, Dec 5, 2023 at 11:13?PM javad bayat <j.bayat194 at gmail.com> wrote:
>
>  Dear all;
> I am trying to
2012 Jun 05
2
Converiting longitude/latitude to utm
Dear all,
I have been trying to convert coordinates from longitude/latitude to utm
but I got an error. As soon as the longitude coordinate is greater than 90,
I get the folloowing error message:  "error in pj_transform: latitude or
longitude exceeded limits"
Here is what I did:
 SP<-SpatialPoints(cbind(126.59,-14.30),proj4string=CRS("+proj=longlat"))
2012 Oct 18
1
spTransform longlat to utm
Dear all,
I am trying to project my LongLat-maps to a plane. 
The ultimate purpose is to do a search of points in vicinity of other points using overlay-commands (sp) with radius in km.
I am applying spTransform (package rgdal) and it gives my some curious results.
An example.
Let's take a point lying somewhere in Germany, zone=32U
x <- 8.968735
y <- 49.454735
After conversion I
2008 Jul 15
1
code reduction (if anyone feels like it)
# I am sure that I could be more efficient than this but how?  Thanks in
advance.
#GPS in Decimal Degrees in the form longitude latitude
RM215 <- matrix(c(-82.1461363, 33.5959109), nrow=1)
SC <- matrix(c(-82.025888, 33.606454), nrow=1)
RM202 <- matrix(c(-81.9906723, 33.5027653), nrow=1)
RM198 <- matrix(c(-81.926823, 33.4634678), nrow=1)
HC <- matrix(c(-81.920505, 33.46192), nrow=1)
2024 Jun 24
3
Converting .grib to excel file
Dear all;
I have downloaded meteorology data from "
https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels?tab=form"
as .grib format. It has hourly data of a complete year (every hour of every
day of 12 months) and has 6 meteorology parameters. The file has been
attached.
I am trying to convert it to an excel file that puts every parameter in a
separated column.
2024 Jun 25
2
Converting .grib to excel file
Richard,
Many thanks for your email.
I had attached the grib file to the original email to R help team but it
seems you did not receive it.
Unfortunately, I do not know how to reduce the volume or extract some of
the grib file data to send it for you. The file has the volume of 6
Megabyte.
I can send it by email.
The file has 6 met parameters and Date (day/month/year hour:minute).
I want the
2024 Jun 25
1
Converting .grib to excel file
Dear Bert and Sara;
I have searched on the internet and found some way to do this like python.
But python is so complicated to me as it needs many steps to be done for
reading and converting it.
I will try terra package to convert it.
On Tue, 25 Jun 2024, 15:15 javad bayat, <j.bayat194 at gmail.com> wrote:
> Richard,
> Many thanks for your email.
> I had attached the grib file to
2012 Oct 19
3
saving to docx
hi all,
how can i saving R output to docx or Jpeg format?
	[[alternative HTML version deleted]]
2023 Jun 11
2
Problem with filling dataframe's column
Dear R users;
I am trying to fill a column based on a specific value in another column of
a dataframe, but it seems there is a problem with the codes!
The "Layer" and the "LU" are two different columns of the dataframe.
How can I fix this?
Sincerely
for (i in 1:nrow(data2$Layer)){
          if (data2$Layer == "Level 12") {
              data2$LU == "Park"
2020 Feb 19
2
Pregunta sobre rLandsat
Hola grupo, estoy siguiendo una gu?a de la librer?a rLandsat que me la he descargado de:
devtools::install_github("socialcopsdev/rLandsat")
Y tras hacer los siguiente (obviamente tengo me he registrado previamente en la api correspondiente):
product_id = c("LC08_L1TP_145049_20180301_20180308_01_T1",
               "LC08_L1TP_145049_20170330_20170414_01_T1",
       
2024 Apr 10
1
Question regarding reservoir volume and water level
Dear all;
Thank you for your reply.
David has explained an interesting method.
David I have DEM file of the region and I have extracted the xyz data from
that.
Also I can extract bathymetry data as xyz file.
I have calculated the storage (volume) of reservoir at the current
elevation.
But the method I have used to calculate the volume is different from your
method. I have crop DEM by the reservoir
2024 Sep 26
1
Problem with converting grib file to excel
Dear Roy,
Sorry for my mistake, I thought I have uploaded the grib file.
I really apologise for that. I will send it   on Saturday.
Thank you very much.
On Thu, 26 Sept 2024, 17:40 Roy Mendelssohn - NOAA Federal, <
roy.mendelssohn at noaa.gov> wrote:
> Hi Javad:
>
> I know a lot about reading GRIB files,  I work with them all the time.
> But if you don?t make the file
2024 Oct 30
2
Extracting wind direction and wind speed from wind rose plot
Dear all;
I am searching for a way to extract wind direction and speed from a wind
rose plot. I have a graph and I want to make a dataframe of 5 years with
hourly intervals.
> start_date <- as.POSIXct("2019-01-01 00:00:00")
> end_date <- as.POSIXct("2023-12-31 23:00:00")
> time_sequence <- seq(from = start_date, to = end_date, by = "hour")
> df
2024 Sep 26
1
Problem with converting grib file to excel
Attachments CAN NOT be sent to group
On Thu, 26 Sep 2024, 21:22 javad bayat, <j.bayat194 at gmail.com> wrote:
> Dear Roy,
> Sorry for my mistake, I thought I have uploaded the grib file.
> I really apologise for that. I will send it   on Saturday.
> Thank you very much.
>
> On Thu, 26 Sept 2024, 17:40 Roy Mendelssohn - NOAA Federal, <
> roy.mendelssohn at
2024 Jun 26
1
Converting .grib to excel file
I'm now inclined to go with 'search for "convert GRIB to CSV".
https://confluence.ecmwf.int/display/CKB/How+to+convert+GRIB+to+CSV
is the first line.  I know that's not an R solution, but using software
specifically developed for encoding, decoding, extracting, &c GRIB file by the
European Centre for Medium-Range Weather Forecasts and actively
maintained, with an example
2009 Jul 01
1
Map projections - converting latitude/longitude to eastings and northings
I am trying to set up a Grass project and need to set up the region so
that I can view the map.  I can look at a map and find the lat/lon,
but the map projection is in UTM NAD38 WGS84 and I need to set the
eastings and northings.  Is there a package that will help me
calculate this in R.
thanks
-- 
Stephen Sefick
Let's not spend our time and resources thinking about things that are
so little