[GRASS-SVN] r61249 - grass-promo/tutorials/batch_processing/earthquakes/NZ

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 13 18:27:09 PDT 2014


Author: hamish
Date: 2014-07-13 18:27:09 -0700 (Sun, 13 Jul 2014)
New Revision: 61249

Modified:
   grass-promo/tutorials/batch_processing/earthquakes/NZ/fetch_gns_earthquakes.sh
Log:
adjust for upstream WFS changes

Modified: grass-promo/tutorials/batch_processing/earthquakes/NZ/fetch_gns_earthquakes.sh
===================================================================
--- grass-promo/tutorials/batch_processing/earthquakes/NZ/fetch_gns_earthquakes.sh	2014-07-13 21:31:22 UTC (rev 61248)
+++ grass-promo/tutorials/batch_processing/earthquakes/NZ/fetch_gns_earthquakes.sh	2014-07-14 01:27:09 UTC (rev 61249)
@@ -23,8 +23,8 @@
 XMLNAME="$OUTFILE.tmp_$$"
 
 
-URL="http://wfs-beta.geonet.org.nz/geoserver/geonet/ows?"
-REQUEST="service=WFS&version=1.1.0&request=GetFeature&typeName=geonet:quake&outputFormat=text/xml; subtype=gml/3.2"
+URL="http://wfs.geonet.org.nz/geonet/ows?"
+REQUEST="service=WFS&version=1.1.0&request=GetFeature&typeName=geonet:quake_search_v1&outputFormat=text/xml; subtype=gml/3.2"
 
 START_DATE=`date --utc --date="last week" +%F`
 #START_DATE=`date --utc --date="2 weeks ago" +%F`
@@ -42,7 +42,7 @@
 fi
 
 
-BASE="wfs:FeatureCollection/wfs:member/geonet:quake"
+BASE="wfs:FeatureCollection/wfs:member/geonet_search_v1:quake"
 FIELDS="
 geonet:origintime
 geonet:longitude



More information about the grass-commit mailing list