Displaying differences for changeset
 
display as  

src/java/c/PostGIS.java

@@ -857,7 +857,7 @@
     
     public double findCmz(double lat, double lon) throws SQLException {
         return findDbl("select distinct g.co_cmz from cmz_geom as g "
-                  + "where ST_Within(ST_Point(" + lon + "," + lat + "), g.geometry); LIMIT 1;", lon, 1);
+                  + "where ST_Within(ST_Point(" + lon + "," + lat + "), g.geometry) LIMIT 1;", lon, 1);
     }
     
     public List<FileQryResult> findManagements(double lat, double lon) throws SQLException {

src/java/d/rusle2/climateQuery.sh

@@ -1,3 +1,4 @@
-curl -X POST -H "Content-Type: application/json" http://csip.engr.colostate.edu:8081/csip/d/rusle2/climate/1.0 -d @./climateReqEpa1.json
+#curl -X POST -H "Content-Type: application/json" http://csip.engr.colostate.edu:8081/csip/d/rusle2/climate/1.0 -d @./climateReqEpa1.json
+curl -X POST -H "Content-Type: application/json" http://csip.engr.colostate.edu:8083/csip-erosion/d/cmz/1.0 -d @./climateReqEpa1.json
 #curl -X POST -H "Content-Type: application/json" http://csip.engr.colostate.edu:8090/csip-erosion/d/rusle2/climate/1.0 -d @./climateReqEpa1.json
 #curl -X POST -H "Content-Type: application/json" http://csip.engr.colostate.edu:8090/csip-erosion/d/rusle2/climate/1.0 -d @./climateReqHawaii.json