GISer开发 AE 网上大多数见到的都是C#语言写的,闲来无事,研究一下用Java写个AE程序过程,然后用Springboot写个webapi开放出来调用。。(鸡肋,不喜勿喷(*^_^*))。
本人使用的时IDEA + ArcGIS Engine for Java (10.4) , JDK 1.8 (32位,AE环境使用32位,不易出错) ,注意要
修改操作系统环境变量Path,将32位jdk路径,ArcGIS Engine安装bin 路径添加上。(防止报no ntvinv in java.library.path 找不到arcgis)首先用在maven创建一个Springboot工程框架。然后在Project Structure 中导入AE的jar包,
然后在pom.xml中导入AE 包,如下:
<dependency> <groupId>com.esri.arcgis</groupId> <artifactId>arcgis</artifactId> <version>10.4.1</version> <scope>system</scope> <systemPath>${project.basedir}/src/main/resources/arcobjects.jar</systemPath> </dependency>
免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删