|
POST
|
Hi I'm having issues with a query task against data in an Oracle SDE I have tried
queryTask = new esri.tasks.QueryTask("http://........../MapServer/0");
//build query filter
query = new esri.tasks.Query();
query.returnGeometry = false;
query.outFields = ['*'];
query.where = "DATE_CREATED > TO_DATE('2004-10-04 00:00:00','YYYY-MM-DD HH24:MI:SS')";
queryTask.execute(query, showResults);
But get - dojo.io.script error Error {code: 400, message: "Unable to complete operation.", details: Array[0], log: undefined} not sure what else to try, the query as shown works fine in ArcMap (where I copied it from) Cheers ACM
... View more
05-28-2013
07:15 AM
|
0
|
4
|
5494
|
|
POST
|
I think I really am asking, is what exactly does the DPI setting do? IF I have a map with a defined envelope (X1,Y1,X2,Y2) being shown in a DIV of W width and H height, then the image returned is always the same size in pixels and the same spatial coverage. Changing the DPI setting makes lines appear thicker (at higher DPIs) but that is about all the difference I can see. Cheers ACM
... View more
05-16-2013
12:24 AM
|
0
|
0
|
701
|
|
POST
|
I don't understand, the smaller the DPI I request, the better the image. 96 DPI 150 DPI 300 DPI Have I missed something fundamental about DPI here? Cheers ACM PS I tweaked the anti-alias setting and things look better, so those links may not show what I meant anymore.
... View more
05-15-2013
07:16 AM
|
0
|
2
|
1082
|
|
POST
|
Hi If you look at the example I linked to above, you'll notice some cunning code (got from somewhere else here, - this excludes various fields. if (j.toUpperCase() != "OBJECTID" && j.toUpperCase() != "SHAPE.FID" && j.toUpperCase() != "SHAPE" && j.toUpperCase() != "SHAPE_AREA" && j.toUpperCase() != "SHAPE.AREA" && j.toUpperCase() !=
"SHAPE.LEN" && j.toUpperCase() != "SHAPE_LENGTH") {
infotext += "<th class='idheader'>" + j.toUpperCase() + "</th>";
} I'm sure that could be modified for other types of display ACM
... View more
05-14-2013
08:41 AM
|
0
|
0
|
1366
|
|
POST
|
😄 Brilliant - I had to use this "replaceAll" function as I couldn't get the normal javascript one working. And, something is still not quite right with the size - I had three text annotations of different sizes and they all came out the same, but they are readable and in almost the location the user addded them, so a good work around until esri solve the bug Images are screen, without fix, after fix Cheers ACM
... View more
05-14-2013
01:58 AM
|
0
|
0
|
5814
|
|
POST
|
So, am I right in thinking that this bug is with ArcGIS Server, not the API? In which case should we be shouting about it on the Server forums? ACM
... View more
05-09-2013
08:06 AM
|
0
|
0
|
3546
|
|
POST
|
:DI think that is more or less what my colleague is going to do. Thanks anyway. ACM
... View more
05-07-2013
07:39 AM
|
0
|
0
|
526
|
|
POST
|
Not sure I can add more to the title 🙂 Anyone know how I can, either at the ArcMap/Server side on at runtime JSAPI side set transparency of a point layer based on the attribute in a field - the aim is more recent events to have a more solid setting? Cheers ACM
... View more
05-07-2013
03:07 AM
|
0
|
2
|
881
|
|
POST
|
Ben - many thanks for your floating pane style and code. I have used to to demonstrate on another forum my "all results, all fields from ID in one pane" thingy. SO much better than a dialog. Cheers ACM
... View more
05-04-2013
04:56 AM
|
0
|
0
|
1434
|
|
POST
|
OK - I've don a hack and slash on my code, to only do the "every result, every field in one floating pane" It is here - using esri data and a VERY big click tolerance to ensure lots of results. The attached CSS is my ENTIRE project CSS, so lots of stuff not required. Many, many thanks to Ben Fousek who posted the way of getting floating panes looking like dialogs. Obviously as I am using the Esri samples there are many more fields than you'd want to expose, but it shows what can be done. I also use the layer description field to embed feature level hyper links, but that's another story..... Cheers ACM
... View more
05-04-2013
04:54 AM
|
1
|
0
|
1366
|
|
POST
|
UP to recently all was fine in IE 8 for us, mainly because we use Google Chrome Frame to get IE to run everything in Chrome. However we have a few PCs that don't have this installed. For them, IE8 simply fails affter a few map operations. It was fine until recently - anyone any hints on how to track down whatever it is I have added IE doesn't like? Cheers ACM PS - I found what was killing IE 8/9 - I'd added a snapping layer that was our fine detailed basemaps. When zoomed in to a level these switched on AND in an urban area, IE just couldn't cope with that amount of vector data getting sent locally (I guess) I rural areas, without so many features it could cope.
... View more
05-03-2013
02:28 AM
|
0
|
0
|
2124
|
|
POST
|
Yep, that's right, only fields in the MXD will get exposed - plus they will have any aliases you set in ArcMap as well. ArcServer gets a bit stressed if you don't expose the shape filed and always leave OBJECTID 9or whatever your unique key is) but otherwise hide anything that you don't think will be used. If I have time I'll package my "everything in one floating pane" code up with an Esri example some time. ACM
... View more
04-30-2013
12:31 PM
|
0
|
0
|
3100
|
|
POST
|
I don't use the popup thingy at all - I redirect all to a floating pane and then go through each found layer, and each result in the layer to produce something like the attached - basically replicating what we had in ArcIMS 🙂 [ATTACH=CONFIG]23880[/ATTACH] So it is important to only expose the fields you want to see in the ArcMap MXD. By using the layer description I have also manage a feature specific hyperlink (again like ArcIMS) Shout if you want to see the code ACM
... View more
04-30-2013
10:30 AM
|
0
|
0
|
3129
|
|
POST
|
Thanks - although on the sample given I can't see any reference - there isn't a "require" part. from the API notes I thought you'd need a "dojo.require("esri.dijit.Attribution");" then create it with var attribution = new esri.dijit.Attribution({ map: map
}, "attributionDiv"); And then, have a div somewhere with that ID. So, even more confused now. Also, is it clever enough, if two layers have the same attribution not to repeat itself? Cheers ACM
... View more
04-30-2013
07:50 AM
|
0
|
0
|
1359
|
|
POST
|
Nope the Attribution Widget - added at 3.1 http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/new_v31.html
... View more
04-30-2013
07:28 AM
|
0
|
0
|
1359
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-28-2025 01:14 AM | |
| 1 | 12-01-2023 06:07 AM | |
| 2 | 11-29-2024 04:32 AM | |
| 1 | 05-28-2024 12:50 AM | |
| 1 | 03-16-2023 06:46 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|