|
POST
|
Hi, I am currently making a webMap in ArcGIS Online. In the symbology, because I cannot display points as pie charts (it looks like it is not possible, just as in ArcGIS Pro but was possible in ArcMap), proportional to a total, I am trying to display these pie charts in Pop-Ups. In the Configure Pop-up, in the Pop-up Media section, I can make Pie Chart but customization is fairly basic. I would like to display attribute values around the pie chart instead of mouse over to get the attribute values. Is it possible? Also, my attribute values are in km2. In order to understand the units, is possible to round the values and add the "km2" suffix? Also, I would to use doughnuts as it looks stylish but this option is not available. If this is not possible to customize Pie charts as I mentioned here, is it possible to customize it with API for JavaScript? Thanks
... View more
12-04-2019
06:14 AM
|
1
|
1
|
2613
|
|
POST
|
Hi, I am currently testing options to share web layers from ArcMap to ArcGIS Online. However, if I right-click a layer in the table of content and select Create Layer Package , I either Save the layer as a .lpk file or upload it directly on ArcGIS Online. Once uploaded in ArcGIS Online, the shower shows just as Layer in Content. In order to use it in MapViewer to create WebMaps and then WebApps, I need to publish it as Feature Layer (hosted). How can I publish in ArcGIS Online? I have the same question with Layer Package I uploaded. How tu unpack it on ArcGIS Online and then publish it as Feature Layer (hosted) ? Thanks
... View more
11-26-2019
09:01 AM
|
0
|
1
|
791
|
|
POST
|
Thanks for all your suggestions... Initially, I was asking how to use an expression to replace Null to 0 on a single line in Calculate Fields in order to use a generic expression stored in a model variable in ModelBuilder... All the solutions mentioned above worked but I always have to "hard code" the field name in the expression and this cannot use it as a generic variable in ModelBuiler. It that's make sense.
... View more
10-14-2019
05:50 AM
|
0
|
1
|
9835
|
|
POST
|
Hi, Data in FGDB have Null values by default in numeric fields. When performing calculation, it cannot sum fields where Null values occur. My question is how to replace all Null values to 0 - in several/all numeric fields - in one go? Or, potentially, I can use the Calculate Fields tool but what could be an expression to replace Null to 0 on a single line (cannot use expression on multiple line with this tool) ? On single line, I tried: if None: 0 if Null: return 0 if None: return 0 replace(Null, 0) ...obviously, none worked! Thanks
... View more
10-10-2019
05:13 AM
|
0
|
4
|
11839
|
|
POST
|
Hi Melita, Thanks for looking at my issue, as this is not an easy issue to solve and it totally freezes my work. The global country polygons I use is in WGS84 non-projected and cannot project to projections as explained earlier even using the same WGS84 datum. In ArcGIS 10.5.1, it takes about 20-30sec to project but in Pro 2.4.1 it never projects and keep trying to refresh the display (icon bottom right always busy). The only way to unfreeze the projects is to End task in the Task Manager! I tried to clip my WGS84 country polygons and it worked fine. It looks like Pro is not able to project large datasets just as if projection engine could not cope. My machine meets the recommended specs and only my graphic could be better with dedicated Gb. Would it have an effect on Pro to project data? If yes, why ArcGIS Desktop 10.5.1 can project fine? All polygons feature classes are in FGDB in WGS84 geographic: *Global country polygon: 273 features 183774 parts 28'249'171 vertices *Clipped country polygon: 5 features 750 parts 104'520 vertices Thanks for helping, it is really appreciated
... View more
09-04-2019
01:57 AM
|
0
|
0
|
1205
|
|
POST
|
Hi, I am having problems when trying projections for mapping in ArcGIS Pro. For a given project, it is always recommended to use the most suitable projection in order to reduce shape/area distortion... It is sensible. However, in ArcGIS Pro, any time I try a projection on the geographic extent of my project and/or accidently pan & zoom, the display (and the application) freezes just as if ArcGIS Pro could not "calculate" and project the data. To minimize computing, I also take care to use an unique datum. Thus projection seems to be the issue! For example, a data frame set to the built-in Europe Lambert Conformal Conic projection (in WGS84 and not the ED50), opening a WGS84 (non-prejected) country polygon dataset, it freezes the application... In ArcGIS Desktop 10.5.1, it takes 20 sec to display. Why is this happening in ArcGIS Pro?
... View more
09-02-2019
02:29 AM
|
0
|
2
|
1350
|
|
POST
|
Hi, I have a line Feature Class which I would like to convert to polygon Feature Class based on attribute value. I mean any set of lines sharing the same value stored in an attribute would convert to polygon and keep this value to distinguish polygons in the result Feature Class. The Feature to Polygon is a great tool but it planarize the polygons, meaning any overlapping polygons are lost. Is there any other tools or workaround to convert to polygon? It is like a mix of Dissolve and Feature to Polygon tool... Thanks
... View more
06-24-2019
08:53 AM
|
0
|
0
|
770
|
|
POST
|
Thanks for the clarification. In the meantime, it would be great to maintain all Domains when any geoprocessing or export are performed within the same FGDB to avoid confusion and extra work. If there was many fields referencing Domains to "repair"/"rebuilt", this could be tedious and prone to errors. This is an idea for a future Pro release...
... View more
03-26-2019
01:59 AM
|
0
|
1
|
1796
|
|
POST
|
Hi, I work with a File Geodatabase and I selected features in a features classes, right-click and Data -> Export Features. It made a new Feature Class (with same field attributes) in the same Feature Dataset stored in the same File Geodatabase. So far, all looked nice... However, I discovered that the exported Feature Class do not point to the Domains stored in the File Geodatabase! I can right-click the File Geodatabase -> Domains to visualize that all Domains are here. But how I can apply all these Domains to my new exported Feature Class? PS: If I use other Geoprocessing tools, such a Feature to Points, I have the same problem.
... View more
03-25-2019
10:19 AM
|
0
|
3
|
2172
|
|
POST
|
Probably. And it is totally normal. For any script (such as Python in ESRI) or more substantial programming, ALWAYS use simple text editor and/or dedicated IDE program. These use plain text while any advanced text editor such as MS Word or others use rich text editing (with embedded formatting tags and so on).
... View more
03-20-2019
08:11 AM
|
1
|
0
|
4333
|
|
POST
|
Hi, True, I could write my code with arcpy.da.UpdateCursor. I haven't thought about that. In the meantime, I managed to fix my code! Thanks
... View more
03-19-2019
03:55 AM
|
0
|
0
|
4333
|
|
POST
|
Hi The error was shown in the dialog box while running the script as: <function GetMessages at 0x000002F1582FCAE8> I don't know how to use traeback... Anyway, I found the syntax error in the code. The return = 'OFF' within single quotes in the elif statment should be return = "OFF" within double-quotes. Silly but it took some time to figure out where the problem was from, among variables, codeblock, logic... codeblock_source = """def getSource(elev,user_source,source,ons_off):
if elev != -9999 and ons_off == 'Onshore' and source == 'NA':
return user_source
elif ons_off == 'Offshore':
return "OFF"
else:
return source""" It all works now! And it does mean there are some subtle difference in Python in ArcGIS Desktop and ArcGIS PRO...
... View more
03-19-2019
03:53 AM
|
1
|
1
|
4333
|
|
POST
|
Hi, I have a tool based on y Python script which used to work perfectly in ArcGIS Desktop... In Pro, it does not! In a CalculateField_management statement, I use the following codeblock to calculate the value to assign. In this case, it is a String and it looks like causing the problem (I have a similar statement with similar codeblock calculating integer value and it works fine). Has the syntax for dealing with String changed slightly with Python 3 used in Pro? Something with single or double quotes? A combination of both? Thanks codeblock_source = """def getSource(elev,user_source,source,ons_off):
if elev != -9999 and ons_off == 'Onshore' and source == 'NA':
return user_source
elif ons_off == 'Offshore':
return 'OFF'
else:
return source"""
... View more
03-14-2019
09:13 AM
|
0
|
8
|
4917
|
|
POST
|
Hi, In ModelBuilder, I make good use of inline variable to parse and build feature class names. However, I'd like to go further and use inline variables in processes labels. I mean any time I run a model with a Add to Display checked on certain processes, their label names will be used to add the layers in the current Maps. However, once you run the model several times with different parameters, the layers in the table of content have similar names and it is confusing. Is it possible to use inline variable in processes label? Thanks
... View more
03-04-2019
06:19 AM
|
0
|
1
|
987
|
|
POST
|
Thanks. It is perfect! The Parse Path tool help even gives syntax to work with os module directly in Python. In ModelBuilder, the Parse Path tool is in the Uilities menu on the toolbar (and not in the toolbox) if anybody was looking for it.
... View more
02-27-2019
12:22 AM
|
1
|
0
|
1248
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-15-2022 03:32 AM | |
| 1 | 05-24-2018 02:11 AM | |
| 1 | 12-12-2023 08:54 AM | |
| 1 | 11-22-2023 08:59 AM | |
| 1 | 10-03-2023 06:03 AM |
| Online Status |
Offline
|
| Date Last Visited |
01-21-2025
06:38 PM
|