|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.shephertz.app42.paas.sdk.jme.geo.GeoService
public class GeoService
Geo Spatial Service on cloud provides the storage, retrieval, querying and updating geo data. One can store the geo data by unique handler on the cloud and can apply search, update and query on it. Geo spatial query includes finding nearby/In circle target point from given point using geo points stored on the cloud.
Geo
Constructor Summary | |
---|---|
GeoService(java.lang.String apiKey,
java.lang.String secretKey,
java.lang.String baseURL)
|
Method Summary | |
---|---|
Geo |
createGeoPoints(java.lang.String geoStorageName,
java.util.Vector geoPointsList)
Stores the geo points with unique handler on the cloud. |
App42Response |
deleteStorage(java.lang.String storageName)
Delete the specified Geo Storage from Cloud. |
Geo |
getAllPoints(java.lang.String storageName)
Get All Point from storage. |
java.util.Vector |
getAllStorage()
Fetch the name of all storage stored on the cloud. |
Geo |
getNearByPoint(java.lang.String storageName,
java.lang.Double lat,
java.lang.Double lng,
int resultLimit)
Search the near by point from specified source point. |
Geo |
getNearByPointsByMaxDistance(java.lang.String storageName,
java.lang.Double lat,
java.lang.Double lng,
java.lang.Double distanceInKM)
Search the near by point in given range(In KM) from specified source point. |
Geo |
getPointsWithInCircle(java.lang.String storageName,
java.lang.Double lat,
java.lang.Double lng,
java.lang.Double radiusInKM,
int resultLimit)
Search the near by point from specified source point with in specified radius. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeoService(java.lang.String apiKey, java.lang.String secretKey, java.lang.String baseURL)
Method Detail |
---|
public Geo createGeoPoints(java.lang.String geoStorageName, java.util.Vector geoPointsList) throws App42Exception
geoStorageName
- - Unique handler for storage namegeoPointsList
- - List of Geo Points to be saved
App42Exception
public App42Response deleteStorage(java.lang.String storageName) throws App42Exception
storageName
- - Unique handler for storage name
App42Exception
public Geo getAllPoints(java.lang.String storageName) throws App42Exception
storageName
- - Unique handler for storage name
App42Exception
public java.util.Vector getAllStorage() throws App42Exception
App42Exception
public Geo getNearByPoint(java.lang.String storageName, java.lang.Double lat, java.lang.Double lng, int resultLimit) throws App42Exception
storageName
- - Unique handler for storage namelat
- - Latitude of source pointlng
- - Longitude of source pointresultLimit
- - Maximum number of results to be retrieved
App42Exception
public Geo getNearByPointsByMaxDistance(java.lang.String storageName, java.lang.Double lat, java.lang.Double lng, java.lang.Double distanceInKM) throws App42Exception
storageName
- - Unique handler for storage namelat
- - Latitude of source pointlng
- - Longitude of source pointdistanceInKM
- - Range in KM
App42Exception
public Geo getPointsWithInCircle(java.lang.String storageName, java.lang.Double lat, java.lang.Double lng, java.lang.Double radiusInKM, int resultLimit) throws App42Exception
storageName
- - Unique handler for storage namelat
- - Lattitude of source pointlng
- - Longitude of source pointradiusInKM
- - Radius in KMresultLimit
- - Maximum number of results to be retrieved
App42Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |