Spatial4J.
Spatial4j is a general purpose spatial / geospatial ASL licensed open-source Java library. It's core capabilities are 3-fold: to provide common geospatially-aware shapes, to provide distance calculations and other math, and to read shapes in WKT format..
Here is the list of declaration for spatial4j. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.spatial4j</groupId> <artifactId>spatial4j</artifactId> <version>0.4.1</version> </dependency>
If you think this Maven repository POM file listing for spatial4j is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:The Apache Software License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.txt.
The spatial4j-0.4.1 has 4 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
JUnit | junit 4.11 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 2031 |
Log | slf4j-simple 1.7.5 SLF4J Simple binding | 47 |
The following table lists the most popular artifacts which are depending on spatial4j-0.4.1. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Web Service | elasticsearch 1.3.4 Elasticsearch - Open Source, Distributed, RESTful Search Engine | 22 |
Web Service | elasticsearch 1.3.0 Elasticsearch - Open Source, Distributed, RESTful Search Engine | 11 |
Web Service | elasticsearch 1.4.0 Elasticsearch - Open Source, Distributed, RESTful Search Engine | 15 |
Web Service | elasticsearch 1.2.1 Elasticsearch - Open Source, Distributed, RESTful Search Engine | 31 |
The following plugins are used in the spatial4j-0.4.1.jar
The following packages are defined in the spatial4j-0.4.1.jar
com.spatial4j.core.context com.spatial4j.core.context.jts com.spatial4j.core.distance com.spatial4j.core.exception com.spatial4j.core.io com.spatial4j.core.io.jts com.spatial4j.core.shape com.spatial4j.core.shape.impl com.spatial4j.core.shape.jts
Here is the content of the POM file.
<!-- ~ Licensed to the Apache Software Foundation (ASF) under one or more ~ contributor license agreements. See the NOTICE file distributed with ~ this work for additional information regarding copyright ownership. ~ The ASF licenses this file to You under the Apache License, Version 2.0 ~ (the "License"); you may not use this file except in compliance with ~ the License. You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> <relativePath /> </parent> <groupId>com.spatial4j</groupId> <artifactId>spatial4j</artifactId> <version>0.4.1</version> <packaging>bundle</packaging> <name>Spatial4J</name> <description> Spatial4j is a general purpose spatial / geospatial ASL licensed open-source Java library. It's core capabilities are 3-fold: to provide common geospatially-aware shapes, to provide distance calculations and other math, and to read shapes in WKT format. </description> <organization> <name>LocationTech</name> <url>http://locationtech.org</url> <!-- membership is pending: http://locationtech.org/proposals/spatial4j --> </organization> <url>https://github.com/spatial4j/spatial4j</url> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <issueManagement> <system>GitHub</system> <url>https://github.com/spatial4j/spatial4j/issues</url> </issueManagement> <ciManagement> <system>Travis-CI</system> <url>https://travis-ci.org/spatial4j/spatial4j</url> </ciManagement> <mailingLists> <mailingList> <name>dev@lists.spatial4j.com</name> <archive>http://spatial4j.16575.x6.nabble.com</archive> <otherArchives> <otherArchive>http://lists.spatial4j.com/pipermail/dev-spatial4j.com/</otherArchive> </otherArchives> <post>dev@lists.spatial4j.com</post> </mailingList> </mailingLists> <!-- <contributors> See for yourself: https://github.com/spatial4j/spatial4j/graphs/contributors </contributors> --> <scm> <connection>scm:git:git@github.com:spatial4j/spatial4j.git</connection> <developerConnection>scm:git:git@github.com:spatial4j/spatial4j.git</developerConnection> <url>https://github.com/spatial4j/spatial4j</url> </scm> <properties> <!-- this magic system property is honored by many plugins: http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <slf4j.version>1.7.5</slf4j.version> </properties> <!-- To check for new plugins and dependencies: mvn org.codehaus.mojo:versions-maven-plugin:2.1:display-plugin-updates display-dependency-updates --> <prerequisites> <maven>2.2.1</maven> </prerequisites> <dependencies> <!-- JTS is essentially only used for polygons. --> <dependency> <groupId>com.vividsolutions</groupId> <artifactId>jts</artifactId> <!-- last I checked, it still works with 1.12 --> <version>1.13</version> <optional>true</optional> <exclusions> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>${slf4j.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.carrotsearch.randomizedtesting</groupId> <artifactId>randomizedtesting-runner</artifactId> <version>2.0.15</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.6</source> <target>1.6</target> <optimize>true</optimize> <showDeprecation>true</showDeprecation> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.16</version> <configuration> <!-- This is a small project that should have no problem with tests running in the maven JVM. This also conveniently means system properties pass through. --> <forkCount>0</forkCount> </configuration> </plugin> <plugin> <groupId>de.thetaphi</groupId> <artifactId>forbiddenapis</artifactId> <version>1.4</version> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> <configuration> <!-- disallow undocumented classes like sun.misc.Unsafe: --> <internalRuntimeForbidden>true</internalRuntimeForbidden> <bundledSignatures> <bundledSignature>jdk-unsafe</bundledSignature> <bundledSignature>jdk-deprecated</bundledSignature> </bundledSignatures> <!-- This is the default setting, we don't support too new Java versions. The checker simply passes by default and only prints a warning. --> <failOnUnsupportedJava>false</failOnUnsupportedJava> <targetVersion>1.6</targetVersion> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.4.0</version> <configuration> <instructions> <Export-Package>com.spatial4j.core*;version=${project.version}</Export-Package> </instructions> </configuration> <extensions>true</extensions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.3</version> </plugin> <!-- http://blog.progs.be/517/publishing-javadoc-to-github-using-maven --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-scm-publish-plugin</artifactId> <version>1.0-beta-2</version> <configuration> <checkoutDirectory>${project.build.directory}/scmpublish</checkoutDirectory> <checkinComment>Publishing javadoc for ${project.artifactId}:${project.version}</checkinComment> <content>${project.reporting.outputDirectory}</content> <skipDeletedFiles>true</skipDeletedFiles> <!-- scm:git:https://github.com:spatial4j/spatial4j.git --> <pubScmUrl>scm:git:file://${project.basedir}</pubScmUrl> <scmBranch>gh-pages</scmBranch> <!-- branch with static site --> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>2.7</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>3.0.1</version> <configuration> <linkXRef>true</linkXRef> <minimumTokens>100</minimumTokens> <targetJdk>1.6</targetJdk> </configuration> </plugin> <!-- TODO why isn't this in the site report? --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.3</version> <configuration> <xmlOutput>true</xmlOutput> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>2.4</version> <!-- we exclude tests: --> <reportSets> <reportSet> <reports> <report>jxr</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.16</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <configuration> <header>Spatial4j, ${project.version}</header> <footer>Spatial4j, ${project.version}</footer> <doctitle>Spatial4j, ${project.version}</doctitle> <links> <link>http://tsusiatsoftware.net/jts/javadoc/</link> </links> </configuration> <!-- we exclude tests: --> <reportSets> <reportSet> <reports> <report>javadoc</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> </project>