POST
|
Hi, I read only now you request for help. It's a lucky event, 'cause mail notification seems to NOT work in this forum. My private address is jupitek2000@gmail.com feel free to contact me. You should have: - RHEL 5.8 installed on your workstation (unfortunatelu CentOS is NOT ok) - An ArcGIS Engine RT 10.1 copy to install on your Linux box - An ArcGIS Engine DevKit CPP 10.1 copy to install on your Linux box - licenses for these products - Qt 4.7.3 or 4.8.x libraries (the open source edition works ok) Well, let me know if you've got this stuff. Cheers.
... View more
08-07-2013
07:21 AM
|
0
|
0
|
269
|
POST
|
Same problem: ConstructUnion doesn't work. I'm developing with ArcGIs Engine SDK 10.1 for C++/Qt and I'm on Linux. Here is my code:
IGeometryBagPtr cGeometryBag(CLSID_GeometryBag);
IGeometryCollectionPtr cGeometryCollection = cGeometryBag; // QI
IGeometryPtr * cGeomVector = new IGeometryPtr[len];
for (i = 0; i < len; i++)
{
IPointCollectionPtr cPointCollection(CLSID_Polygon);
// I fill the cPointCollection object with my polygones (triangles)
IPolygonPtr cPolygon = cPointCollection; // QI
cGeomVector = cPolygon;
}
hr = cGeometryCollection -> AddGeometries((long)len, (IGeometry**)cGeomVector);
if (FAILED(hr))
{
cout << "Impossible to add geometries" << std::endl;
return;
}
long cGeomCount;
hr = cGeometryCollection -> get_GeometryCount(&cGeomCount);
if (FAILED(hr))
{
cout << "Impossible to calculate the number of geometries (1)" << std::endl;
return;
}
cout << "Number of geometries (1): " << cGeomCount << std::endl;
// in this dump I see that the number of geometries (in the GeometryCollection) is OK
IEnumGeometryPtr cEnumGeometry = cGeometryBag; // QI
hr = cEnumGeometry -> get_Count(&cGeomCount);
if (FAILED(hr))
{
cout << "Impossible to calculate the number of geometries (2)" << std::endl;
return;
}
cout << "Number of geometries (2): " << cGeomCount << std::endl;
// in this dump I see that the number of geometries (in the EnumGeometry) is OK
IPolygonPtr cResultPolygon(CLSID_Polygon);
ITopologicalOperator2Ptr cTopoOp = cResultPolygon;
hr = cTopoOp -> ConstructUnion(cEnumGeometry);
if (FAILED(hr))
{
cout << "Impossible to do ConstructUnion" << std::endl;
return;
}
IPointCollectionPtr cFinalPointCollection = cResultPolygon; // QI
hr = cFinalPointCollection -> get_PointCount(&cGeomCount);
if (FAILED(hr))
{
cout << "Impossible to calculate the number of points (3)" << std::endl;
return;
}
cout << "Number of points (3): " << cGeomCount << std::endl;
// In this dump the number (of points of the new geometry) is not OK, is always zero!
Where do I go wrong? Are there examples in C++ to refer to? The result remains the same (negative) if I change the line: IPointCollectionPtr cFinalPointCollection = cResultPolygon; // QI with: IPointCollectionPtr cFinalPointCollection = cTopoOp; // QI Any help would be appreciated. Cheers from Italy.
... View more
08-07-2013
07:08 AM
|
0
|
0
|
232
|
POST
|
...mmm.. your question is not clear for me. Can you describe your system? Java, .NET, C++/Qt or what else? Does your dockable window work in your environment without the ArcGIS Engine? Cheers (from Italy) Andrea
... View more
07-05-2013
07:20 AM
|
0
|
0
|
223
|
POST
|
Hi, I use the IDynamicDisplay interface in my job since its introduction in the ArcObjects set. Now I'm searching for an example in order to start to deal with the GraphicsTracker component. But up to now I did not found nothing. In the Samples set included in my distribution (of the ArcGIS Engine SDK) there is nothing about the GraphicsTracker. I'm using ArcGIS Engine SDK for C++ and Qt, and I am on Linux too. Any help would be appreciated. Andrea
... View more
07-05-2013
07:13 AM
|
0
|
0
|
261
|
POST
|
It simply needs to allow for the placing of "sensors", the drawing of polygons, and importing highly detailed terrain data. Hi wrightky, I am Andrea, and I'm writing from Italy. Maybe I've got a little help for you, but only if my understanding (of the problem) is correct. As I'm not a native English speaker, I'm not sure, so let's try: You load a terrain layer of data into your GIS viewer. Then you need to add a vector layer produced by you in order to see your vector layer overlapped to the existing terrain data layer. You also have license problems...:( Well, if the situation is this, here are my two cents: You need to be able to realize one or more data files in shapefile format. Into the shapefile you can put your points, polylines, poligones and text labels. In order to produce a shapefile for your needs, you have to use these C++ open source libraries: http://shapelib.maptools.org/. It's very easy, you will not have problem (or you can ask me if you need). Once you have created your shapefile, just put in into your GIS viewer. Let me know, regards Andrea
... View more
06-11-2013
07:41 AM
|
0
|
0
|
380
|
POST
|
Hi, you need an additional package: the S57 viewer and its SDK. For the S57 viewer you can have a look here: http://www.esri.com/apps/products/download/ (search for the string S57). For the S57 SDK deployable into your ArcGIS Engine, you have to ask to your local ESRI distributor. The mentioned S57 pack is only for Windows. Can you tell us about either your system and your application target (If you like, of course)? Thank you. Andrea
... View more
06-11-2013
07:06 AM
|
0
|
0
|
161
|
POST
|
Hi, I've got a DNC map. I cannot open it in ArcGIS Desktop. Data seems to be NOT in vpf format as I expect. There is a complex folder structure, with two main files at the higher level: .lat and .dht extensions. I can open the data and visualize the map with another tool (an ArcGIS's competitor), but not in ArcGIS, so I'm sure data are not corrupted. Can anyone help me? Thank you, Andrea
... View more
03-25-2013
02:59 AM
|
0
|
0
|
3133
|
POST
|
Hi, I'm working with ArcGIS Engine on Linux with Qt since some years. I can guide you through the compilation-build-execution of a simple example. Do you still need help? Let me know, or send me a private message. Greetings from Italy.
... View more
02-05-2013
11:07 PM
|
0
|
0
|
269
|
POST
|
Hi guys, With the ArcGIS Engine 10.1 + SP1, the IDynamicGlyphFactory::CreateDynamicGlyphFromFile does not work, so I cannot associate bmp symbols to my point features. I'm using the DynamicDisplay component. It worked properly with ArcGIS Engine 9.3.1 and previous releases. I'm using ArcObjects with ArcGIS Engine DevKit for CPP on Linux, and Qt 4.7.3 toolkit. Any similar experience? Any suggestion? Any suggestion will be appreciated. Thank you. Andrea (Italy)
... View more
02-04-2013
10:52 PM
|
0
|
0
|
489
|
POST
|
Thank you scott. Your suggestion is very helpful. But I need another piece of information. I open the layer properties (rightclick on the layer and then select Properties), I can see the shapefile referred (or linked) but I just cannot change the path. Indeed, I create the layer file into a directory, but then I need to move it into another path. In general, is there a way to manipulate the layer file, like a script or something different from ArcMAP? Thenk you in advance, Andrea
... View more
10-11-2011
06:00 AM
|
0
|
0
|
256
|
POST
|
Hi everibody, I need to add a shapefile to my map (in ArcEngine) by using the AddShapefile method. But I'd like to have my personal thematic settings for this shapefile. Maybe I could use a layer file or layer package with my favourite thematism pre-setted. Well , so I have to load the shapefile and connect it in some way, to the desired layer file or layer package. Is this possible? How? Could anyone give me an example? Forgive my limited communication capabilities, I'm not a native english speaker. Thanks.
... View more
10-10-2011
06:32 AM
|
0
|
3
|
762
|
POST
|
Hi all, I'm developing my ArcGIS Engine application with the Engine SDK for C++. Well, I need to open and visualize PMF data. 1) is it possible with an Engine app? 2) what ArcObject shall I use? Is there somewere an example? Any help will be appreciated. Andrea
... View more
03-07-2011
12:38 AM
|
0
|
0
|
543
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|