|
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
|
2837
|
|
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
|
2837
|
|
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
|
1135
|
|
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
|
2248
|
|
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
|
1732
|
|
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
|
1732
|
|
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,scae@esri.com,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
|
1092
|
|
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
|
1567
|
|
POST
|
Vince - Yes thanks rest assured we review proceedures with each release. Yes, we are at 2008R2 and want to move to 2012 but are trepidicious about geometry performance. My post SQL Server 2012 and 2008: Geometry Performance | GeoNet asks whether anyone has experienced increased or decreased geometry performance at 2012 but it has recieved no replies since June of this year. As an SDE admin, I dislike using spatial views but must for certain datasets. Performance is always an issue, and they are clunky to serve.
... View more
11-12-2014
01:54 PM
|
0
|
0
|
1732
|
|
POST
|
Thanks. I believe Ronnies comment from 2 weeks ago says that the issue still exists. Like you say, we're just dealing with it. Long-term, I am always concerned with constantly stopping and starting the Server windows service from a stability standpoint, so hopefully esri will resolve this locking issue (soon!)
... View more
11-12-2014
11:30 AM
|
0
|
4
|
2070
|
|
POST
|
Hi Vince- We are at the latest 10.2.2 patch release, with SQL Server 2008. To be honest, I don't really know other than we always had difficulties registering our spatial views if we created them in the RDBMS first, as the operation would throw an error, either in command line or in the GUI. I suspected that the system tables weren't handling the Shape column and so we always relied on create_view (hence my disagreement with 'rarely used'). I understand that each storage type has a best practice, but haven't read any documentation stating that when using SQL Geometry views should be constructed via the RDBMS. We'll be performing some more testing and I'll get back to this thread asap.
... View more
11-12-2014
11:00 AM
|
0
|
5
|
1732
|
|
POST
|
I certainly agree with you Jeff. My guess is true centering would require handling screen dimensions and pixel densitites?
... View more
11-12-2014
10:37 AM
|
0
|
0
|
367
|
|
POST
|
You are correct Bob. I started this thread because, at 10.2.2, the locks were not being handled when caching services under load in a clustered environemnt. Prior to 10.2.2 we experienced many incomplete caches, but we never encountered the cache corruption due to a .bundle files' exchange (bundlex) file being removed without also removing the bundle. The whole point here is that prior to .2, caching services under production was a never a problem in a clustered environment. We may have had to re-create missing tiles, but never had bundle file removal issues and as such never had to create and cache staging services. Now, I have essentially re-instanciated my pre 10.1 method of caching a stage service, and then moving its bundles into my production services' layer directory structure. Disappointingly, as of yesterday's testing I re-discovered that in order to completely remove the production cache files, I must stop the ArcServer service on each produciton machine.. In earlier testing, I was somehow I was gettting away with only stopping the production cachce service (apologies to Bob).
... View more
11-12-2014
10:17 AM
|
0
|
11
|
2219
|
|
POST
|
I totally agree with Jeff. We have always created our spatial views in CommandLine and then modified them as necessary in SSMS since 2006, and since moving to SqlGeometry in 2010. We have never gotten consistent results using Vinces' method becasue of the behavior diffculties with SQL Geometry Shape column. So, I would say that I don't agree with his 'rarely_used' assessment.
... View more
11-12-2014
09:56 AM
|
3
|
7
|
2372
|
|
POST
|
I have no idea either as ESRI hasn't put up the NIM list yet. David
... View more
11-12-2014
09:34 AM
|
0
|
0
|
1258
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-27-2026 01:27 PM | |
| 2 | 03-25-2026 06:29 AM | |
| 2 | 03-04-2026 11:14 AM | |
| 1 | 02-26-2026 09:46 AM | |
| 1 | 10-30-2025 11:25 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|