sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nch...@apache.org
Subject svn commit: r1035139 - in /incubator/sis/trunk: CHANGES.txt sis-webapp/src/main/java/org/apache/sis/services/LocationServlet.java
Date Mon, 15 Nov 2010 04:21:59 GMT
Author: nchung
Date: Mon Nov 15 04:21:59 2010
New Revision: 1035139

URL: http://svn.apache.org/viewvc?rev=1035139&view=rev
Log:
fix for SIS-25 Location servlet doesn't return correct coordinates for point-radius query
region

Modified:
    incubator/sis/trunk/CHANGES.txt
    incubator/sis/trunk/sis-webapp/src/main/java/org/apache/sis/services/LocationServlet.java

Modified: incubator/sis/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/sis/trunk/CHANGES.txt?rev=1035139&r1=1035138&r2=1035139&view=diff
==============================================================================
--- incubator/sis/trunk/CHANGES.txt (original)
+++ incubator/sis/trunk/CHANGES.txt Mon Nov 15 04:21:59 2010
@@ -1,5 +1,8 @@
 Apache SIS Change Log
 ======================
+
+* SIS-25 Location servlet doesn't return correct coordinates for point-radius query region
(nchung)
+
 Release 0.1-incubating - 11/09/2010
 
 * SIS-24 Refactor sis.version into build process flowdown through Maven and 

Modified: incubator/sis/trunk/sis-webapp/src/main/java/org/apache/sis/services/LocationServlet.java
URL: http://svn.apache.org/viewvc/incubator/sis/trunk/sis-webapp/src/main/java/org/apache/sis/services/LocationServlet.java?rev=1035139&r1=1035138&r2=1035139&view=diff
==============================================================================
--- incubator/sis/trunk/sis-webapp/src/main/java/org/apache/sis/services/LocationServlet.java
(original)
+++ incubator/sis/trunk/sis-webapp/src/main/java/org/apache/sis/services/LocationServlet.java
Mon Nov 15 04:21:59 2010
@@ -293,8 +293,6 @@ public class LocationServlet extends Htt
         double radiusKM = Double.parseDouble(radius);
 
         String regionStr = "";
-        regionStr = "-90.0,-180.0, 90.0, -180.0, 90.0, 180.0, -90.0, 180.0, -90.0,-180.0";
-        regions.add(regionStr);
 
         for (int i = 0; i < 360; i += 10) {
           LatLon pt = DistanceUtils.getPointOnGreatCircle(point.getLat(), point



Mime
View raw message