POST
|
I need to use ITopologicalOperator.IsSimple() on Polylines geometry to determine if it doesn’t have any self intersection. However, i don’t understand the behaviour of this function, more specifically i don’t understand the behaviour of the flag isKnownSimple used by the function isSimple. Why is this flag setted to true when a geometry comes from a feature class (http://resources.esri.com/help/9.3/ArcGISServer/apis/ArcObjects/esriGeometry/ITopologicalOperator_IsKnownSimple.htm) ? As an exemple, i create a Polyline with non simple geometry, i test it with isSimple, the result is false. I save the Polyline on my database, i retreive it and i use isSimple again and the result magically changed to true. I assume this is explained by the IsKnownSimple is at true when an object comes from the database, but why… I see two possibilities : 1) The geometry is modified to a simple geometry when we save it in the database. 2) The geometry from the database is supposed to be simple The first possibility would be a problem as my geometry is modified. The second possibility is also a problem as i can’t test any of the geometry currently in my database as the isSimple function will always return true. So i got some questions : Is there something i didn’t understood on the behaviour of the isSimple function ? Is there any mean to test the correctness of the geometry (including those coming from the database) using ESRI’s framework ? By the way, i can’t use simplify() as i can’t change my geometry.
... View more
12-17-2019
12:53 AM
|
1
|
0
|
224
|
POST
|
I face some difficulties since i upgraded my application from ArcGIS 10.2.2 to ArcGis 10.7.1. Some functionalities now send the following errors : Function or procedure does not exist [gref_v1_prod.gref_v1_prod.$SomeTable] $SomeTable can take differents values according to the fonctionality used (REFERENTIEL, OMAJ, ...). When checking, the tables REFERENTIEL, OMAJ, ... are in the database. These errors occure the most often when trying to save or insert into the database. Some of the following lines trigger the error : "ESRI.ArcGIS.Geodatabase.Itable.Insert();" "ESRI.ArcGIS.Geodatabase.IFeatureWorkspace.CreateFeatureClass()" "ESRI.ArcGIS.Geodatabase.IDataset.Delete()" "ESRI.ArcGIS.Geodatabase.IRow.Store()" One important point is that some functionalities of my application use these portion of code and works well while others will trigger the error. Among them some will always the send error when other will only send it the first time it is ran and will not trigger it again until the application is rebooted. The technology used is C# with ArcObject 10.7.1 using ArcMap. The database is postgres 10.9 with postgis 2.4. Theses portions of codes worked very well in 10.2. Do you have ideas about the origin of this problem or do you have some piece of advices to help me face it ?
... View more
08-30-2019
01:48 AM
|
0
|
1
|
2482
|
POST
|
Hi, Did you find a fix to this? We are encountering the exact same issue, when running Identity_analysis from arcpy. PostgreSQL 10.3 and ArcGIS Deskotp 10.6.1 Thanks!
... View more
03-26-2019
03:51 AM
|
0
|
0
|
1526
|
Title | Kudos | Posted |
---|---|---|
1 | 12-17-2019 12:53 AM |
Online Status |
Offline
|
Date Last Visited |
05-18-2022
09:13 AM
|