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 |
src/java/m/ApplicationConfig.java
@@ -34,7 +34,6 @@ |
resources.add(csip.ArchiveService.class); |
resources.add(csip.CatalogService.class); |
resources.add(csip.ControlService.class); |
- resources.add(csip.ModelDataService.class); |
resources.add(csip.QueryService.class); |
resources.add(csip.ReportService.class); |
resources.add(csip.UIService.class); |