Select to view content in your preferred language

Querying for attributes from online feature layer return empty

388
1
10-12-2023 08:58 PM
Labels (1)
JeanYao
New Contributor

Hi, I am trying to use ArcGIS REST API to query the feature layer attributes by giving a point coordinate and a few parameters in the API. I provided the x,y to Input Geometry parameter, set Geometry Type as "Point", out fields as "*", spatial relationship as "intersects".  The URL after inputting the parameters is below

https://geohub.transport.nsw.gov.au/federated/rest/services/Geohub_Reference/Proposed_Six_Cities/Fea...

More information is it did return records if I input a very large number in the distance parameter. So I think the problem might be the input of spatial reference parameter, hence I tried to use 102100 or 3857 in this parameter, but no records returned. Anything wrong with the parameters?

Thanks in advance for all suggestions.

0 Kudos
1 Reply
JeanYao
New Contributor

Thanks to whom for viewing my question. I found the answer now. I should input 3308 to the spatial reference parameter which has been used in our project.

0 Kudos