POST
|
In Pro are we able to direct connect to database DBMS (ora , sql , postgres) with multiuser environment without ArcSDE ? Thanks Jorge
... View more
12-16-2014
05:58 AM
|
0
|
1
|
3270
|
POST
|
Thanks Curtis, Did add the excepts mentioned but the script continues to fail with some complex report, i cant figure out. About the environment settings i made a print of all them. I dont see anything that would cause the crashes in my knowledge . The env.overwriteOutput i think its not important since i'm always creating the .fgdb on the fly but even i added arcpy.overwriteOutput = True See below the env's table. newPrecision : SINGLE autoCommit : 1000 XYResolution : None XYDomain : None scratchWorkspace : None cartographicPartitions : None terrainMemoryUsage : False MTolerance : None compression : LZ77 coincidentPoints : MEAN randomGenerator : 0 ACM599 outputCoordinateSystem : None rasterStatistics : STATISTICS 1 1 ZDomain : None transferDomains : False resamplingMethod : NEAREST@@ snapRaster : None projectCompare : NONE cartographicCoordinateSystem : None configKeyword : None outputZFlag : Same As Input qualifiedFieldNames : True tileSize : 128 128 parallelProcessingFactor : None pyramid : PYRAMIDS -1 NEAREST DEFAULT 75 NO_SKIP referenceScale : None extent : None XYTolerance : None tinSaveVersion : CURRENT nodata : NONE MDomain : None spatialGrid1 : 0.0 cellSize : MAXOF outputZValue : None outputMFlag : Same As Input geographicTransformations : None spatialGrid2 : 0.0 ZResolution : None mask : None spatialGrid3 : 0.0 maintainSpatialIndex : False workspace : J:/Postal/Postal/99_Geocode/_results/01.gdb MResolution : None derivedPrecision : HIGHEST ZTolerance : None scratchGDB : C:\Users\jvidin\AppData\Local\Temp\2\scratch.gdb scratchFolder : C:\Users\jvidin\AppData\Local\Temp\2\scratch packageWorkspace : J:/Postal/Postal/99_Geocode/_results/01.gdb addOutputsToMap : True fail log: Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'GpMetadataFunctions, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified. File name: 'GpMetadataFunctions, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) at System.Reflection.Assembly.Load(String assemblyString) at GetManagedType(Char* _assembly, Char* _path, Char* _className) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. Process finished with exit code -1073741819 (0xC0000005)
... View more
12-16-2014
03:43 AM
|
0
|
1
|
582
|
POST
|
I'm trying to geocode a few address using a custom model created. When running the model via model builder all runs perfectly. Also when running it via the embedded interactive python console in ArcCatalog using the following code it also runs smooth. >>> arcpy.ImportToolbox("C:\\Users\\jvidin\\AppData\\Roaming\\ESRI\\Desktop10.1\\ArcToolbox\\My Toolboxes\\usps_geocoder.tbx","geocoder") <module 'geocoder' (built-in)> >>> arcpy.geocoder_geocoder('01') <Result ''> >>> The problem occurs when trying to run it via IDE using the following code: The model has one and only one exposed parameter and it is an inline parameter %<param>% used for outputs paths creation . >it creates the output .gdb based on argument sbr and sets env.workspace to it. (works) >than when it runs arcpy.geocoder2_geocoder(sbr), in egg. sbr = '01' it fails with: **Process finished with exit code -1073741819 (0xC0000005)** not of much help. Script below. def geocoder(sbr): try: fgdb = str(sbr) + '.gdb' path = "J:/Postal/Postal/99_Geocode/_results/" env.workspace = path+fgdb print env.workspace arcpy.CreateFileGDB_management(path, fgdb) arcpy.geocoder_geocoder(sbr) except Exception as e: print e.message Really have not clue why it continues to fail, tried many things out of ideias. All the outputs of geocode_geocode() model are setted to same env.workspace created. The geocode_geocode() model -> contains 2 composite locators that run one after other. Thanks for support.
... View more
12-15-2014
12:36 PM
|
0
|
4
|
1114
|
POST
|
Hi Ruiyang , Any findings, Im also looking for similar functionality, at least something that could inform the script is still alive and running. Thanks
... View more
09-21-2014
08:39 AM
|
0
|
1
|
641
|
POST
|
Thanks David , And how about knowing the status of the process when running the geocoding via a python script, do you have any idea on that ? How to get similar information like the percentages of geocoding and records geocoded per hour , similar infos like when running from arccatalog. Most important to know that the script its still alive and running .@David Wright
... View more
09-21-2014
08:29 AM
|
0
|
1
|
491
|
POST
|
Hi , I have 10.1 SP1 installed plus the background geoprocessing patch for 64 bit geoprocessing. Im trying to geocode a large file, so wanted to take advantage of 64 bits processing. My Surprise when i try to change properties of locators to make use of runtime memory limits to more the 2024 it gives me an error saying out of range limits. How can i process set up locators as described in http://blogs.esri.com/esri/arcgis/2011/02/09/tuning-a-locator-for-improved-performance/ I also have enabled the background geoprocessing in ArcCatalog > Geoprocessing options and created a model to run the job, but when looking at taskmanager at run time its always a process of arccatalog (32bits) running and nothing related to 64 bits. Thank you in advance all the support.
... View more
05-26-2014
08:07 AM
|
0
|
3
|
1086
|
POST
|
Hello all, Any chance of importing modules like re (regex) into Calculate fields, if not could you please send some your ideias for working with regegex module to calculate some string fields. Many thanks Jorge Vidinha
... View more
05-02-2012
06:04 AM
|
0
|
1
|
425
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|