public static ShapeDetect getCity(Point ptClick, String server, Integer port, String dataSource) throws Exception {
if (ptClick.getX() == 0 && ptClick.getY() == 0) {
throw (new Exception("Coordenadas do ponto devem ser informadas."));
}
ShapeDetect shp = new ShapeDetect();
try {
TCPClientDecarta tcpDecarta = new TCPClientDecarta(server, port);
String response = tcpDecarta.Send("S2LN|%LL=" + String.valueOf(ptClick.getY()).replace(",", ".") + ","
+ String.valueOf(ptClick.getX()).replace(",", ".") + "|%RAD=m15%INTERPADDR%ALLATTRS%LL%DS=" + dataSource + "||");