[GRASS-SVN] r69370 - grass-promo/tutorials/batch_processing/earthquakes/NZ
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Sep 4 12:45:56 PDT 2016
Author: hamish
Date: 2016-09-04 12:45:56 -0700 (Sun, 04 Sep 2016)
New Revision: 69370
Modified:
grass-promo/tutorials/batch_processing/earthquakes/NZ/fetch_gns_earthquakes.sh
Log:
adjust to API update
Modified: grass-promo/tutorials/batch_processing/earthquakes/NZ/fetch_gns_earthquakes.sh
===================================================================
--- grass-promo/tutorials/batch_processing/earthquakes/NZ/fetch_gns_earthquakes.sh 2016-09-04 19:44:15 UTC (rev 69369)
+++ grass-promo/tutorials/batch_processing/earthquakes/NZ/fetch_gns_earthquakes.sh 2016-09-04 19:45:56 UTC (rev 69370)
@@ -24,7 +24,7 @@
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"
+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_search_v1:quake"
+BASE="wfs:FeatureCollection/wfs:member/geonet:quake"
FIELDS="
geonet:origintime
geonet:longitude
More information about the grass-commit
mailing list