Rotating ortho-satellite imagery so that square polygon perpendicular to the viewer The Next CEO of Stack OverflowHow to decrease GeoTIFF file size by eliminating or negating the blackfill?ST_NumInteriorRings not returns zero, is a bug?Rotate Polygon to be Parallel with the X AxisHow to transform any GeoTIFF to Lambert Azimuthal Equal Area with GDAL?How do I select polygons that overlap by a specified percentage of overlap?Need unique id and to select for polygons by size after ST_Dump, ST_IntersectionCut, rotate and interpolate raster heightmap with QGISConvert N-sided polygon to nearest fitting rectangle?Using --config flag with the Python GDAL gdal.Translate()GDAL: Using gdallocationinfo on a rotated SAR image to get pixel value at Coordinates
Percent Dissociated from Titration Curve
Does the direction of correlation matter for Instrumental Variable?
Trying to insert a background image via TikZ results in extra white-space around the corners
Fastest algorithm to decide whether a (always halting) TM accepts a general string
Is the offspring between a demon and a celestial possible? If so what is it called and is it in a book somewhere?
Small nick on power cord from an electric alarm clock, and copper wiring exposed but intact
What steps are necessary to read a Modern SSD in Medieval Europe?
Is it okay to majorly distort historical facts while writing a fiction story?
Salesforce opportunity stages
How exploitable/balanced is this homebrew spell: Spell Permenancy?
How can a day be of 24 hours?
How does a dynamic QR code work?
forward revert message from low level solidity call
Why did Batya get tzaraat?
What does this strange code stamp on my passport mean?
The sum of any ten consecutive numbers from a fibonacci sequence is divisible by 11
Cardinal characteristics of amorphous sets
Avoiding the "not like other girls" trope?
What is the difference between 'contrib' and 'non-free' packages repositories?
DISTINCT column combination with permutations
How seriously should I take size and weight limits of hand luggage?
Traveling with my 5 year old daughter (as the father) without the mother from Germany to Mexico
How can the PCs determine if an item is a phylactery?
How do I secure a TV wall mount?
Rotating ortho-satellite imagery so that square polygon perpendicular to the viewer
The Next CEO of Stack OverflowHow to decrease GeoTIFF file size by eliminating or negating the blackfill?ST_NumInteriorRings not returns zero, is a bug?Rotate Polygon to be Parallel with the X AxisHow to transform any GeoTIFF to Lambert Azimuthal Equal Area with GDAL?How do I select polygons that overlap by a specified percentage of overlap?Need unique id and to select for polygons by size after ST_Dump, ST_IntersectionCut, rotate and interpolate raster heightmap with QGISConvert N-sided polygon to nearest fitting rectangle?Using --config flag with the Python GDAL gdal.Translate()GDAL: Using gdallocationinfo on a rotated SAR image to get pixel value at Coordinates
I'm trying to figure out how to rotate this satellite geotiff so that the rooftop polygon would appear as square as possible to the viewer rather than a diamond shape. See example below.
How to calculate the angle that the polygon and the image should be rotated to appear squarish? And how to rotate the geotiff by that amount (using gdal say)?
I've tried measuring the angles on the polygon with ST_Dump and ST_Angle but that returns nulls. I tried ST_Azimuth which returns values, but I don't understand how to use this information to solve my problem.
Example:
POLYGON((-104.947919 39.530436,-104.948051 39.530497,-104.948127 39.530398,-104.947995 39.530337,-104.947919 39.530436))


postgis gdal orthophoto
add a comment |
I'm trying to figure out how to rotate this satellite geotiff so that the rooftop polygon would appear as square as possible to the viewer rather than a diamond shape. See example below.
How to calculate the angle that the polygon and the image should be rotated to appear squarish? And how to rotate the geotiff by that amount (using gdal say)?
I've tried measuring the angles on the polygon with ST_Dump and ST_Angle but that returns nulls. I tried ST_Azimuth which returns values, but I don't understand how to use this information to solve my problem.
Example:
POLYGON((-104.947919 39.530436,-104.948051 39.530497,-104.948127 39.530398,-104.947995 39.530337,-104.947919 39.530436))


postgis gdal orthophoto
add a comment |
I'm trying to figure out how to rotate this satellite geotiff so that the rooftop polygon would appear as square as possible to the viewer rather than a diamond shape. See example below.
How to calculate the angle that the polygon and the image should be rotated to appear squarish? And how to rotate the geotiff by that amount (using gdal say)?
I've tried measuring the angles on the polygon with ST_Dump and ST_Angle but that returns nulls. I tried ST_Azimuth which returns values, but I don't understand how to use this information to solve my problem.
Example:
POLYGON((-104.947919 39.530436,-104.948051 39.530497,-104.948127 39.530398,-104.947995 39.530337,-104.947919 39.530436))


postgis gdal orthophoto
I'm trying to figure out how to rotate this satellite geotiff so that the rooftop polygon would appear as square as possible to the viewer rather than a diamond shape. See example below.
How to calculate the angle that the polygon and the image should be rotated to appear squarish? And how to rotate the geotiff by that amount (using gdal say)?
I've tried measuring the angles on the polygon with ST_Dump and ST_Angle but that returns nulls. I tried ST_Azimuth which returns values, but I don't understand how to use this information to solve my problem.
Example:
POLYGON((-104.947919 39.530436,-104.948051 39.530497,-104.948127 39.530398,-104.947995 39.530337,-104.947919 39.530436))


postgis gdal orthophoto
postgis gdal orthophoto
edited yesterday
metalaureate
asked 2 days ago
metalaureatemetalaureate
1366
1366
add a comment |
add a comment |
0
active
oldest
votes
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "79"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f317233%2frotating-ortho-satellite-imagery-so-that-square-polygon-perpendicular-to-the-vie%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f317233%2frotating-ortho-satellite-imagery-so-that-square-polygon-perpendicular-to-the-vie%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
