AmapJava - Geo Java SDK

高德地图地理编码 Java SDK

License

License

Categories

Categories

Java Languages Geo Business Logic Libraries Geospatial
GroupId

GroupId

com.github.zhangchunsheng
ArtifactId

ArtifactId

amap-java-geo
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

AmapJava - Geo Java SDK
高德地图地理编码 Java SDK

Download amap-java-geo

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.zhangchunsheng/amap-java-geo/ -->
<dependency>
    <groupId>com.github.zhangchunsheng</groupId>
    <artifactId>amap-java-geo</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.zhangchunsheng/amap-java-geo/
implementation 'com.github.zhangchunsheng:amap-java-geo:1.0.2'
// https://jarcasting.com/artifacts/com.github.zhangchunsheng/amap-java-geo/
implementation ("com.github.zhangchunsheng:amap-java-geo:1.0.2")
'com.github.zhangchunsheng:amap-java-geo:jar:1.0.2'
<dependency org="com.github.zhangchunsheng" name="amap-java-geo" rev="1.0.2">
  <artifact name="amap-java-geo" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.zhangchunsheng', module='amap-java-geo', version='1.0.2')
)
libraryDependencies += "com.github.zhangchunsheng" % "amap-java-geo" % "1.0.2"
[com.github.zhangchunsheng/amap-java-geo "1.0.2"]

Dependencies

compile (15)

Group / Artifact Type Version
com.github.zhangchunsheng : amap-java-common jar 1.0.2
org.jodd : jodd-http jar 3.7.1
org.apache.httpcomponents : httpclient jar 4.5
org.apache.httpcomponents : httpmime jar 4.5
org.apache.commons : commons-lang3 jar 3.5
commons-beanutils : commons-beanutils jar 1.9.3
org.bouncycastle : bcpkix-jdk15on jar 1.59
org.slf4j : slf4j-api jar 1.7.24
com.thoughtworks.xstream : xstream jar 1.4.11.1
org.slf4j : jcl-over-slf4j jar 1.7.24
com.google.code.gson : gson jar 2.8.0
commons-codec : commons-codec jar 1.10
commons-io : commons-io jar 2.5
com.google.guava : guava jar 20.0
org.dom4j : dom4j jar 2.1.1

provided (2)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.8
com.squareup.okhttp3 : okhttp jar 3.7.0

test (7)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.1.11
org.testng : testng jar 6.10
org.assertj : assertj-guava jar 3.0.0
com.google.inject : guice jar 3.0
org.mockito : mockito-all jar 1.9.5
org.eclipse.jetty : jetty-server jar 9.4.17.v20190418
org.eclipse.jetty : jetty-servlet jar 9.4.17.v20190418

Project Modules

There are no modules declared in this project.

AmapJava

Amap Java SDK

使用SDK

// spring boot, inject geoService
GeoResult result = this.geoService.geo("北京市朝阳区阜通东大街6号");

maven

Maven 引用方式

<dependency>
    <groupId>com.github.zhangchunsheng</groupId>
    <artifactId>amap-java-geo</artifactId>
    <version>1.0.1</version>
</dependency>
<dependency>
    <groupId>com.github.zhangchunsheng</groupId>
    <artifactId>amap-java-place</artifactId>
    <version>1.0.1</version>
</dependency>

高德geo

{
    "status" : "1",
    "info" : "OK",
    "infocode" : "10000",
    "count" : "1",
    "geocodes" :
    [
        {
        "formatted_address" : "北京市朝阳区阜通东大街|6号",
        "country" : "中国",
        "province" : "北京市",
        "citycode" : "010",
        "city" : "北京市",
        "district" : "朝阳区",
        "township" : [ ],
        "neighborhood" :{},
        "building" :{},
        "adcode" : "110105",
        "street" : "阜通东大街",
        "number" : "6号",
        "location" : "116.483038,39.990633",
        "level" : "门牌号"
        }
    ]
}

捐助 donate

支付宝 微信
com.github.zhangchunsheng

网约车开发者联盟

网约车开发者联盟

Versions

Version
1.0.2
1.0.1
1.0.0