|
POST
|
I thought as much - we think we'll warehouse the data in SQL and do the conversion there. We don't like messing around in Oracle. Thanks
... View more
05-09-2017
05:21 AM
|
0
|
0
|
875
|
|
POST
|
Hi We have a third party application with data stored in Oracle. There is a table with text fields for east/north. We want to create an Event Layer. We cannot modify the table and as it is 3rd party don't want to add an Oracle view as it may mess with the support. So, anyone any ideas if it is possible to cast/convert text fields within Desktop to create an event theme? Cheers ACM
... View more
05-09-2017
05:16 AM
|
0
|
2
|
1016
|
|
POST
|
Yes, I seen some scripts that alter the draft file XML, I may look at those - in the mean time it is back to logging on on Sunday mornings to update services 😞
... View more
04-30-2017
02:34 AM
|
0
|
0
|
790
|
|
POST
|
Hi I've found lots of scripts that take a MXD and publish it, or take a sddraft file. However these all seem to create a new service with the default settings. I really need a script that replicates the "Share As>>Map Service>>Overwrite and existing service" menu options in Desktop. It would be nice if at the end of this Wizard there was an option to save what you have as a sddraft, as at that point it has picked up all the settings from the existing service. Have I missed something here? Cheers ACM
... View more
04-28-2017
04:29 AM
|
0
|
2
|
1304
|
|
POST
|
Thanks - that is helpful and it helps me understand a bit more. However, I really need to wrap the entire onLoad function up to give it a "then" - I've got to move onto other stuff right now, but I've just found this post https://community.esri.com/thread/30458 which looks super useful. This one also looks promising Connect to onExtentChange with deferred web maphttps://community.esri.com/thread/65042
... View more
03-13-2017
03:44 AM
|
1
|
0
|
1339
|
|
POST
|
Hi I have an awful web app that is mainly legacy code I wrote many years back, but functions and the users use it all the time WE're moving stuff around and at the moment the desktops are at a different site to the data so I'm hitting latency issues. I have this code //return the layer descriptions and © text into arrays - we use this later for the info dialog to generate hyperlinks and © text
dojo.forEach(dynamicMapServiceLayer.layerInfos, function (layer) {
var requestHandle = esri.request({
url: mapservice2 + "/" + layer.id + "?f=json",
handleAs: "json",
load: function (data) {
LayerAttach[layer.id] = data.hasAttachments;
console.debug(dynamicMapServiceLayer.layerInfos[layer.id])
LayerDescriptions[layer.id] = data.description;
dynamicMapServiceLayer.layerInfos[layer.id].copyrightText = data.copyrightText;
},
}, { useProxy: true });
}); Which I have on the Onload event of the main dynamic map It reads extra stuff from the rest data of the service that I use to create hyperlinks (as good old ArcIMS did) All worked fine until this latency hit. I have a sub-site that on start up takes a feature passed in the URL, finds the extent of that feature, then passes that into a ID task on the main service. The output uses the arrays/data produced in the above routine. With the latency I am getting results of the ID task back before I get all the info from the above code. I have vague knowledge of defers and the like so surely I should add to each loop above a wait until the data is back until stepping forward, or a wait until everything is back Any advice welcomed. In the short term I've given those users who use this sub-site Chrome, which can handle things faster and not get caught up. Cheers ACM
... View more
03-10-2017
08:12 AM
|
0
|
2
|
2218
|
|
POST
|
cheers - I was nearly there from a few other samples. I'll give that a quick go before heading home. Many thanks
... View more
08-31-2016
09:22 AM
|
0
|
0
|
545
|
|
POST
|
I may be being thick here, but my "results" object hasn't got a "features" property, it has lots of "features" (0-Number of results-1) My function that runs when the Find is executed is function showResults(results) {
var features = results.features;
var outFeature = dojo.filter(features, function (feat) {
return feat.attributes.LA == 'EDDC';
});
.
.
.
Which returns an empty array (it doesn't fall over, which is odd)
... View more
08-31-2016
09:10 AM
|
0
|
2
|
2497
|
|
POST
|
Many thanks - I did start to refactor it a few years back, but never finished. On a long list of stuff to do.
... View more
08-31-2016
07:20 AM
|
0
|
3
|
2497
|
|
POST
|
Thanks for that - it took me a while to realize it was coded for AMD - I'm still on legacy code, mostly, so had to hack it into my existing code - not the first time I've done that
... View more
08-31-2016
07:10 AM
|
0
|
5
|
2497
|
|
POST
|
That looks too easy I thought about some sort of filter of the results (see OP) but hadn't followed it up as I thought it would be expensive in time. The benefit of getting the find/query task to do it all would be that it would be querying the end SQL database, where I can ensure all the fields that form part of the query are indexed. I'll see if I can try that
... View more
08-31-2016
01:03 AM
|
0
|
0
|
2497
|
|
POST
|
🙂 Nope all three areas are within 100km - but find where a user is coming from is a problem I am sure I can resolve, even if it is getting the user to choose when first logged in and storing as a cookie. Getting the Find task to have an AND it it, is my problem
... View more
08-30-2016
08:57 AM
|
0
|
9
|
2497
|
|
POST
|
Hi I've got a web app that could potentially be used by three geographical bodies. The app features an address search, that hits a service with a single layer that has address records in. When it is one body it is easy, the address service layer has features just for that body. When it is one of three bodies I'd like to a) detect where they are coming from to keep a single code base - I'm sure I can do this by IP address range, login name or something then b) have the address layer to be used in the FIND task have all 3 areas addresses, but the find to work something like this plain English SQL; Find where address contains <User inputted search string> AND area = <area defined by which body the user is from> I'm not sure if this is possible - any ideas? The find task has searchfields, and search text. Currently my searchfields are three that contain different components of the address. So searchFields = "Address1, Address2, Postcode" and searchText would equal "Magnolia Cottage" or something So, if I expand the Searchfields to include "Area" (which may be "East Utopia", Gotham City", "Cursed Earth (north)" for the three bodies, I'd then have to tag one of these three onto "Magnolia Cottage" - which would fail. I could query the incoming recordset, but this seems hard and wasteful, where a simple addition of a AND to the find task would work. Any ideas? ACM
... View more
08-30-2016
08:38 AM
|
0
|
11
|
3801
|
|
POST
|
No - I don't think you can reference a service in a service. What I do is add the tiles in. When you create the tiles they go to some folder specified in your config. Open ArcMap, add data, navigate to the folder that is named the same as your tiled service, so maybe something like d:\arcgisserver\arcgiscache\MyTiledService. You will see it say "layers" in the add data box, select that, and your tiles from the service are added just like any other raster layer into your MXD. After you've done this, you can if you like, switch off the service that produced them if you're concerend about resources. Cheers ACM
... View more
07-20-2016
01:36 AM
|
0
|
0
|
622
|
|
POST
|
OK - I had a similar issue a few year's back. I wanted to a basemap that was tiled at zooms of 1:lots to about 1:5,000. Then after that freshly produced mapping from the vector source. The high level stuff doesn't change that much and is used for quick location purposes. The detailed stuff is OS MasterMap that updates every two months. I didn't want my users to have only a fixed number of zooms - my users want to print out to scale at all sorts of scales - I cannot second guess the scales they would want. So, this is what I did Created a map service for scales of 1:lots to 1:5,000 using the OS vector map products Set a nice set of scales to tile this service generated the tiles - this took a while Created another MXD. This time it had my detailed stuff in AND the tiles created from the first service as a layer. I creates a dynamic service from this MXD. This is the one I use for my basemapping. The result is that the users may get a slightly odd looking map at scales between the tiled map levels, but this isn't important. The important thing is getting freshly produced basemapping, straight from the vector source at ALL scales below 1:5000. A hack - but it works for me ACM
... View more
07-19-2016
08:35 AM
|
0
|
0
|
3180
|
| 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 |
yesterday
|