Open Helmon-hm opened 3 years ago
Pinging @elastic/es-analytics-geo (Team:Analytics)
Elasticsearch tries to follow the Open Geospatial Consortium standard defined here for geometry validation. In our interpretation, the geometry above is not valid as the definition contains no holes, but the geometry does contain interior boundaries.
Looking into the ArcGIS documentation, this structure is supported:
An area shape can have inversions, which are empty spaces inside the area shape that touch the outer boundary.
So I don't think this is a bug, just seems arcGIS might have more loose requirements for polygon validation.
You know,arcGIS is in a leading position in GIS industry.If it is different between arcgis and es to judge whether the geometry is valid or not,it is hard for us to explain this situation to our Part A.So I hope you can evaluate it again.Thinks.
------------------ 原始邮件 ------------------ 发件人: "elastic/elasticsearch" @.>; 发送时间: 2021年3月16日(星期二) 晚上6:34 @.>; @.**@.>; 主题: Re: [elastic/elasticsearch] Geometry Self-intersection in ES and QGIS,but it is not Self-intersecting in Arcgis (#70358)
Elasticsearch tries to follow the Open Geospatial Consortium standard defined here for geometry validation. In our interpretation, the geometry above is not valid as the definition contains no holes, but the geometry does contain interior boundaries.
Looking into the ArcGIS documentation, this structure is supported:
An area shape can have inversions, which are empty spaces inside the area shape that touch the outer boundary.
So I don't think this is a bug, just seems arcGIS might have more loose requirements for polygon validation.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
*Elasticsearch version** (
bin/elasticsearch --version
):7.11.2Plugins installed: []
JVM version (
java -version
):1.8.0_281-b09OS version (
uname -a
if on a Unix-like system):win10Description of the problem including expected versus actual behavior:Insert data into a geo_shape field in an index,report 'Self-intersection at or near point [114.4628207731032,26.132645758719093]'.But in Arcgis10.2,I used the Check Geometry tool to check the geometry without any errors.Then I used the Repair Geometry tool to repair the geometry and it also had Self-intersection in ES.By the way, it actually had Self-intersection in QGIS.Are you compatible with this situation?
Steps to reproduce:
Please include a minimal but complete recreation of the problem, including (e.g.) index creation, mappings, settings, query etc. The easier you make for us to reproduce it, the more likely that somebody will take the time to look at it.
1.create a new index with a geo_shape field.
The geomtry looks like: That point is the error point. 3.Execute the insert statement
Provide logs (if relevant):