久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    • <bdo id='FPBcc'></bdo><ul id='FPBcc'></ul>

      <tfoot id='FPBcc'></tfoot>
      <i id='FPBcc'><tr id='FPBcc'><dt id='FPBcc'><q id='FPBcc'><span id='FPBcc'><b id='FPBcc'><form id='FPBcc'><ins id='FPBcc'></ins><ul id='FPBcc'></ul><sub id='FPBcc'></sub></form><legend id='FPBcc'></legend><bdo id='FPBcc'><pre id='FPBcc'><center id='FPBcc'></center></pre></bdo></b><th id='FPBcc'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='FPBcc'><tfoot id='FPBcc'></tfoot><dl id='FPBcc'><fieldset id='FPBcc'></fieldset></dl></div>
    1. <legend id='FPBcc'><style id='FPBcc'><dir id='FPBcc'><q id='FPBcc'></q></dir></style></legend>
      1. <small id='FPBcc'></small><noframes id='FPBcc'>

        當多邊形的點是經緯度時,如何計算MySQL數據庫中

        How Do I Calculate the Area of a Polygon in a MySQL Database When the Polygon#39;s Points are Lat Longs?(當多邊形的點是經緯度時,如何計算MySQL數據庫中多邊形的面積?)

      2. <i id='GhOLw'><tr id='GhOLw'><dt id='GhOLw'><q id='GhOLw'><span id='GhOLw'><b id='GhOLw'><form id='GhOLw'><ins id='GhOLw'></ins><ul id='GhOLw'></ul><sub id='GhOLw'></sub></form><legend id='GhOLw'></legend><bdo id='GhOLw'><pre id='GhOLw'><center id='GhOLw'></center></pre></bdo></b><th id='GhOLw'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='GhOLw'><tfoot id='GhOLw'></tfoot><dl id='GhOLw'><fieldset id='GhOLw'></fieldset></dl></div>
          • <bdo id='GhOLw'></bdo><ul id='GhOLw'></ul>
          • <small id='GhOLw'></small><noframes id='GhOLw'>

          • <tfoot id='GhOLw'></tfoot>
          • <legend id='GhOLw'><style id='GhOLw'><dir id='GhOLw'><q id='GhOLw'></q></dir></style></legend>

                    <tbody id='GhOLw'></tbody>
                  本文介紹了當多邊形的點是經緯度時,如何計算MySQL數據庫中多邊形的面積?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  如何計算存儲在 MySql 數據庫中的多邊形的面積?多邊形的點是經緯度.所以,度數和分鐘數似乎造成了問題.

                  How do I calculate the area of a polygon stored in a MySql database? The polygons' points are lat longs. So, degrees and minutes seem to be causing a problem.

                  我試過了:

                  SELECT AREA( my_polygon ) 
                  FROM  `my_table` 
                  WHERE name =  'Newport'
                  

                  因為點是經緯度,我得到了奇怪的結果.

                  Because, the points are lat longs, I get weird results.

                  (我無法切換到 Postgre).有沒有辦法在 MySQL 中做到這一點?我想以平方米或平方公里或平方英里為單位得到結果——這些都可以.

                  (I'm not able to switch to Postgre). Is there a way to do this in MySQL? I'd like to get the results in sq. meters or sq. km or sq. miles-- any of these would be fine.

                  推薦答案

                  您必須將這些緯度和經度轉換為更合適的坐標系.

                  You've got to transform those lats and lons into a more appropriate coordinate system.

                  由于地球是一個球體,所以您指的是在球坐標系中計算面積.

                  Since the earth is a sphere, you're talking about calculating an area in spherical coordinates.

                  文檔說 MySQL "AREA" 函數 將多邊形作為其輸入.我會說,如果你想要像平方英里這樣的面積,你應該將你的緯度/經度坐標轉換為具有正確單位(例如英里)的等效表面 (x, y) 坐標.然后將它們傳遞給 AREA 函數.

                  The docs say that the MySQL "AREA" function takes a polygon as its input. I would say that if you want area as something like square miles you should convert your lat/lon coordinates into equivalent surface (x, y) coordinates with the right units (e.g., miles). Then pass those into the AREA function.

                  此鏈接表明其他人遇到了此問題并已解決.

                  This link suggests that someone else has had this problem and solved it.

                  這篇關于當多邊形的點是經緯度時,如何計算MySQL數據庫中多邊形的面積?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to use windowing functions efficiently to decide next N number of rows based on N number of previous values(如何有效地使用窗口函數根據 N 個先前值來決定接下來的 N 個行)
                  reuse the result of a select expression in the quot;GROUP BYquot; clause?(在“GROUP BY中重用選擇表達式的結果;條款?)
                  Does ignore option of Pyspark DataFrameWriter jdbc function ignore entire transaction or just offending rows?(Pyspark DataFrameWriter jdbc 函數的 ignore 選項是忽略整個事務還是只是有問題的行?) - IT屋-程序員軟件開發技
                  Error while using INSERT INTO table ON DUPLICATE KEY, using a for loop array(使用 INSERT INTO table ON DUPLICATE KEY 時出錯,使用 for 循環數組)
                  pyspark mysql jdbc load An error occurred while calling o23.load No suitable driver(pyspark mysql jdbc load 調用 o23.load 時發生錯誤 沒有合適的驅動程序)
                  How to integrate Apache Spark with MySQL for reading database tables as a spark dataframe?(如何將 Apache Spark 與 MySQL 集成以將數據庫表作為 Spark 數據幀讀取?)

                  <i id='5IYiA'><tr id='5IYiA'><dt id='5IYiA'><q id='5IYiA'><span id='5IYiA'><b id='5IYiA'><form id='5IYiA'><ins id='5IYiA'></ins><ul id='5IYiA'></ul><sub id='5IYiA'></sub></form><legend id='5IYiA'></legend><bdo id='5IYiA'><pre id='5IYiA'><center id='5IYiA'></center></pre></bdo></b><th id='5IYiA'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='5IYiA'><tfoot id='5IYiA'></tfoot><dl id='5IYiA'><fieldset id='5IYiA'></fieldset></dl></div>
                    <legend id='5IYiA'><style id='5IYiA'><dir id='5IYiA'><q id='5IYiA'></q></dir></style></legend>

                        <tbody id='5IYiA'></tbody>
                    • <tfoot id='5IYiA'></tfoot>

                      1. <small id='5IYiA'></small><noframes id='5IYiA'>

                          <bdo id='5IYiA'></bdo><ul id='5IYiA'></ul>

                            主站蜘蛛池模板: 亚洲成人一区二区三区 | 中文字幕综合 | 精品欧美一区二区久久久伦 | 久久精品视频播放 | 天天操夜夜操 | 男女一区二区三区 | 97人人爱 | 国产目拍亚洲精品99久久精品 | hsck成人网 | 中文字幕在线观看一区 | 日韩视频三区 | 欧美成人激情 | 亚洲欧美在线一区 | 国产日韩精品一区 | 亚洲视频中文字幕 | 依人成人 | 欧美中文字幕在线观看 | 天天综合网7799精品 | 色888www视频在线观看 | 国产精品一区二区久久 | 精品国产1区2区3区 在线国产视频 | 精产国产伦理一二三区 | 久久精品色欧美aⅴ一区二区 | 中文字幕在线二区 | av在线播放不卡 | 人人看人人射 | 日日综合| 国产在线一区二 | www.4hu影院 | 国产乱码精品一区二区三区五月婷 | 精品91视频 | 中文字幕1区 | 日韩免费视频一区二区 | 国产精品揄拍一区二区久久国内亚洲精 | 国产精品免费在线 | 精品视频国产 | 亚洲福利| 91精品久久久久久久久久 | 精品亚洲一区二区 | 国产精品一区二区三区在线播放 | 免费a网|