POST
|
We have a featureclass containing city names and it’s border as polygon shape.The column is st_geometry. We are trying to fetch the city based on the coordinates using the below st geometry query. Even though the coordinates are exactly with in the border the query is not fetching any records. select NAME1 from GTSOWNER.CM_BOUNDARY3_PG where sde.st_within (sde.st_point(45.576579,26.460792,32637),shape)=1; Tried with multiple options without any luck The database is oracle. the arcGIs version is 10.2 Adeeb Data type from ArcCatelog Spatial Reference Sample Data in Table
... View more
11-25-2020
12:37 PM
|
0
|
1
|
1001
|
POST
|
Dears We have a featureclass containing city names and it’s border as polygon shape.The column is st_geometry. We are trying to fetch the city based on the coordinates using the below st geometry query. Even though the coordinates are exactly with in the border the query is not fetching any records. select NAME1 from GTSOWNER.CM_BOUNDARY3_PG where sde.st_within (sde.st_point(45.576579,26.460792,32637),shape)=1; Tried with multiple options without any luck The database is oracle. the arcGIs version is 10.2 Adeeb ArcCatelog table descirption arcatelog -coordinate system Table data
... View more
11-25-2020
12:15 PM
|
0
|
1
|
920
|
POST
|
Dears I have a an array of coordinates in my JavaScript program. I am processing these coordinates in a loop. I need to find the nearest feature of each of these coordinate. The feature I am looking for is available in a map service published in our local server. I need to find the nearest feature in the JavaScript loop itself without manual interventions. Is there any ESRI JavaScript or REST API function available for finding the nearest feature of the selected coordinate? Could you please provide the API functions and detailed steps to use it? I am using the ArcGIS JavaScript API version 3.14 (js.arcgis.com/3.14compact). Our ArcGIS server version is 10.2
... View more
07-06-2020
12:18 AM
|
0
|
1
|
931
|
POST
|
Dears I have a an array of coordinates in my JavaScript program. I am processing these coordinates in a loop. I need to find the nearest feature of each of these coordinate. The feature I am looking for is available in a map service published in our local server. I need to find the nearest feature in the JavaScript loop itself without manual interventions. Is there any ESRI JavaScript or REST API function available for finding the nearest feature of the selected coordinate? Could you please provide the API functions and detailed steps to use it? I am using the ArcGIS JavaScript API version 3.14 (js.arcgis.com/3.14compact). Our ArcGIS server version is 10.2
... View more
07-06-2020
12:14 AM
|
0
|
0
|
448
|
POST
|
Dear Is there any way to call ESRI REST API from javascript and get the result?. If possible any documentation/url on this? Adeeb
... View more
07-05-2020
05:00 AM
|
0
|
3
|
840
|
POST
|
Dears I have set of different coordinates in an excel file. I am processing this excel file through java script API. I am trying to find the nearest feature(using ESRI javascript API) corresponding to each coordinate in excel sheet. the nearest feature I am looking for is in a map service(layer) published in arcgis server and accessible through it's rest API url. Is there any ESRI javascript API function available for finding the nearest feature of the selected coordinate? I am using the arcgis javascript API version 3.14 (js.arcgis.com/3.14compact).
... View more
07-03-2020
04:35 AM
|
0
|
1
|
1607
|
POST
|
I have a function checkCoverage for a particular x,y coordinate. Which executes a QueryTask. And get the result in a call back function. A Query Object is passed to QueryTask.execute(). The coordinate to search is set in Query as below. Is there any way to find the coordinate (Point x and y) which was set in Query object from the callback function (reportMyCoverage) result object? This is required because I trying to run this Check Coverage Function for multiple coordinates. Check Coverage Function checkCoverage: function (x, y ) { var map = mySelfSearch.map; var geographicPoint = new Point(x, y); var projectedPoint=webMercatorUtils.geographicToWebMercator(geographicPoint); var graphic = new Graphic(projectedPoint); if (mySelfSearch.map.getLayer('coverageCheckGraphics_point') != undefined) { mySelfSearch.map.getLayer('coverageCheckGraphics_point').clear(); } mySelfSearch.map.getLayer('coverageCheckGraphics_point').add(graphic); try{ mySelfSearch.map.getLayer('coverageCheckGraphics_point').graphics[0]); var chkpnt = map.getLayer('coverageCheckGraphics_point').graphics[0].geometry; var query = new Query(); var fiberCovCompletionFlagCheck = mySelfSearch.fiberCoverageCompletion; query.geometry = chkpnt; query.where = " 1=1 "; query.returnGeometry = true; query.spatialRelationship = "esriSpatialRelIntersects"; var queryTaskFiber = new QueryTask(mySelfSearch.queryURLFiber); query.outFields = ['*']; queryTaskFiber.execute(query, mySelfSearch.reportMyCoverage, function (error) { console.log(getADBDate() + "Error occured in queryTaskFiber.execute " + error.message); }); mySelfSearch.fiberCoverageCompletion=false; } catch (e) { console.log("Error occured in check coverage " + e.message); } }, reportMyCoverage: function (result) reportMyCoverage: function (result) { var isCovered = result.features.length > 0; if (isCovered) { mySelfSearch.fiberCoverage = 'TRUE'; } else { mySelfSearch.fiberCoverage = 'FALSE'; } },
... View more
06-15-2020
01:42 PM
|
0
|
1
|
329
|
Online Status |
Offline
|
Date Last Visited |
11-25-2020
02:08 PM
|