|
POST
|
It is not. But I have an active site license for ArcGIS Desktop 10 running. I used to think that the ArcEngine RunTime was only needed for computer without an ArcGIS Desktop license. Is that not correct? My impression was that the problem was to how to connect to license server and let ArcObjects know that a license was available. your using ArcEngine runtime, even though you have arcgis desktop licence..You need to have ArcGIS Engine runtime licence..SDK lic too..if you want to use mapcontrols...You need to purchase all...you can not connect lic server or something...
... View more
01-19-2011
01:59 AM
|
0
|
0
|
1778
|
|
POST
|
I downloaded the latest Roger Dunn's manual (Working with Delphi and ArcObjects 9.3) and decided to follow the steps, even though I have ArcGIS 10 and Delphi 6. The first steps went very well and I was able to compile the ESRI Controls 10 package. Problems arose when I tried to add a Map component to my form. I got a message about the LicenseControl not being present. When I tried to add it, I was said it could not be used at design time. This subject is not covered in the document and is obviously a speciality of the new licensing system of ArcGIS 10. Do you have any advice about how to deal with this LicenseControl? Does ArcEngine Runtime is activated now ?
... View more
01-19-2011
01:23 AM
|
0
|
0
|
1778
|
|
POST
|
Thank you for your suggestion. I know there are some existing tools in the market can perform similar function. However I don't have resource to buy this tools and I cannot modify these tools. So I would like to implement it and fit to my project use. Do anyone have ideas how to implement it or sample code/algorithm for reference ? I find out some concepts (�??Medial Axis�?�, �??Skeleton�?�......) but have no idea how to implement it. Regards, Gary Sham Check below thread it may help you... http://forums.esri.com/Thread.asp?c=93&f=992&t=83405
... View more
01-18-2011
11:58 PM
|
0
|
0
|
3289
|
|
POST
|
Thank you Venkat Tammineni. The sample software just focus on point layer, but I would like to use the polygon as a input data and generate a centerline for it. Do you have any idea about this ?? I read some paper about �??Medial Axis�?�, �??Skeleton�?� and seem they are useful concept in this project. However, I cannot understand their algorithm and don't how to implement it. Do you have any idea about this ?? Regards Gary Sham You may not directly ...but some how... http://www.ian-ko.com/resources/howto.htm http://www.ian-ko.com/ET_GeoWizards/UserGuide/createCenterlines.htm http://www.crwr.utexas.edu/gis/archydrobook/DataModelFiles/Tutorial/ArcHydroPart1.htm
... View more
01-18-2011
09:18 PM
|
0
|
0
|
3289
|
|
POST
|
Hi Venkat, Thanks so much for your reply. I have tried different names, there were still multiple occurences of the command button I made. In fact, not only the command button but also the base tool and others. Each time after I delete the key in registry, there will be one more same command button showing in ArcMap. try to debug it ?.. add component and mostly as per you 2 component suppose to add right ?...then put debug point in your project and click one component and see how it goes...
... View more
01-18-2011
08:38 PM
|
0
|
0
|
695
|
|
POST
|
I'm facing the same issue have you guys figured this out ? if so can you please share some thoughts ? http://forums.arcgis.com/threads/7753-can-i-batch-metadata-in-arccatalog
... View more
01-18-2011
08:12 PM
|
0
|
0
|
1351
|
|
POST
|
Hi We are migrating an application in 9.2 to version 10. The following VB code. NET converted to PDF in version 9.2 but returns a blank page used in Arcgis 10. Anyone know how to export to PDF the active layout (SDK. NET ArcGis 10)? Thanks in advance (JMJ98) '------------------------ 'variables Dim lScrRes As Long Dim pExporter As IExporter Dim deviceRECT As tagRECT Dim pDriverBounds As IEnvelope Dim pCancel As ITrackCancel Dim nomExportacio As String Dim pExport As IExport Dim iScreenResolution As Integer Dim iOutputResolution As Integer Dim exportRECT As tagRECT Dim pPixelBoundsEnv As IEnvelope Dim hdc As Long Dim deviceFrameRect As tagRECT Dim pActiveView As IActiveView Dim tmpDC As Long Dim faExportacio As Boolean Dim formatoImagen As String Dim pMxDoc As IMxDocument Dim objFactory As IObjectFactory Dim nom As String Dim pageL As IPageLayout Dim map As IMap Dim psi As New ProcessStartInfo() '------------------------ ...... faExportacio = False pActiveView = pMxDoc.PageLayout pageL = New PageLayout pageL = pActiveView If formatoImagen = "PDF" Then pExporter = objFactory.Create("esriOutput.PDFExporter") nomExportacio = nom pExporter.ExportFileName = nomExportacio With deviceFrameRect .left = 0 .right = 800 .top = 0 .bottom = 600 End With 'pActiveView.ScreenDisplay.DisplayTransformation.DeviceFrame = deviceFrameRect tmpDC = GetDC(0) iScreenResolution = GetDeviceCaps(tmpDC, 88) '88 is Win32 constant for LOGPIXELSX ReleaseDC(0, tmpDC) iOutputResolution = 1200 pExporter.Resolution = iOutputResolution With exportRECT .left = pActiveView.ExportFrame.left * (iOutputResolution / iScreenResolution) .top = pActiveView.ExportFrame.top * (iOutputResolution / iScreenResolution) .right = pActiveView.ExportFrame.right * (iOutputResolution / iScreenResolution) .bottom = pActiveView.ExportFrame.bottom * (iOutputResolution / iScreenResolution) End With pPixelBoundsEnv = New Envelope pPixelBoundsEnv.PutCoords(exportRECT.left, exportRECT.top, exportRECT.right, exportRECT.bottom) pExporter.PixelBounds = pPixelBoundsEnv hdc = pExporter.StartExporting pCancel = New CancelTracker pActiveView.Output(hdc, iOutputResolution, exportRECT, pageL.Page.PrintableBounds, pCancel) pExporter.FinishExporting() faExportacio = True psi.FileName = System.Windows.Forms.Application.StartupPath.ToString & "\tmp\" & cmbParametro.Text & ".pdf" Process.Start(psi) End If '------------------------ http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//00380000003n000000 http://help.arcgis.com/en/sdk/10.0/arcobjects_cpp/componenthelp/index.html#//0017000000t3000000 http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/d/000100000026000000.htm
... View more
01-18-2011
08:09 PM
|
0
|
0
|
2967
|
|
POST
|
constructUnion(IEnumGeometry geometries) - http://help.arcgis.com/en/sdk/10.0/java_ao_adf/api/arcobjects/com/esri/arcgis/geometry/GeometryBag.html#constructUnion(com.esri.arcgis.geometry.IEnumGeometry) "This method does not support GeometryBags." and yet it is a method on the Class GeometryBag. And there is an example here: http://help.arcgis.com/en/sdk/10.0/java_ao_adf/conceptualhelp/engine/0001/0001000003nq000000.htm typo? http://edndoc.esri.com/arcobjects/9.2/ComponentHelp/esriGeometry/ITopologicalOperator_ConstructUnion.htm
... View more
01-18-2011
08:04 PM
|
0
|
0
|
685
|
|
POST
|
Hi there, I am trying to make a Base Command with VB.net 2005 for ArcMap 9.2. What I did was: 1. added a Base Command from ArcGis templetes into my project. 2. changed all the values below to "test" MyBase.m_category = "test" 'localizable text MyBase.m_caption = "test" 'localizable text MyBase.m_message = "test" 'localizable text MyBase.m_toolTip = "test" 'localizable text MyBase.m_name = "test" 'unique id, non-localizable (e.g. "MyCategory_ArcMapCommand") 3.run the project. By the way, I did not change any parts of the codes. But there were 3 same "test" commands in ArcMap. In other words, after running the project, I went to ArcMap, and then I went to Tools->Customize, and then I went "Command" tab, and then I found 3"test" commands there, they were totally the same. Hope you guys can understand me. Thanks for any help. P.S. I just tried to delete the "ESRI" key in the regestry. But there will be one more the same command in ArcMap after I delete the key in the regestry. Say, I delete the key 2 times in the regestry then there will be 3 same commands showing in ArcMap. Do not use test ..use some other word... and build the application and try again... or you can debug the application so that .. you will understand which component is basically adding to arcmap...
... View more
01-18-2011
07:58 PM
|
0
|
0
|
695
|
|
POST
|
Dear all, I am working on a project to create a centerline from a polygon automatically. The user select a polygon and click a button, the centerline will create for him. I have tried the build-in function �??Collapse Dual Lines to Centerline�?�, but it cannot perform well so I decide not use this function in this project. In further study, I find out some terms such as �??Medial Axis�?�, �??Skeleton�?�, �??Voronoi polygon�?�, those are some concepts related to centerline formation. However, I find difficult to understand those algorithm. Does anyone have a suggestion to me for this project? Does anyone have a suggestion for how to implement those concepts in ArcMap? Is there any sample script or algorithm I can refer to as reference? Development language: C#, VB.Net ArcGIS : ArcMap 9.3.1 Best regards, Gary Sham http://arcscripts.esri.com/details.asp?dbid=15481
... View more
01-18-2011
07:54 PM
|
0
|
0
|
3289
|
|
POST
|
Hi Experts, i want to create query via VBA in arcscene. i will create combobox to select building by attributes. Example: Select Buildings Named "Engineering Faculty" and results will show on screen as zoomed as possible. and users can export results to JPEG. how can i code this application? TOLGA Please find the below ...there are some commands .. you can use it for your requirement.. http://resources.esri.com/help/9.3/ArcGISDesktop/dotnet/d9e80e81-0b2d-4a03-a00d-432bcfc4ff3d.htm
... View more
01-09-2011
09:34 PM
|
0
|
0
|
474
|
|
POST
|
Deal All, What are the codes (VBA) for starting an editing session, saving edits, and stopping an editing session? I am new to VBA/ArcObjects, and had an extremely hard time to find useful sources. Thanks, Chris use IWorkspaceEdit..
... View more
01-09-2011
09:15 PM
|
0
|
0
|
654
|
|
POST
|
I am placing images on a custom layer, and create the PictureMarkerSymbol w/ the following:
PictureMarkerSymbol ps = new PictureMarkerSymbol();
ps.createMarkerSymbolFormFile(esriIPictureType.esriIPictureBitmap, imageLocation);
ps.setBitmapTransparancyColor(color);
I then try to obtain the size of the image from ps.getSize() , and I always get 8, even if the size is 16x16 or 32x32. This messes up the scaling code I use during rendering. I also tried ps.getPicture().getHeight()/getWidth() , and that gives me completely ridiculous values (> 400). I previously used createDynamicGlyphFromFile() when the rendering used dynamic layers, and it gave me accurate sizes via glyph.queryDimensions() . What am I doing wrong with PictureMarkerSymbol? Also, with dynamic glyph I could apply a color map to the image using IDynamicSymbolProperties.setColor() to apply a color mask to an image, so I could use a single white image and apply any color I wanted to it. This does not appear to work with PictureMarkerSymbol, even though there is a setColor method. http://edndoc.esri.com/arcobjects/9.2/ComponentHelp/esriDisplay/CreateMarkerSymbolFromFile_Example.htm
... View more
01-09-2011
09:06 PM
|
0
|
0
|
682
|
|
POST
|
Thanks Jeff http://forums.esri.com/Thread.asp?c=93&f=993&t=118291&g=1
... View more
01-07-2011
12:58 AM
|
0
|
0
|
1342
|
|
POST
|
Sorry for my late response, been away for holiday... The client wants functionality to download data from a large centralized GIS-database, directly into ArcMap. In our proposal we have placed a button for this on the ArcMap toolbar that basically opens a Windows Form. The Form will then have a listbox that list the available layers the user can choose from. The user then hits OK and the layers are added into ArcMap�??s table of contents. Now this is fairly simple. The next step is to add a button that enables the user to specify an extent (bounding box) for the layers. So the idea is that a user should first choose the layer(s) he wants and then, if he wants to, click on a button that says something like �??choose extent�?� and then draw a polygon somewhere in ArcMap. Finally he clicks OK, the layers are cut and then added into ArcMap�??s table of contents. Are a bit stuck on how to implement the draw-polygon functionality. As I have implemented this now, the polygon starts to get drawn on the map right after the user clicks on the �??choose extent�?� button. I need something that would allow the user to freely move the mouse around, click somewhere in the map and then start to draw the polygon. In ArcObjects only Basetool can do for enable mouse move or mouse down...if you want to do that you to implement Basetool ..I do not know how you can enable Basetool in the form..Here the one thing i can suggest you...that is ..you call form from Basetool implemented class ... once you implement ...you will get all events including onclick... public override void OnClick() { // TODO: Add Tool1.OnClick implementation } In onclick you call form...once you call form..in the you add button draw poly or something..once you click on the draw poly button you close or hide the form start enable mouse move event...may be you can implement something like that...
... View more
01-03-2011
07:15 PM
|
0
|
0
|
1014
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-09-2017 07:44 AM | |
| 2 | 01-12-2015 10:36 PM | |
| 1 | 01-15-2015 09:02 AM | |
| 2 | 09-29-2014 02:29 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|