Tag Info

1 vote

Create a sf from bounding box coordinates (and compare to another sf) in R

The easiest way from two corner points in a vector to a polygon is to name the elements and then make a bbox and make an sfc: > bbox_coords <- c(-7.84000, 49.68000, -6.52750, 51.10625) > ...
• 65.5k

Create a sf from bounding box coordinates (and compare to another sf) in R

Since you are entering bounding box as defined by Longitude and Latitude (which is perfectly fine approach) consider converting it to a polygon within context of EPSG:4326 CRS (and not the British ...
• 1,145

How to calculate Night Flight time for a given flight between 2 locations?

I have one simpler solution for this problem. However it only works considering that there was only one sunrise or sunset. First plot an x an y graphic. The x will be the time in hours (or minutes if ...

Rounding vertices of polygon to fixed number of decimal places in QGIS

You can use the "Snap points to grid" (native:snappointstogrid) processing algorithm https://docs.qgis.org/3.34/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html#snap-points-to-...
• 1,717
Accepted

Rounding vertices of polygon to fixed number of decimal places in QGIS

THIS WILL OVERWRITE YOUR DATA (MAKE A COPY) That's easy: Open Field Calculator. Insert this code: geom_from_wkt(geom_to_wkt(@geometry, 0)) Replace 0 with precision you need. Check box Update existing ...
• 7,476