POST
|
Yes, I understand! I was changed to local folder already, but no work. The same error shows.
... View more
12-07-2023
06:17 AM
|
1
|
0
|
712
|
POST
|
Follow below my code: import arcpy entrada = r"D:\\Profile\\OneDrive - Imagem Geosistemas e Comercio LTDA\\Documentos\\ArcGIS\\Projects\\MyProject10\\MyProject10.gdb\\teste" recorte = r"D:\\Profile\\OneDrive - Imagem Geosistemas e Comercio LTDA\\Documentos\\ArcGIS\\Projects\\MyProject10\\MyProject10.gdb\\teste1" saida = r"D:\\Profile\\OneDrive - Imagem Geosistemas e Comercio LTDA\\Documentos\\ArcGIS\\Projects\\MyProject10\\MyProject10.gdb\\teste_saida" fst = arcpy.SelectLayerByLocation_management(entrada,'intersect', recorte) arcpy.conversion.ExportFeatures(fst,saida) No work unfortunately. Thank´s
... View more
12-07-2023
05:46 AM
|
0
|
2
|
720
|
POST
|
Hi, I would like to create stand alone script for do the select by location using two features. How can I do that? Using the documentation the error below show: ExecuteError: Failed to execute. Parameters are not valid. ERROR 000368: Invalid input data. Failed to execute (SelectLayerByLocation). Thank´s
... View more
12-07-2023
03:44 AM
|
0
|
7
|
791
|
POST
|
Hi, It´s possible orchestrate pipelines in python with arcpy library in Apache Air Flow? Thank´s
... View more
09-14-2023
06:09 AM
|
0
|
3
|
564
|
POST
|
Hi, I need to concatenate Data in Python 3, the script below is in VB. The PLANTIO field is with Date type and SAFRA text, but validation needs to be like the expression below. I've already tried transforming in ArcPRO Modelbuilder but without success. Ano1 and Ano2 = Text How can I do this? arcpy.SelectLayerByAttribute_management("Censo_view1", "NEW_SELECTION", "!SAFRA! = '" + Safra2 + "' AND !PLANTIO! >= #04-01-" + ano + " 00:00:00# AND !PLANTIO! <= #03-31-" + ano1 + " 00:00:00#")
... View more
11-26-2021
05:26 AM
|
0
|
1
|
481
|
POST
|
Yes correct but I have problem after of the concatenate: selecionado_" + Safra, Safra = 2122 (Text) NameError: name 'selecionado_2122' is not defined
... View more
11-24-2021
11:45 AM
|
0
|
0
|
1384
|
POST
|
Safra = Text Safra2 = Text SELECAO = Text "selecionado_" just string to concatenate Thank´s
... View more
11-24-2021
11:25 AM
|
0
|
1
|
1389
|
POST
|
more less I can´t simulate this field: selecionado_" + Safra + ".SELECIONADO", "[selecionado_" + Safra + ".SELECAO]
... View more
11-24-2021
10:50 AM
|
0
|
3
|
1395
|
POST
|
Hi, I'm having trouble converting this tool's expression to Python 3, could someone help me? arcpy.CalculateField_management("selecionado_View", "selecionado_" + Safra + ".SELECIONADO", "[selecionado_" + Safra + ".SELECAO] + [selecionado_" + Safra2 + ".SELECAO]", "VB", "") I'm not sure what this dot means. Thank´s
... View more
11-24-2021
10:18 AM
|
0
|
9
|
1431
|
POST
|
Thank´s, Thank you very much for your suggestion. It's a great option too!
... View more
11-24-2021
03:06 AM
|
0
|
1
|
581
|
POST
|
Thank you so much, you are fantastic... But I think I wasn't very clear, I'll need to do a numerical count, and I can't subtract string: arcpy.CalculateField_management("temp_informe_Layer", "EST_SUBREP", "" + anoAtual + " - Right( [PLANTIO],4 )", "VB", "") My data format is 23/11/2021
... View more
11-23-2021
02:15 PM
|
0
|
4
|
2659
|
POST
|
My problem is basically converting this snippet that is in VB and I can't find similar in PRO. This is a date field, and it says I can't slice a date field. - Right( [PLANTIO],4 )
... View more
11-23-2021
11:05 AM
|
1
|
0
|
2721
|
POST
|
My problem is basically converting this snippet that is in VB and I can't find similar in PRO. This is a date field, and it says I can't slice a date field. - Right( [PLANTIO],4 )
... View more
11-23-2021
11:03 AM
|
1
|
1
|
2722
|
Title | Kudos | Posted |
---|---|---|
1 | 07-09-2020 02:18 PM | |
1 | 12-12-2023 02:52 AM | |
1 | 12-07-2023 06:17 AM | |
1 | 10-12-2020 07:08 AM | |
1 | 11-23-2021 11:05 AM |
Online Status |
Offline
|
Date Last Visited |
12-12-2023
10:54 AM
|