GPS Web Services
GeoNet site and mark metadata can be queried using web services.
GPS queries
URL construction
All requests use the HTTP GET method and all request URLs start with the hostname and service name:
- http://magma.geonet.org.nz/services/gps/
Sample XML output of all CGPS sites
http://magma.geonet.org.nz/services/site?type=cgps
Sample XML output of CGPS sites on the CG network that have 'operational' status
http://magma.geonet.org.nz/services/site?type=cgps&status=Operational&networkName=CG
Location details and operational start dates of all operational sites in XML format.
Sample CSV output of CGPS sites that have 'complete' status
http://magma.geonet.org.nz/services/site?type=cgps&status=Complete&outputFormat=csv
Location details and operational start dates of all operational sites in CSV format.
Sample XML full site metadata query
http://magma.geonet.org.nz/services/gps/reception?markCode=taup
Full site and mark metadata for an individual site. Change the markCode suffix to view each different site. In this example, markCode=taup returns station information for the Taupo continuous GPS site TAUP.
Note: The latest versions of Microsoft Internet Explorer and Mozilla Firefox will display XML in a readable format; other browsers cannot be guaranteed to do so.

