POST
|
Hello everyone,
I'm programming an application using javascript api esri 3.14, I need to copy the .png
file from the folder arcgisserver\directories\arcgisoutput\Utilities\PrintingTools_GPServer\ to another shared folder on another server, because these pictures
will be used by another application. regards
... View more
09-30-2016
08:52 AM
|
0
|
0
|
528
|
POST
|
Dear friends many grace for your help. Today I was told through the ESRI support, this error will be solved for the next version of ArcGIS Server 10.2. Meanwhile I'll try through an OLE DB connection created in ArcCatalog.
... View more
01-19-2015
12:46 PM
|
0
|
0
|
211
|
POST
|
That such. We check the DSN connection and it works, I could query the data from Excel, including the tool can be run locally from ArcCatlog and allows me to issue you ArcGis Server as you can see in the attached image, the problem I think is that ArcGIS Server not recognizes the pyodbc library. Thanks for your feedback Ivan
... View more
01-15-2015
12:50 PM
|
0
|
1
|
838
|
POST
|
thanks for your answers, exactly 10.2 ArcGis server uses 64 bits
... View more
01-12-2015
01:04 PM
|
0
|
0
|
838
|
POST
|
Such Blake T. it is installed the 64 bit version. Thank You
... View more
01-12-2015
09:01 AM
|
0
|
3
|
838
|
POST
|
Such xander_bakker. Thank you very much for your kind response, I will consider your suggestions on the concatenation of string, but as you can check in my posting the error is in the pyodbc that ArcGis server does not recognize, it is installed the 64 bit version. Thank You Ivan
... View more
01-12-2015
09:00 AM
|
0
|
3
|
838
|
POST
|
I have a scipt in Python 2.7 with the library pyodbc published as geoprocessing tool in ArcGIS Server 10.2, when running I get fatal error: import pyodbc import error: no module named pyodbc. The tool executes smoothly from ArcMap and Python IDLE. any suggestions?
... View more
11-13-2014
09:20 AM
|
0
|
11
|
5263
|
POST
|
Thank you very much for your help, I really worked very well. I blindness to be thinking only of the Python programming. regards
... View more
06-26-2014
06:44 AM
|
0
|
0
|
186
|
POST
|
Hello everyone. I have a geodatabase stored in an ArcGIS 10.2 WorkGroup SQL. I have two features: The first type point identifying customers from one location and another polygon type that identifies the parcels, the idea is to make a script that using a loop through all the points that fall on each parcel, and view the information detail of the plots and update the point layer. Perform the Python script using the "Select by Location" command but it is too slow, I would like someone to help me because I can not find anything about it. Under the script regards
... View more
06-26-2014
05:44 AM
|
0
|
2
|
553
|
POST
|
Hello everyone. I have developed a tool with Visual Studio 2010, which inserts an image. Tif to give the user click in the area of view of ArcMap, the image is inserted into the TOC but no picture in the area of view, but to move your mouse to pan tool, you can view the picture but remains visible in the area of view. I attached the script. regards Ivan ++++++ script protected override void OnMouseDown(ESRI.ArcGIS.Desktop.AddIns.Tool.MouseEventArgs arg) { IMxDocument mxdoc = ArcMap.Document; ESRI.ArcGIS.Display.IScreenDisplay screenDisplay = mxdoc.ActiveView.ScreenDisplay; punto = screenDisplay.DisplayTransformation.ToMapPoint(arg.X, arg.Y); string dir = @"\\Miserver\imagenes\"; ESRI.ArcGIS.Carto.IActiveView activeView = mxdoc.ActivatedView; screenDisplay.StartDrawing(screenDisplay.hDC, (System.Int16) ESRI.ArcGIS.Display.esriScreenCache.esriNoScreenCache); // Explicit cast. ESRI.ArcGIS.Display.ISimpleMarkerSymbol simpleMarkerSymbol = new ESRI.ArcGIS.Display.SimpleMarkerSymbolClass(); ESRI.ArcGIS.Display.ISymbol symbol = simpleMarkerSymbol as ESRI.ArcGIS.Display.ISymbol; // Dynamic cast. screenDisplay.SetSymbol(symbol); ESRI.ArcGIS.Display.IDisplayTransformation displayTransformation = screenDisplay.DisplayTransformation; IWorkspace espacio = VersionedArcSdeWorkspace("MiserverGis", "sde:sqlserver:MiserverGis", "MiBaseGis", "dbo.DEFAULT"); IFeatureWorkspace featureWorkspace = (IFeatureWorkspace)espacio; IFeatureClass featureClass = featureWorkspace.OpenFeatureClass("MiBaseGis.dbo.Grilaimg"); IGeometry queryGeometry = punto; // Create the spatial filter. "highwayFeatureClass" is the feature class containing // the highway data. Set the SubFields property to "FULL_NAME", as only that field is // going to be displayed. ISpatialFilter spatialFilter = new SpatialFilterClass(); spatialFilter.Geometry = queryGeometry; spatialFilter.GeometryField = featureClass.ShapeFieldName; spatialFilter.SpatialRel = esriSpatialRelEnum.esriSpatialRelIntersects; spatialFilter.SubFields = "NH"; // Find the position of the "FULL_NAME" field in the highway feature class. int nameNH = featureClass.FindField("NH"); // Execute the query and iterate through the cursor's results. IFeatureCursor highwayCursor = featureClass.Search(spatialFilter, false); IFeature highwayFeature = null; string varNh = string.Empty; string hoja = string.Empty; if ((highwayFeature = highwayCursor.NextFeature()) != null) { varNh = highwayFeature.get_Value(nameNH).ToString(); Type factoryType = Type.GetTypeFromProgID("esriDataSourcesRaster.RasterWorkspaceFactory"); IWorkspaceFactory wsFactory = (IWorkspaceFactory)Activator.CreateInstance(factoryType); IRasterWorkspace2 rasterWS = (IRasterWorkspace2)wsFactory.OpenFromFile(dir,0); IRasterDataset rds = rasterWS.OpenRasterDataset("h"+varNh + ".tif"); IRasterLayer rasterLayer = new RasterLayerClass(); rasterLayer.CreateFromDataset(rds); IMap mapa = activeView.FocusMap; mapa.AddLayer(rasterLayer); activeView.Refresh(); } else MessageBox.Show("image not found."); }
... View more
10-24-2013
09:27 AM
|
0
|
1
|
1868
|
POST
|
Hi all. I have developed a button for arcgis 10.0 using Visual Studio 2010 Ultimate, it reads two file tables in a geodatabase and the result is stored in another table in the same file geodatabase. Works fine on multiple computers, even with version 10.1 but in some machines I get an error: "System.Runtime.InteropServices.COMException (0x80004005): General function failure [Cuenta_Predio] at ESRI.ArcGIS.Geodatabase.ITable.Search (IQueryFilter QueryFilter, Boolean Recycling) ". The add-ins installed without problems. I will need to install something else? regards
... View more
02-07-2013
05:39 PM
|
0
|
0
|
785
|
POST
|
Good morning, I'm starting to use the Javascript API, where we work arcgisserver 10 and several map services published in our local network. I'm developing an application that the information published on Twitter, but from what I can only refer to investigate, but I need to see the possibility to create Twitter posts, hopefully someone can help me. regards Ivan
... View more
01-23-2013
04:10 AM
|
0
|
0
|
572
|
POST
|
Thanks John for your reply. As I understand the tools available ArcGIS JavaScript API are service oriented map, then what I would play my report is generated with data services with another tool in javascript, Do you have any suggestions for focus to try and solve my problem? Since I am new to javascript and have no idea how. I can think of something similar to how a printer object in Visual Studio 6.0 thanks
... View more
09-24-2012
03:55 PM
|
0
|
0
|
239
|
POST
|
Hi all. I'm new to using the ArcGIS JavaScript API, the idea is to print a form result which contains data stored in a geodatabase, oviamente will be loaded through a service. The idea is that you enter an application number and a form is printed in A4 format result directly to the printer. I would appreciate any suggestions. regards Ivan
... View more
09-24-2012
11:30 AM
|
0
|
3
|
719
|
POST
|
Thanks for the help. I try on the page you refer to test REST from the Service Directory? Because if I tested the query works from the Service Directory. I mention that my service uses a feature of land (polygons) located in a geodatabase sde, on the other hand uses a table in an IBM AS400 server that connects via OLEDB, then I made a Relate ArcMap between the feature of land and detail table. I work to check the site and navigate to the detail table using RelationshipQuery, but now I want that starting from a value stored in the table OLEDB can meet that property (polygon) is finally zooming it. In short the user places the name of the owner and should zoom the property. I'm trying first doing a query to the table oledb and I imagine with the result I can somehow use the Id and meet Relashioship ObjectId belongs to the findings, that would be my concern as I use. regards IVAN
... View more
09-14-2012
07:12 PM
|
0
|
0
|
306
|
Online Status |
Offline
|
Date Last Visited |
07-26-2021
10:37 AM
|