| bio | website | tydlevidle.cz |
|---|---|---|
| location | Prague, Czech Republic | |
| age | 28 | |
| visits | member for | 2 years, 9 months |
| seen | 18 hours ago | |
| stats | profile views | 357 |
|
Feb 13 |
awarded | Popular Question |
|
Feb 13 |
revised |
How can I determine the layer name in an edit session? deleted 7 characters in body |
|
Feb 11 |
comment |
Is IPolygon2.QueryExteriorRingsEx Method not working in ArcGIS version 10.1 SP1? The underlying matter is that the original signature (which would be HRESULT QueryExteriorRingsEx(long numExteriorRingsRequested, IRing** exteriorRings); in C++) is ambiguous from the .NET type library importer perspective: exteriorRings can mean either a ring pointer or a ring array pointer. The issue will manifest itself in every .NET programming language. |
|
Feb 11 |
answered | Is IPolygon2.QueryExteriorRingsEx Method not working in ArcGIS version 10.1 SP1? |
|
Feb 4 |
comment |
IGeometryBridge.GetPoints throws NotImplementedException. Am I doing something wrong?new GeometryEnvironment() is exactly the same as new GeometryEnvironmentClass(). GeometryEnvironment (which is an interface) is decorated with the CoClass attribute: CoClass(typeof(GeometryEnvironmentClass)), so that the compiler knows which class you are instantating. This is how the .NET COM type library importer converts types (for better compatibility with legacy languages and environments). |
|
Feb 3 |
comment |
IGeometryBridge.GetPoints throws NotImplementedException. Am I doing something wrong? I have found the best way to reduce COM interop overhead during vertex-heavy operations is to use the WKS structure related methods, like QueryWKSPoints, SetWKSPoints, InsertWKSPoints etc. Depends on your scenario, but the performance gain should be greater. |
|
Feb 1 |
comment |
How do I change the targeted .NET 4.0 Framework to version 3.5 in an existing VS 2010 EXPRESS project? I advise not to do this, because this will not modify references to .NET Framework core assemblies to .3.5. |
|
Jan 31 |
comment |
Slow performance when selecting features Is the attribute over which you are querying indexed? |
|
Jan 23 |
awarded | Notable Question |
|
Jan 16 |
comment |
How to create a routing application with ArcGIS Server? How does Tracking Analyst help with routing? |
|
Jan 14 |
comment |
How do I publish a custom .NET GP Tool as a GP Service on ArcGIS Server 10.1? @Kirk: Does it create the .ecfg file when running 64 bit version of EsriRegAsm.exe? |
|
Jan 7 |
comment |
Spatial Query works while stepping through debugger but not otherwise Chances that the code executes differently without breakpoints are next to zero. Wrap the whole snippet in a try-catch construct and put the breakpoint into the catch block to see what's happening and why. You may not be seeing any error since commands, tools etc. generally do not propagate any unhandled exceptions to the user. |
|
Dec 23 |
comment |
Is it possible to modify the ArcObjects IProgressDialog2? No, the progress dialog was not designed for such customizability. I guess since the dialog you are looking for is pretty plain, should be rather easy in WPF or WinForms to implement it yourself. |
|
Dec 20 |
answered | How to move all elements of PageLayout to left (right, right, up, down..) 5 cm (C#) ? |
|
Dec 19 |
comment |
OGIS Ole Db provider sample with read/write capability Okay, I tried to implement ITable and ITableWrite on the dataset, but no member of these interfaces ever gets called. ArcMap still says the layer is not editable. Perhaps there is something else which needs to be done? |
|
Dec 18 |
comment |
OGIS Ole Db provider sample with read/write capability I'll try to fork it and add some functionality. |
|
Dec 17 |
comment |
Plugin Workspace: when to close an OleDbDataReader? So very likely there is nothing wrong with your implementation. Switching to MTA is not an option since ArcObjects are generally designed for classic STA model, where cross-apartment calls are marshalled via the message pump. Also resist the temptation to call anything like Application.DoEvents, because a) it raises a whole bunch of reentrancy issues b) the issue will never manifest itself like this outside the debugging environment. |
|
Dec 17 |
comment |
Plugin Workspace: when to close an OleDbDataReader? improper behavior and warns you. The COM clients are kept waiting, but there is not much else you can do when implementing a plugin data source. Note that you can always disable the ConextSwitchDeadlock MDA in VS. |
|
Dec 17 |
comment |
Plugin Workspace: when to close an OleDbDataReader? @Kirk: I am not sure that processing off the main thread is advisable - that would mean the need to spin off a worker thread and marshall all the calls, which is not a good idea in a plugin data source. Anyway, the error you are getting is not an exception, but a MDA warning. It is merely telling you that there may be a problem with your code, which may not be necessarily the case. In many scenarios it is perfectly valid to have a long-running operation in a STA COM server, but you are traditionally expected to keep pumping messages. If you do not do that, the MDA takes that as a sign of |
|
Dec 17 |
comment |
Plugin Workspace: when to close an OleDbDataReader? @Ragi: If you are willing to elaborate further in a blog post, that would be awesome. |