|
IDEA
|
Amazon does exactly what you're talking about and does it without credits. Except for the class warfare bit it was a nice try, but credits are pretty indefensible.
... View more
02-11-2019
10:48 AM
|
0
|
1
|
2278
|
|
POST
|
Hi David, Simply want annotations that are a fixed dimension regardless of map scale. I do have Enterprise 10.6.1. I created a service with labels enabled, and it's for a fairly large layer, so the performance was not very good. Without spending half a day creating/appending multiple annotation classes at different levels, is there a more direct way for me to ensure font sizes in an annotation class always display relative to the screen/page, rather than the map scale? Thanks!
... View more
02-01-2019
04:36 PM
|
1
|
1
|
3342
|
|
POST
|
I have a set of labels in an ArcGIS Pro map. I remember in ArcMap you could create the annotations in the MXD and set the reference scale to 0, which would give you dynamic labels at any map scale. I'm struggling to figure out how to obtain the same result in Pro. I've got the Convert Labels to Annotation tool which doesn't seem to do dynamic layers, only offering me a pulldown menu of fixed conversion scales. Can someone tell me how to create annotations, which I can publish via service, that display at a constant page/screen dimension?
... View more
01-31-2019
11:15 AM
|
1
|
7
|
3709
|
|
POST
|
Mark, thanks for the reply - I went and typed it back in from scratch, and it worked - what can I say, regex is tricky sometimes, though my face is a bit red for submitting a question that ultimately was due to my own typo!!
... View more
01-23-2019
12:55 PM
|
0
|
0
|
654
|
|
IDEA
|
This one is really a no-brainer. A layer package is a really efficient way to bundle up content and symbology since it's a FGDB under the hood. I'm in a community that depends far too heavily on KML to pass content around, and this would help us start to get off the crack by providing a nice, simple, no-fuss way to pass around symbolized content. Scene layer packages are already supported in Earth - bring regular layer package support please!
... View more
01-23-2019
12:53 PM
|
8
|
1
|
1059
|
|
POST
|
I've got a bunch of OpenStreetMap content that I'm trying to label (ArcGIS Pro 2.2.4) based on whether content is found in the other_tags field. Here's what I'm trying to do in the expression editor (Python): def FindLabel ( [other_tags] ):
import re
ls = [other_tags]
slabel = re.search('"name:en"=>"(.*?)","', ls)
return slabel.group(1) It says "NameError: name 'FindLabel' is not defined Which is weird because if I remove the "," from the regex operation and do this: def FindLabel ( [other_tags] ):
import re
ls = [other_tags]
slabel = re.search('"name:en"=>"(.*?)"', ls)
return slabel.group(1)
it renders as valid, although it prints out everything beyond the "name:en"=>" string. I have also tried this, which validates but returns nothing: def FindLabel ( [other_tags] ):
ss = [other_tags]
ls = ss[ss.find('"name:en"=>"')+1:ss.find('"')]
return ls Here is a bit of the sort of substring someone could expect to find in OSM's other_tags: "int_name"=>"Dubai","is_in:continent"=>"Asia","is_in:country_code"=>"AE","name:en"=>"Dubai","population"=>"1984000".... Can anyone help me to get this label expression working?
... View more
01-18-2019
11:52 AM
|
0
|
2
|
782
|
|
POST
|
Hi, I would like to enable a KML service on a service I'm publishing from Pro (2.2). Content is all vector. Here's what I'm doing. I publish it as both a Map and Feature service. However my end customer primarily needs KML. So, I don't see KML as an option in the service creation screen in 2.2. Ok, so I go to the Server Manager that hosts services for my Portal instance (jeez this is already getting so confusing), and I click on the Capabilities there. No KML. Huh? So I go to ArcGIS Desktop 10.6.1 and connect with admin credentials to my AGS instance, stop the service, examine its properties and lo and behold there is a KML checkbox. I check it and leave defaults enabled. I hit OK, and here's what I get: ERROR: 'AGSMembershipProviderWrapper' is not a valid extension type for 'MapServer'. How do I publish from ArcGIS Pro and create a KML network link? Since KML has long been an OGC standard I would assume this should not take moving heaven and earth to do, and I'm probably missing something very simple.
... View more
11-05-2018
12:14 PM
|
1
|
6
|
1687
|
|
POST
|
I have a model that does a really simple Raster Calculator operation: "%Output accumulation raster%" >= 150 That's it. I have been racking my brain trying to figure out how do I get this into a python script? I have been looking at A Quick Tour of Using Map Algebra and frankly I'm overwhelmed because I don't have bundles of time on my hands, and I'm just trying to do something very straightforward somewhat quickly. I feel like I need to see a very specific, hand-holding, with reasons, example of taking this Raster Calculator expression and putting it into Python (3.6, ArcGIS Pro 2.2). Part of the code in question looks like this (yes, I'm using Spatial Analyst hydrology tools here): outfill = Fill(raster)
outFlowDirection = FlowDirection(outfill, "NORMAL")
outFlowAccum = FlowAccumulation(outFlowDirection)
stream_raster = Raster(outFlowAccum >= 150) #this is the part that fails
I'm sure this is really 101 but nevertheless, I'd appreciate any guidance.
... View more
10-24-2018
11:51 AM
|
0
|
5
|
1818
|
|
POST
|
Kory, yes, there was a resolution. It turns out that I had as my only Portal connection, a SSL cert-authenticated Portal. Something was happening with Pro that would not send the SSL connection to the foreground. Once I removed that connection from the registry, ArcGIS Pro started up normally. My thought is that this should probably be captured as a bug, as it is repeatable and I have seen it on other workstations. It was a simple fix for me because I was able to switch to my local (username/pass) Portal. However, this could be a problem for those users in certain communities who only have connectivity to client-cert-validated Portals.
... View more
10-24-2018
11:32 AM
|
2
|
3
|
3695
|
|
IDEA
|
I just want to add that because of this limitation, I am doing the following extremely dubious workflow - I am doing an automatic "project this raster to the correct UTM zone" script that is meant to be a part of a larger model run by many users with varying levels of connectivity to data. So, in the script I put the entire UTM grid in geojson, perfect use case for a geojson string, nobody has to worry about external files, I should be able to simply spatially join the extracted raster geometry (center point) to the grid, keep only common, and read the attributes for the containing zone. Right? Currently I have to take that text, dump it to a file on the user's temp directory, then re-read the file in, and convert it to a feature. (facepalm)
... View more
10-18-2018
09:42 AM
|
0
|
0
|
2103
|
|
IDEA
|
As far as I'm aware the arcpy.JSONToFeatures_conversion utility only takes a flat file, e.g., your-json-file.json sitting in a directory. I would like to suggest that this utility provide support for strings embedded right in one's script instead of having to summon os and mess with paths. So basically instead of: import arcpy import os file = your_file.json path = r"C:\Temp" json_file = os.path.join(path, file) arcpy.JSONToFeatures(json_fileaaaaahhhhh just makes my head hurt writing it) it should be like this: import arcpy json = { bunch of json/geojson } arcpy.JSONToFeatures(json, output) Currently, the second approach throws a series of GP errors as it does not appear the tool is set up to handle strings but only files.
... View more
10-18-2018
09:37 AM
|
6
|
3
|
2274
|
|
POST
|
Hi Robert, it's not as simple as antivirus (McAfee) but HBSS and all that jazz. I'm just working with IT to reimage the box because I've got a lot of cruft from former versions and now-obsolete tweaks I've done to get various versions of python and anaconda working properly together. I did by the way, scrub the registry after uninstalling everything Esri, and continue to experience the problem, so I think re-imaging is the next logical step.
... View more
09-07-2018
09:35 AM
|
0
|
7
|
3695
|
|
POST
|
ArcGIS Pro 2.2 is stuck on startup at the Initializing... splash screen. I have let it sit there for 20 minutes before killing the process. It will no longer open at all. Here's what I've tried. - Uninstalling ArcGIS Pro. - Deleting all ArcGIS Pro-related directories under my user profile. - Reinstalling ArcGIS Pro. The problem continues. My workstation is capable. Intel Xeon, 3.4ghz, 24 cores. 128GB RAM. Nvidia Quadro K5200. Windows 10. ArcGIS Pro is installed to C:\ArcGIS\Pro in order to give me the write access I need to install Python libraries and modify conda settings. Installing to the default \Program Files\ is not an option for it is not writable by policy. (Incidentally, I found that you can't install the offline help if you've installed Pro to a non-standard location... thanks Esri) Short of getting a local admin to log me on, and combing through the entire flippin registry to delete every single trace of ArcGIS Pro, does anyone have any suggestions of things I could try?
... View more
09-06-2018
07:17 AM
|
1
|
10
|
6219
|
|
POST
|
I have a lot of geopositioned 3D content in KML. This is stuff created in SketchUp. I would like to publish this content as local scenes via my Portal. However, ArcGIS Pro (2.2) says "Layer's data source is not supported." (24078 error) Sigh. Fair enough, but what is the conversion workflow? Obviously I am not going to burn thousands of manhours recreating high-precision 3D content in ArcGIS Pro from scratch. I am not married to the KML format, but SketchUp will invariably be used to create the models. So at a minimum, I will need to be able to import a .dae (collada) model even if I have to texture it in ArcGIS Pro.
... View more
08-28-2018
01:19 PM
|
1
|
0
|
805
|
|
IDEA
|
This is sort of old but I'll lend my voice to it - our office tends to avoid shapefiles because of the various limitations (field/value lengths, date/time storage, no domains/subtypes, etc etc). So now ArcGIS Earth is getting better, but it does us no good because flat files are not in our workflow and we don't put our working files on Portal. There is an in-between class of 'working layers' of features stored in FGDB. Support for FGDB should be common across the entire ArcGIS line of tools.
... View more
08-28-2018
11:44 AM
|
2
|
0
|
4802
|
| Title | Kudos | Posted |
|---|---|---|
| 4 | 02-03-2025 01:29 PM | |
| 1 | 01-31-2019 11:15 AM | |
| 1 | 03-29-2022 12:18 PM | |
| 1 | 05-21-2024 12:32 PM | |
| 1 | 05-21-2024 01:03 PM |