POST
|
Hi everyone. Hit a problem with an AddIn I've almost finished developing. Without going into detail, I need the AddIn to respond to any changes in datasources on layers and stand-alone tables. Basically, my AddIn needs at least one feature layer and one stand-alone table to work, so it's toolbar buttons are disabled until the criteria is met. So far I have an extension hooked into the NewDocument and OpenDocument to interrogate the documents layers and their validity, creating two arrays of valid feature layers and valid stand-alone tables. This used to be in the tool's update event but the checking process had a significant affect on performance. I hope someone can advise? Thank you.
... View more
07-09-2013
01:32 AM
|
0
|
1
|
269
|
POST
|
Hi, big problems. Got a system going to test on Friday and suddenly found out that it's not working properly. I'm using SDO_NN with sdo_batch_size as the layer I'm querying has other criteria (with sdo_num_res I get less than the desired results as SDO_NN runs before pure textual condition). Unfortunately, through ArcGIS Server the results I'm getting back are incorrect and it's missing an obvious nearest feature. To make matters worse, when I tested out a sample WHERE clause in ArcMap it also displayed the wrong set of features, but when I then did a "select all" features, the highlights were clustered around the centre point of the SDO_NN. Here's the sample SDO_NN WHERE clause: SDO_NN(SHAPE, MDSYS.SDO_GEOMETRY(2001,NULL,MDSYS.SDO_POINT_TYPE(357582,174474,0),NULL,NULL), 'sdo_batch_size=0') = 'TRUE' AND ROWNUM <= 10 We have also tried the following, containing a sub-query, which appears to give the right results, but takes ages: MI_PRINX IN (SELECT OBJECTID FROM COMMUNITY.CV_COMMUNITY_VENUES WHERE SDO_NN(CV_COMMUNITY_VENUES.SHAPE, MDSYS.SDO_GEOMETRY(2001,NULL,MDSYS.SDO_POINT_TYPE(357582,174474,0),NULL,NULL), 'sdo_batch_size=0') = 'TRUE') AND ROWNUM <= 10 Incidentally, the source layer either has a definition query, or is a view, containing the condition specifying that a publish flag field is true, as some data cannot be published yet. If anyone has had experience of this, has an example of successful use of this, or knows of a way of getting ArcGIS Server to return the nearest X features relative to a point, please comment.
... View more
07-05-2011
11:00 PM
|
0
|
0
|
460
|
POST
|
Ended up using a Find Task, which appeared to give me reasonable performance.
... View more
10-20-2010
12:49 AM
|
0
|
0
|
2
|
POST
|
As it states in the subject - using layerDefinitions to retain the layer symbology, but need to zoom to to extent of the objects filtered, without using a QueryTask to make a secondary call to get features to zoom to.
... View more
10-19-2010
04:13 AM
|
0
|
2
|
455
|
POST
|
Hi, I'm using map.onExtentChange to re-render points on a Graphics layer. When I zoom - no problem. When I pan, the points on the Graphics layer remain stuck, relative to their screen position, rather than tracking their map position. What doesn't make sense is the I clear the graphics layer and redraw it on the onExtentChange event, and the function that redraws is definitely aware of the changed extent. Has anyone experienced this before and solved it or worked around it (V1.6)?
... View more
09-07-2010
06:02 AM
|
0
|
0
|
374
|
POST
|
Problem sorted, duplicate OBJECTID's in the data!!! Identified by looking at the attribute table in ArcMap and selecting by attributes - showing all didn't show all selected, but showing selected did show the correct results (All and Selected buttons at the bottom of table attributes view).
... View more
09-07-2010
02:51 AM
|
0
|
0
|
1
|
POST
|
I have a system that was using LayerDefinitions to filter a bus route dataset to show an individual route. I've now decided to move to using a QueryTask and rendering on a graphics layer, as I'll also have to use the same method for other data in the Map Service. I've used the same layer from the same map service with the same query I was applying through LayerDefinitions, but the rendered results of the QueryTask shows a broken polyline, whereas the old method shows a continuous PolyLine. Doesn't make sense. I'm just going to inspect the HTTP traffic and see if it's something to do with the message size, but if you have a perspective on this please reply. Thanks.
... View more
09-06-2010
04:27 AM
|
0
|
1
|
340
|
POST
|
Exactly what I was thinking - but was hoping there was a server based solution to using alpha channel PNG's as point symbology. Actually, does anyone know if this is possible in an ArcGIS 10 environment?
... View more
09-02-2010
11:36 PM
|
0
|
0
|
1
|
POST
|
See esri.graphicsExtent Javascript API reference (see esri.Namespace methods ) Basically, the returned extent can then be used to set the map extent ( see this ) Hi guys, I was wondering If anyone of you know how to do this... I have a query results, I want to make zoom to that query results, I think the properly name of it is Zoom to selected features ... please if anyone knows how to do it help me By the way: In the results I told you about, I receive the X,Y, of what I'm trying to zoom. Any code for it? in JavaScript Alex,
... View more
09-02-2010
01:49 AM
|
0
|
0
|
33
|
POST
|
Basically, I have a PNG I want to use to show a point dataset (nice symbol of a bus stop with alpha channel shadow for a bus stop dataset). Can anyone tell me how to do it, or give me some ideas where I might start looking? Thanks.
... View more
09-02-2010
12:28 AM
|
0
|
3
|
1051
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|