Open jmpmcmanus opened 7 months ago
Hi = I have not able to query geojson data. Below is an example of geojson data:
When I run the query: http://localhost:8000/drf/api/pfas_in_tapwater_usgs/?query={properties{pfos,pfoa}}&format=json
it returns the following message: ["properties field is not found"]
properties
I tested it on regular json data and it worked. Below is an example of regular json data I queried:
I ran: http://localhost:8000/drf/api/ahhs_dust_data/?query={pfos_concentration,pfoa_concentration}&format=json
and it returned data. It was able to access the variables under results, but could not access the variables under features in the geojson case?
Thanks! Jim
Hi = I have not able to query geojson data. Below is an example of geojson data:
When I run the query: http://localhost:8000/drf/api/pfas_in_tapwater_usgs/?query={properties{pfos,pfoa}}&format=json
it returns the following message: ["
properties
field is not found"]I tested it on regular json data and it worked. Below is an example of regular json data I queried:
I ran: http://localhost:8000/drf/api/ahhs_dust_data/?query={pfos_concentration,pfoa_concentration}&format=json
and it returned data. It was able to access the variables under results, but could not access the variables under features in the geojson case?
Thanks! Jim