|
IDEA
|
Wanted to follow up with Ronnie Richards and Melissa Northey's last posts... No reported issues with using DNS aliasing when switching to a new DB instance? I'm going from one set of SQL Servers to a new set of SQL 2017 boxes and can't even imagine tracking down all the SDE connection files, etc. So I'm talking to DBA/Server team about setting up aliases.
... View more
10-22-2019
08:50 AM
|
0
|
1
|
3689
|
|
POST
|
is this maybe a matter of privileges? Publish geoprocessing services in ArcGIS Pro—ArcGIS Pro | ArcGIS Desktop You can only share a geoprocessing service with administrator credentials and connection type.
... View more
10-22-2019
07:57 AM
|
0
|
0
|
583
|
|
POST
|
Very helpful! Just had to reinstall Portal and federate AGS again after some server name changes. It was weird to see now servers listed under 'Federated Servers', yet not be able to Add them. Now, however, I'm getting an error about 'Failed to validate the server managed database' when setting one of my federated machines as Hosting Server. I had left that AGS alone while only re-installing Portal. Any pointers? (realize this is an old thread)
... View more
10-21-2019
03:04 PM
|
0
|
0
|
7494
|
|
POST
|
Raluca, thanks for hearing my plea! I've looked at the Kansas example before, and it is actually a very similar scenario (same industry, same kind of data) to mine. The main difference is that I was working with an extremely limited data set just to see how to set it up. I have been using 4.12. Yes, navigation is more or less impossible. What do you mean by "adding features in the background" specifically? Use a larger data set so that there are features in the background? Ignoring all the detail for popups and renderers, the only piece of interest in the code is the definition of a clippingArea around an extent. Dos that do more than keep the visualization clipped a geographic extent? // The clipping extent for the scene
var kansasExtent = {
// autocasts as new Extent()
xmax: -10834217,
xmin: -10932882,
ymax: 4493918,
ymin: 4432667,
spatialReference: {
// autocasts as new SpatialReference()
wkid: 3857
}
// Use the exent defined in clippingArea to define the bounds of the scene
clippingArea: kansasExtent,
extent: kansasExtent,
// Turns off atmosphere and stars settings
environment: {
atmosphere: null,
starsEnabled: false
}
... View more
10-21-2019
11:13 AM
|
0
|
0
|
1577
|
|
POST
|
So I have been wanting to experiment with 3D using the Javascript API. As a scenario, I've chosen to visualize subsurface wellbores/boreholes. After creating a 3D feature class and publishing it as a map service, I bring it into my map and show it in a SceneView. So far so good. The features below the surface look great but navigation is really touchy and it's easy to pan 1000s of miles. from you where want to be. Right now, I've kept it as simple as below. Experiments with other constraints have not been fruitful. var map = new Map({
basemap: "topo",
ground: "world-elevation"
});
map.ground.navigationConstraint = {
type: "none"
};
var view = new SceneView({
container: "viewDiv",
map: map,
center: {
x: <x>,
y: <y>,
},
zoom : 12,
viewingMode: "local",
}); I heard someone mention that this is common and that it helps to add some kind of background so the panning tool doesn't grab the horizon and take you to Neverland... something like that. Does thing ring a bell, is this a common back?
... View more
10-17-2019
11:06 AM
|
0
|
2
|
1676
|
|
POST
|
Whether bug or mere oversight on my end, this was extremely helpful. Among all the examples of creating features from points, there are no good examples for 3D, not to mention one that shows this syntax. Saved the day!
... View more
10-15-2019
03:04 PM
|
0
|
0
|
3212
|
|
POST
|
I am noticing some unexpected behavior with scale based symbologies and the out of the box legend widget in Web AppBuilder for Developers (v2.12). After playing with the scale based symbologies in Pro, I noticed that while the symbologies display correctly over their respective scale range in a WAB built application, the legend widget will show only one symbology, in my case that which is specified at the maximum end of the scale. That means if zoomed out all the way, your legend does not match your map. Say, you have a poly layer with fill color red up to 1;100,000 and fill color blue when zoomed in past 1:100,000, my legend shows only blue regardless of the current map scale. Am I doing something wrong, is there a work-around ?
... View more
10-11-2019
10:59 AM
|
1
|
3
|
1502
|
|
POST
|
Kelly, Should my takeaway from your comment here be that overwriting a map service on a federated ArcGIS Server through Pro assumes that it was originally published with Pro? As part of the migration to Enterprise/Portal, I published a bunch of maps using the Python API (not the old arcpy) to a federated AGS. As an preparatory step I had imported old MXD's into APRX projects and then scripted the publication to web from there. Now, I'm in Pro tweaking some of these maps and want to republish them as map services but I get this context rich error message... Failed to publish web layer I'm assuming that Pro is expecting to find an SD file somewhere other than the path I had referenced in my Python code, correct? If that's in fact so, how can I create a SD file through Python going forward that Pro can later read? I'm not familiar with the internals of the SD file. I've looked at the draft files, and they contain references to staging directories or the publishing machine, etc. Long story short, what's a safe practice for mixing publishing through the Application and through Python API?
... View more
10-11-2019
09:41 AM
|
1
|
2
|
3905
|
|
POST
|
Has there been any change to this in later versions of Pro? I'm still using 2.2 and have found no better way than Kate's hack to show a feature with one symbology upto scale X and then with another symbology. Having to create classes for that seems silly.
... View more
10-10-2019
12:43 PM
|
0
|
2
|
3890
|
|
BLOG
|
Thanks, Robert. Yes, I will gladly own up to being a professional in-betweener. Although I'd argue with me being "the issue". Haha. Sounds like you're saying I just haven't waded deep enough into the widget waters? I did work through the tutorial on creating custom widgets once a few months back and looked at the samples in the WAB folder: … \arcgis-web-appbuilder-2.12\client\stemapp\widgets\samplewidgets\CustomWidgetTemplate It just wasn't nearly as much fun as working with the API. I guess in my mind I just kept thinking: there's gotta be a better way! But in the absence of one, I will see what I can learn about this approach. Appreciate your pep talk and will see if additional effort with jimu pays dividends. Thanks for all you do on this forum!!
... View more
10-01-2019
02:22 PM
|
2
|
0
|
4268
|
|
BLOG
|
Thanks for sharing your thoughts and providing some helpful feedback. I couldn't agree more with you on the shortcomings one is faced with once headed down the WAB highway. Now, I wouldn't call myself a developer. I do too many other things in GIS and suffer too many distractions to focus on straight up developing. But I've spent a good amount of time working with and learning the JavaScript API. Coming from a Python background, I was surprised to actually enjoy coding with JavaScript. But the chasm between the WAB world and the world of using the API strikes me as ridiculous. Yeah, yeah, it's all JavaScript. But why come up with one neat n' clean API and then muck it up to make it work with WAB!? I get it: WAB gets you a quick "deliverable" and it allow folks who can't or don't want to write a line of code to make a web map. But I need a lot of custom widgets, and the process of marrying some custom functionality I create with the API to some widget like UI element has been confusing. I gave up when I found myself reading about jimu and not getting it. Instead, I went back to creating some HTML buttons and calling my JS functionality from a click there, and have been playing with Calcite Maps. You can still share your app through Portal. You just can't let folks plug and play with widgets. I've posted here and there about this general dilemma and never get any feedback, so I have to wonder what most people do. Those I've spoken with at the Dev Summit or other ESRI events have all urged me to not go down the WAB path if I'm expecting to want to do custom stuff. Regardless, I've gone so far as learning some Typescript to follow the How-To for custom widget development. But I just couldn't help thinking there should be a better way. So if you or anyone else is willing to share their secret sauce, I'm all ears. Maybe I should do a survey?
... View more
10-01-2019
11:53 AM
|
1
|
0
|
4268
|
|
POST
|
1) Yes, but my default printer in general, may not be the default printer for a given project. With half a dozen printers and 2-3 plotters around it would be nice if that were saved with the project. 2) I don't ever print any maps. But lots of folks doing desktop GIS stuff I work with do. Thanks for chiming in, Tyler.
... View more
10-01-2019
11:21 AM
|
0
|
0
|
4540
|
|
POST
|
Very surprised this thread has been so quiet. For all the bells and whistles of Pro that ESRI always touts, every extra mouse-click the average user has to execute is a step back in the evolution of desktop GIS. I've been getting complaints about Pro always reverting to the default printer after your open a project, and I have replicated this. There isn't that much documentation about pro printing.This is what I'm seeing: https://pro.arcgis.com/en/pro-app/help/sharing/overview/print-a-map-or-layout.htm I've tried both Map and Layout printing, and I've been unable to do what the documentation says: Click OK to print, or click Apply to commit your options without sending the job to the printer. There is no way for me to 'Apply' in the hopes of saving my printer choice with the project. The button is always greyed out, no matter what printer I try. I can print to any machine, I just can't save that setting. Bug? arcgis pro layout
... View more
09-26-2019
09:27 AM
|
1
|
3
|
4541
|
|
POST
|
Nathan, sorry to hear about your issues. Sounds like you're getting wires crossed with your Python versions. That's been driving me crazy in the ESRI world for some time. Different Python releases, different versions of arcpy between ArcMap and Pro. Gets confusing. All I can suggest is uninstalling all your Python versions and taking good notes of any changes. Do you have multiple environments set up in... C:\Program Files\ArcGIS\Pro\bin\Python\envs? Sometimes, changing environments or creating a new ones has helped me out of pinch. # list environments in conda
conda env list
#switch environmente
conda activate <my-environment> Some helpful documenation: Managing environments — conda 4.7.12.post21+f620e4da documentation
... View more
09-19-2019
09:57 AM
|
0
|
6
|
3551
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-16-2025 07:32 AM | |
| 1 | 02-09-2024 05:18 PM | |
| 1 | 02-04-2025 09:27 AM | |
| 1 | 03-22-2019 10:55 AM | |
| 1 | 03-05-2020 08:46 AM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|