Database Reference
In-Depth Information
The JSON response contains, as per the request, the information about the 10
weatherstationsclosesttothecity.Youwillusetheinformationofthefirstweather
station, the closest one to the city, to set the
temperature
field for the city.
Youtheniterateallofthe
station
JSONobjectsandbyusingthe
AddWeather-
Station
method,youcreateaweatherstationinthe
wstation
PostGISlayer,but
only if a weather station with the same
id
does not exist.