|
POST
|
Does esri add variables? I'm not sure what you mean
... View more
01-05-2015
08:19 AM
|
0
|
2
|
2752
|
|
POST
|
Brian, I'm sure you are already doing something similar, I always use sde connection files that are located in my data-store directory and never have issues publishing any type of services. In our distributed 3-machine 2-cluster architecture, our server directories are located on a file share server, where our domain arcgisserver account has read write access to all directories and all directories are shared. Under the data-store folder, we use a DataConnections folder to house sde connection files and file geodatabases, and a GpServices folder to store toolboxes and python scripts. This way I am always sure everything is in a shared location. I also use UNC paths and although server complains about that at analzye, I never then have any issues with a resource not being read or otherwise not being available to Server.....hope this helps David
... View more
12-31-2014
09:03 AM
|
0
|
4
|
2752
|
|
POST
|
I agree with Sarah on this - these directories are used to store machine-specific information ...
... View more
12-31-2014
06:38 AM
|
0
|
0
|
3582
|
|
POST
|
Hi Kelly, sorry for the delayed response (my workplace has geonet access issues). Yes the sample you provided will work, but not quite in the way I require, but it got me on the right track thanks very much. Here's what I did: At startup, the default state is active where the activateButton is listening for mouse clicks, so I deactivate it: directions.on("load", function(){
directions.deactivate();
}); Then, in order to disable the infoWindow I use a function that is hitched to the directions div on my index page: function disablePopup() {
if(directions.active){
mapMain.setInfoWindowOnClick(false);
}
else{
mapMain.setInfoWindowOnClick(true);
}
} //pass it to the index page
lang.setObject("disablePopup", disablePopup); <div id="dirPane" data-dojo-type="dijit/layout/AccordionPane" data-dojo-props="title: 'Route By Address', selected:false" onclick="disablePopup();"> where we control the popups based on the base widgets' active state when the div becomes active, which is essentially how I am handling the measure and draw tools as well when I need to prevent the infoWindow. For whatever reason I couldn't see same logic pattern here . . thanks again!
... View more
12-31-2014
06:22 AM
|
0
|
0
|
923
|
|
POST
|
Hi, can anyone tell me what the ActivateButton is aliased as? I'm referring to the same tool contained in the measurement dijit, where I disable my info window on click when one of the three measurement tools are active. Please forgive the lack of formatting here, I'm having to post this question from my cell phone. Thanks David
... View more
12-30-2014
09:31 AM
|
0
|
2
|
4833
|
|
POST
|
We copy features as well, and feature class to feature class to handle our spatial views as we found that xml workspace document export had trouble handling them. It's quite possible that has changed since 10.1.
... View more
12-30-2014
08:46 AM
|
0
|
0
|
5053
|
|
POST
|
Sure thing. It ought to be pretty similar though. Just have to modify the function properites and constructor options ...
... View more
12-29-2014
02:31 PM
|
0
|
0
|
3097
|
|
POST
|
Hi Alice- I should post this in the Javascript API Place but in the meantime here is a date convert function we put together for EST, where the constant value is the GMT offset for EST in seconds. convertDate = function (jsDate){
//console.log(jsDate);
var myDate = locale.format(new Date(Math.abs(jsDate + 14400000)),{
selector: "date",
datePattern: 'MMMM d, yyyy'
});
//console.log(Math.abs(jsDate + 14400000));
return myDate;
}; You'll need "dojo/date/locale" and "dojo/number" for JS, not sure what would be used in the other APIs. I strugggled with this one for awhile so I hope this helps! David
... View more
12-29-2014
02:20 PM
|
0
|
2
|
3097
|
|
POST
|
Jeff, I can confirm your findings as well, using my local WebMercator geolocator along with my local routing service. I also found that if you move the origin stop on the map, I have to also move the destination stop or the route will nor draw. If I move just the destination stop around, the route will continue to recalc and draw. Valueso outside my geocoder extent populate lat lon values in the boxes Also, does anyone know how to get at the interactive controll so I can disable my pop up while it is active?
... View more
12-23-2014
01:28 PM
|
0
|
4
|
1328
|
|
POST
|
David, I'm sure you have checked this, but are you sure that you are running everything from a shared location and all accounts that need read access have read access to your directories? David
... View more
12-22-2014
06:47 AM
|
0
|
1
|
2531
|
|
POST
|
Good to hear as well, Jeff. Also typo on the GlobalIDs inclusion for Mobile, I meant GlobalIDs from the right-hand participating in a 1:M relate. For 1:1 I don't think it matters. It would be interesting to determine best-practice for an N:M - i.e. which globals to include?
... View more
12-11-2014
08:31 AM
|
0
|
0
|
1979
|
|
POST
|
Hi Vince et al: I am pleased to report that at SQL Server 2012 we have experienced no issues with spatial view creation and management via SSMS. In this instance, we re-created a standard parcel left outer join with property records. Draw performance between 2012 and 2008r2 is about the same. We were hoping for greater performance, but at least we did not experience a degradation. No issues with the SQL Geometry's Shape column. No issues serving the views or consuming in a Mobile application (read-only) as we include the GlobalIDs from the left hand side.
... View more
12-09-2014
01:23 PM
|
0
|
2
|
1979
|
|
POST
|
Hi Geoffrey- I ran the exact same script except I executed directly from the python idle and it works just fine. If you do run the script directly from the python idle, note that it wants to run in the 32-bit version: Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win32 not the 64-bit version. My file looks like: User,Role,RoleType,Password,Email,FullName,Description scae,AddressEditors,ACCESS,password,[email protected],scae,AddressEditor Top row is read in as the header, all subsequent rows contain your values. If the ROLE already exists, the script should ignore and populate the rest into your store. Hope this helps
... View more
12-08-2014
02:29 PM
|
0
|
0
|
1199
|
|
POST
|
In order to use the basemap dijit, just take a look at the api sample here: Basemap Toggle | ArcGIS API for JavaScript The toggle is designed to switch from an esri defualt base map to a second esri base map, like the ArcGIS satellite. Since you are tyring to add custom basemaps, you should use the baseMap gallery dijit. After the basemap loads, set up and call a createBaseMap funcition, pushing the basemap as defined by the basemapLayer into a basemaps array: createBasemapGallery();
function createBasemapGallery(){
var basemaps = [];
var wrldStreets = new Basemap({
layers: [new BasemapLayer({
url:"http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"
})],
title: "World Streets",
thumbnailUrl:"css/WorldStreets_r1.png"
});
basemaps.push(wrldStreets); Then, set up an image base map layer and push that into the array as well: var wrldImg = new BasemapLayer({
url:"http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"
});
var img2014Bm = new Basemap({
layers:[wrldImg],
title:"2014 Imagery",
thumbnailUrl:"css/Aerial2013r2.png"
});
basemaps.push(img2014Bm); Then add the basemaps array to the basemap Gallery: var basemapGallery = new BasemapGallery({
showArcGISBasemaps: false,
basemaps: basemaps,
map: mapMain
}, "basemapGallery");
basemapGallery.startup();
basemapGallery.on("error", function(msg) {
console.log("basemap gallery error: ", msg);
});
} Be sure to close the function, no need to call the default esri base map or on a load event, or load the basemap layers with an on-style event.
... View more
12-01-2014
10:49 AM
|
0
|
0
|
1869
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | a month ago | |
| 6 | a month ago | |
| 1 | 06-17-2026 06:04 AM | |
| 1 | 06-08-2026 08:37 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|