|
| 1 | +# geometry-api-java |
| 2 | + |
| 3 | +This is the Esri Geometry API that can be used to enable spatial data processing in 3rd-party data-processing solutions. Developers of custom MapReduce-based applications for Hadoop can use this API for spatial processing of data in the Hadoop system. The API is also used by the [Hive UDF’s](https://github.com/esri/hive-spatial) and could be used by developers building geometry functions for 3rd-party applications such as [Cassandra]( https://cassandra.apache.org/), [HBase](http://hbase.apache.org/), [Storm](http://storm-project.net/) and many other Java-based “big data” applications. |
| 4 | + |
| 5 | +## Features |
| 6 | +* API methods to create simple geometries directly with API, or by importing from supported formats: JSON, WKT, Shape |
| 7 | +* API methods for spatial operations: union, difference, intersect, clip, cut, buffer |
| 8 | +* API methods for topological relationship tests: equals, within, contains, crosses, touches |
| 9 | + |
| 10 | +## Instructions |
| 11 | + |
| 12 | +1. Download and unzip the .zip file or clone the repository. |
| 13 | +2. Deploy esri-geometry-api.jar to the target system, add a reference to it in a Java project. |
| 14 | +3. To build the jar, Javadoc, and run the unit-tests, run the “ant” command-line command from within the cloned directory. The ant tool runs the “build.xml” script which creates the jar, runs the unit tests, then creates the Javadoc documentation files. |
| 15 | + |
| 16 | +## Requirements |
| 17 | + |
| 18 | +* Java JDK 1.6 or greater |
| 19 | +* Experience developing MapReduce applications for [Hadoop](http://hadoop.apache.org/). |
| 20 | +* Familiarity with text formats of spatial data, such as JSON or WKT, would be useful. |
| 21 | + |
| 22 | +## Resources |
| 23 | + |
| 24 | +* [ArcGIS Geodata Resource Center]( http://resources.arcgis.com/en/communities/geodata/) |
| 25 | +* [ArcGIS Blog](http://blogs.esri.com/esri/arcgis/) |
| 26 | +* [twitter@esri](http://twitter.com/esri) |
| 27 | + |
| 28 | +## Issues |
| 29 | + |
| 30 | +Find a bug or want to request a new feature? Please let us know by submitting an issue. |
| 31 | + |
| 32 | +## Contributing |
| 33 | + |
| 34 | +Anyone and everyone is welcome to contribute. |
| 35 | + |
| 36 | +## Licensing |
| 37 | +Copyright 2012 Esri |
| 38 | + |
| 39 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 40 | +you may not use this file except in compliance with the License. |
| 41 | +You may obtain a copy of the License at |
| 42 | + |
| 43 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 44 | + |
| 45 | +Unless required by applicable law or agreed to in writing, software |
| 46 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 47 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 48 | +See the License for the specific language governing permissions and |
| 49 | +limitations under the License. |
| 50 | + |
| 51 | +A copy of the license is available in the repository's [license.txt]( https://raw.github.com/Esri/geometry-api-java/master/license.txt) file. |
0 commit comments