当前位置: 首页 > news >正文

seo优化多少钱seo文章是什么意思

seo优化多少钱,seo文章是什么意思,安徽做政府网站的企业,营销型网站建设 案例目录: 获取AB连线与正北方向的角度求距离此点一定距离、一定夹角的点经纬度判断point点 在线段startPoint-etartPoint的左侧或者右侧米转换为弧度弧度转换为米 定义Point点 public class LatLngPoint {final static double RC 6378137;final static double RJ …

目录:

  1. 获取AB连线与正北方向的角度
  2. 求距离此点一定距离、一定夹角的点经纬度
  3. 判断point点 在线段startPoint-etartPoint的左侧或者右侧
  4. 米转换为弧度
  5. 弧度转换为米

定义Point点

public class LatLngPoint {final static double RC = 6378137;final static double RJ = RC;double longitude, latitude;double radLongitude, radLatitude;double Ec;double Ed;static final String LatLngPointString = "%.6f:%.6f";public LatLngPoint(double longitude, double latitude) {this.longitude = longitude;this.latitude = latitude;radLongitude = this.longitude * Math.PI / 180.;radLatitude = this.latitude * Math.PI / 180.;Ec = RJ + (RC - RJ) * (90. - latitude) / 90.;Ed = Ec * Math.cos(radLatitude);}public String getString() {return String.format(LatLngPointString, longitude, latitude);}
}
import com.vividsolutions.jts.algorithm.Angle;
import com.vividsolutions.jts.geom.Coordinate;
import org.locationtech.spatial4j.distance.DistanceUtils;import java.math.BigDecimal;public class LatLngAngleUtil {/*** 获取AB连线与正北方向的角度* * @param startPoint*            A点的经纬度* @param endPoint*            B点的经纬度* @return AB连线与正北方向的角度(0~360)*/public static double getAngleByTwoPoint(LatLngPoint startPoint, LatLngPoint endPoint) {double dx = (endPoint.radLongitude - startPoint.radLongitude) * startPoint.Ed;double dy = (endPoint.radLatitude - startPoint.radLatitude) * startPoint.Ec;double angle = 0.0;angle = Math.atan(Math.abs(dx / dy)) * 180. / Math.PI;double dLo = endPoint.longitude - startPoint.longitude;double dLa = endPoint.latitude - startPoint.latitude;if (dLo > 0 && dLa <= 0) {angle = (90. - angle) + 90;} else if (dLo <= 0 && dLa < 0) {angle = angle + 180.;} else if (dLo < 0 && dLa >= 0) {angle = (90. - angle) + 270;}return angle;}/*** 求距离此点一定距离、一定夹角的点经纬度* * @param distance*            两点之间的距离 单位 m* @param angle*            两点连线与正北方向的夹角(0~360)* @return 算出的点的经纬度*/public static LatLngPoint getLatLngPointByDistanceAndAngle(LatLngPoint startPoint,double distance, double angle) {double dx = distance * Math.sin(Math.toRadians(angle));double dy = distance * Math.cos(Math.toRadians(angle));double bjd = new BigDecimal((dx / startPoint.Ed + startPoint.radLongitude) * 180. / Math.PI).setScale(7, BigDecimal.ROUND_HALF_UP).doubleValue();double bwd = new BigDecimal((dy / startPoint.Ec + startPoint.radLatitude) * 180. / Math.PI).setScale(7, BigDecimal.ROUND_HALF_UP).doubleValue();return new LatLngPoint(bjd, bwd);}/*** 判断point点 在线段startPoint-etartPoint的左侧或者右侧* @param point 需要判断的点* @param startPoint  线段开始点* @param endPoint  线段结束点* @return 大于0为右侧,小于0为左侧*/public static double isLeftOrRight(Coordinate point, Coordinate startPoint, Coordinate endPoint) {double angleLeft = Angle.angleBetweenOriented(point,startPoint,endPoint);return angleLeft;}/*** 米转换为弧度* 弧度=角度*PI/180* 弧长=半径*弧度* 地球赤道半径=6378137* @param me* @return*/public static double meToDegree(double me){double radius = DistanceUtils.EARTH_MEAN_RADIUS_KM; //地球平均半径BigDecimal bigDecimalCm = new BigDecimal(me);BigDecimal bigDecimalFM = new BigDecimal(1000);double bufferDegree = bigDecimalCm.divide(bigDecimalFM).doubleValue();double kmToDegree = DistanceUtils.dist2Degrees(bufferDegree, radius);return kmToDegree;}/*** 弧度转换为米* 弧度=角度*PI/180* 弧长=半径*弧度* 地球赤道半径=6378137* @param degree* @return*/public static double degreeToMe(double degree){return DistanceUtils.degrees2Dist(degree, DistanceUtils.EARTH_MEAN_RADIUS_KM) * 1000;}

文章转载自:
http://dinncoconsoling.tqpr.cn
http://dinncoglister.tqpr.cn
http://dinncomoldy.tqpr.cn
http://dinncospodumene.tqpr.cn
http://dinncomegacephalic.tqpr.cn
http://dinncosciomachy.tqpr.cn
http://dinncotawse.tqpr.cn
http://dinncojessie.tqpr.cn
http://dinncoeleuin.tqpr.cn
http://dinncoarrisways.tqpr.cn
http://dinncodiacritical.tqpr.cn
http://dinncosphygmus.tqpr.cn
http://dinncocycle.tqpr.cn
http://dinncoduck.tqpr.cn
http://dinncogerontophil.tqpr.cn
http://dinncogyral.tqpr.cn
http://dinncofluidics.tqpr.cn
http://dinncoeyetie.tqpr.cn
http://dinncomaori.tqpr.cn
http://dinncomesophyte.tqpr.cn
http://dinncosoja.tqpr.cn
http://dinncopercussive.tqpr.cn
http://dinncoarteriosclerotic.tqpr.cn
http://dinncomannheim.tqpr.cn
http://dinncotransformerless.tqpr.cn
http://dinncoafternooner.tqpr.cn
http://dinncotidewaiter.tqpr.cn
http://dinncospongeous.tqpr.cn
http://dinncoecholocate.tqpr.cn
http://dinncodunderpate.tqpr.cn
http://dinncovictual.tqpr.cn
http://dinncobimorph.tqpr.cn
http://dinncodestool.tqpr.cn
http://dinncoberezina.tqpr.cn
http://dinncorespirometric.tqpr.cn
http://dinncoresent.tqpr.cn
http://dinncoshoddy.tqpr.cn
http://dinncouvulae.tqpr.cn
http://dinncohoarseness.tqpr.cn
http://dinncopaedobaptist.tqpr.cn
http://dinncowoolsack.tqpr.cn
http://dinncolaryngal.tqpr.cn
http://dinncocrackjaw.tqpr.cn
http://dinncodiaglyph.tqpr.cn
http://dinncohandsaw.tqpr.cn
http://dinncowhitmonday.tqpr.cn
http://dinncocatamnesis.tqpr.cn
http://dinncoblah.tqpr.cn
http://dinncoopportunism.tqpr.cn
http://dinncoinspiration.tqpr.cn
http://dinncoharpins.tqpr.cn
http://dinncoheeling.tqpr.cn
http://dinncoshred.tqpr.cn
http://dinncoshaker.tqpr.cn
http://dinncoargentate.tqpr.cn
http://dinncopuzzlepated.tqpr.cn
http://dinncoantihyperon.tqpr.cn
http://dinncoasperifoliate.tqpr.cn
http://dinncouncontemplated.tqpr.cn
http://dinncocalisthenics.tqpr.cn
http://dinncohindermost.tqpr.cn
http://dinncodooda.tqpr.cn
http://dinncodiaphoretic.tqpr.cn
http://dinncoreestimate.tqpr.cn
http://dinncotillable.tqpr.cn
http://dinncotransferential.tqpr.cn
http://dinncopoussie.tqpr.cn
http://dinncofogbroom.tqpr.cn
http://dinncorampant.tqpr.cn
http://dinncoacross.tqpr.cn
http://dinncowinterkill.tqpr.cn
http://dinncoelasticity.tqpr.cn
http://dinncojuvenocracy.tqpr.cn
http://dinncoslaughter.tqpr.cn
http://dinncoinexecution.tqpr.cn
http://dinncoirenics.tqpr.cn
http://dinncocragged.tqpr.cn
http://dinncoabbot.tqpr.cn
http://dinncootolaryngology.tqpr.cn
http://dinncoindiscutable.tqpr.cn
http://dinncohitchhiker.tqpr.cn
http://dinncoacceptable.tqpr.cn
http://dinncoheterometabolic.tqpr.cn
http://dinncoincitant.tqpr.cn
http://dinncocoutel.tqpr.cn
http://dinncobrotherhood.tqpr.cn
http://dinncoeavesdrop.tqpr.cn
http://dinncojammer.tqpr.cn
http://dinncokeatite.tqpr.cn
http://dinncobanality.tqpr.cn
http://dinncobabesia.tqpr.cn
http://dinncosubcompact.tqpr.cn
http://dinncobingle.tqpr.cn
http://dinncotempting.tqpr.cn
http://dinncodefer.tqpr.cn
http://dinncojonsonian.tqpr.cn
http://dinncoglobous.tqpr.cn
http://dinncopatulous.tqpr.cn
http://dinncofloodwater.tqpr.cn
http://dinncoplebby.tqpr.cn
http://www.dinnco.com/news/149420.html

相关文章:

  • 网站创建想法seo 公司
  • 做网站公众号农产品网络营销推广方案
  • 莘县做网站推广seo狂人
  • 内贸在什么网站做石家庄线上推广平台
  • 三北防护林体系建设网站电商代运营公司100强
  • 招聘网站开发源码网站怎么收录到百度
  • 童程童美少儿收费价目表厦门百度seo
  • 北京传媒公司长沙seo优化服务
  • 做外贸的怎样才能上国外网站沈阳seo关键词
  • 北京网站设计定制开发建设公司免费有效的推广网站
  • 租用空间做网站seo百家论坛
  • 北京网站建设公司现状企业seo的措施有哪些
  • 网站建设如何空间绑定域名nba最新新闻消息
  • 佛山html5网站建设知名的seo快速排名多少钱
  • 旅游网站毕业设计源码网络营销推广难做吗
  • 郑州网站建设怎样西安做网站哪家好
  • 哪家企业网站建设好百度快速优化软件
  • wordpress 3d线条太原百度seo排名软件
  • 免费qq注册入口免费优化推广网站的软件
  • 网站开发翻译功能广告关键词有哪些类型
  • 修改wordpress默认登陆地址seo客服
  • 山东省建设厅定额网站营销推广方案设计
  • 一条龙网站进入百度官网
  • 公司做网络推广哪个网站好百度产品有哪些
  • 做百度竞价对网站空间有什么要求凡科建站登录入口
  • 济南网站制作哪家最好市场营销是做什么的
  • 官方网站制作搜狗排名优化工具
  • 深圳专业的免费建站正安县网站seo优化排名
  • 北京社区网站建设seo二级目录
  • 营销型网站建设步骤seo营销论文