|
POST
|
Klemen Prah, I see @Neil Ayres has already figured it out. Your spatial reference properties are slightly (or may be more than slightly) different than the WGS 1984.If you export your spatial reference to a string you'll see that the circleed part is different: In the installed WGS 1984 this value is: -400 -400 11258999068426.2 In your WGS 1985 this value is: -400 -400 1111947193.4591; I don't know whether this different is causing the error. You can Project your data to WGS 1984 using the Project tool (Data Management Tools toolbox) and then try again.
... View more
06-04-2019
09:15 AM
|
2
|
0
|
1301
|
|
POST
|
I now see that your input coordinate system is "WGS 84" (World Geodetic System 1984) - Esri probably does not have this coordinate system in projection engine library. Most probably it's a custom coordinate system? Is this coordinate system registered with EPSG?
... View more
05-31-2019
09:20 AM
|
2
|
2
|
1301
|
|
POST
|
With your data I can see a valid transformation showing up. However, I'm on 10.7 - which version of Desktop you are on?
... View more
05-30-2019
09:15 AM
|
0
|
1
|
4016
|
|
POST
|
Hi Klemen Prah, could you please let us know the geographic extent of your input data?
... View more
05-29-2019
09:22 AM
|
0
|
4
|
4027
|
|
POST
|
Could you please share a screenshot with the inputs to Project tool? Which version of ArcGIS you are on? ArcGIS Desktop (ArcMap) or ArcGIS Pro?
... View more
05-28-2019
09:04 AM
|
1
|
3
|
4021
|
|
POST
|
Okay, I got it now. Here is the code that runs successfully for me: var fields = "AAA TEXT 'A A A' 255 # #;BBB LONG 'B B B' # # #;CCC DOUBLE 'C C C' # # #"; # within double quote: field_name, field_type, field_alias, field_lenght (for string) # for multiple fields (AddFields tool), separate two fields by semicolon I got this syntax by running the tool via tool dialog and then drag-dropping the result from History tab to Python window.
... View more
05-02-2019
05:31 PM
|
0
|
0
|
1827
|
|
POST
|
This is interesting - we will look into this and post back.
... View more
05-02-2019
02:35 PM
|
0
|
0
|
2055
|
|
POST
|
Instead of calling Add Field 6 times you can call the new tool (only in Pro) Add Fields (multiple) once to add as many fields as you want. It'll create only one call. https://pro.arcgis.com/en/pro-app/tool-reference/data-management/add-fields.htm A geoprocessing tool has the benefit of taking care of some underlying validation and error checking tasks. The cost is time - it may take little extra time in doing so. For example, you are calling Add Field - such as, data validation, You are calling course-grain Geoprocessing tool multiple times. Calling Add Field 6 times will need 6 validate/error checking and so on. In such cases, you can use fine-grain functions of Geodatabase library - starting from building the schema and so on. That'll be much faster.
... View more
05-02-2019
02:34 PM
|
0
|
2
|
2055
|
|
POST
|
It is recommended that a user always check the tool's documentation page to make sure the data type of each parameter. For example the doc for the tool is here - you can jump to this page by clicking on the help button (? mark). https://pro.arcgis.com/en/pro-app/tool-reference/data-management/calculate-geometry-attributes.htm There you'll find the syntax: CalculateGeometryAttributes_management (in_features, geometry_property, {length_unit}, {area_unit}, {coordinate_system}) Below the syntax, you'll see data type of each parameter, with explanation and valid values.
... View more
05-02-2019
02:01 PM
|
0
|
2
|
1827
|
|
POST
|
Our system is not letting me download from the link – you can send as zip attachment.
... View more
04-17-2019
09:13 AM
|
0
|
1
|
946
|
|
POST
|
You can change schema from within the app (such as from Python window) as the app knows the state. But, if you are outside of app, such as in a python script (called from a .Net Addin) then you are foreign to the app ☹ I’ll play with your script and get back to you ☺
... View more
04-17-2019
09:12 AM
|
0
|
0
|
4493
|
|
POST
|
The error returned is the correct error as when a table is open in a Map its schema is locked (AddField is trying to change the schema) for any external program (such as a Python script). There is a screen shot of the error message (ERROR 000464) here: https://community.esri.com/thread/232293-use-python-script-tool-from-net-arcgis-pro
... View more
04-16-2019
03:17 PM
|
0
|
5
|
4493
|
|
POST
|
Hi Gauthier, Most probably it’s a bug – I have also seen this error yesterday ☹ Could you please do this and let me know what happens? Run the same python code in Pro app’s Python Window while keeping the point layer displayed.
... View more
04-16-2019
09:01 AM
|
0
|
0
|
4493
|
|
POST
|
Both arcpy.management.Copy(... parameters..) and arcpy.Copy_management(... parameters ...) are equally valid and interchangeable for all tools. More generic is: arcpy.toolboxalias.toolname(parameters) or arcpy.toolname_toolboxalias(parameters)
... View more
01-16-2019
10:17 AM
|
0
|
0
|
533
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-18-2019 03:56 PM | |
| 1 | 05-06-2020 01:18 PM | |
| 1 | 07-23-2021 10:33 AM | |
| 1 | 07-28-2020 09:10 AM | |
| 2 | 07-27-2020 04:47 PM |
| Online Status |
Offline
|
| Date Last Visited |
10-25-2021
03:13 PM
|