You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
jsauca
changed the title
queryFeatures function - inSR paramaters not taken in account
queryFeatures function - inSR paramater not taken in account
Oct 17, 2019
"@esri/arcgis-rest-feature-layer": "^2.5.0",
The inSR paramaters is not taken into account
`
const queryParams = {
url,
geometry: { x: 151.11403770000004, y: -33.7842727 },
geometryType: geometryType === 'point' ? 'esriGeometryPoint' : 'esriGeometryPolygon',
spatialRel: 'esriSpatialRelIntersects',
where: filters,
inSR: '4326',
outSR: '4326',
returnGeometry: true,
f: 'json',
};
FYI, REST API with same data provided works correctly. See => https://maps.six.nsw.gov.au/arcgis/rest/services/public/NSW_Cadastre/MapServer/9/query?where=&text=&objectIds=&time=&geometry=%7B+x%3A+151.11403770000004%2C+y%3A+-33.7842727+%7D&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelIntersects&relationParam=&outFields=&returnGeometry=true&returnTrueCurves=false&maxAllowableOffset=&geometryPrecision=&outSR=4326&returnIdsOnly=false&returnCountOnly=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&returnZ=false&returnM=false&gdbVersion=&returnDistinctValues=false&resultOffset=&resultRecordCount=&queryByDistance=&returnExtentsOnly=false&datumTransformation=¶meterValues=&rangeValues=&f=html
The text was updated successfully, but these errors were encountered: