1 package fr.paris.lutece.plugins.gis.service;
2
3
4 import java.rmi.RemoteException;
5
6 import javax.servlet.http.HttpServletRequest;
7
8 import fr.paris.lutece.plugins.gis.business.LonLat;
9
10 /**
11 *
12 *
13 */
14 public interface IAddressServiceFacade {
15
16 /**
17 * Gets the localization of the given address parameters.
18 * May return <null> whether no coordinates have been found.
19 *
20 * @param request The HTTP request
21 * @param address The researched address
22 * @param strSRID The SRID
23 * @return LonLat | null
24 * @throws RemoteException
25 */
26 public LonLat getGeolocalization(final HttpServletRequest request, String address, String strSRID)
27 throws RemoteException;
28
29
30 /**
31 * Gets the address located on the given coordinates <LonLat> parameters.
32 * May return <null> whether no addresses have been found.
33 *
34 * @param request The HTTP request
35 * @param lonLat The coordinates
36 * @param strSRID The SRID
37 * @return A String address | null
38 * @throws RemoteException
39 */
40 public String getInverseGeolocalization(final HttpServletRequest request, LonLat lonLat, String strSRID)
41 throws RemoteException;
42 }