I don't think that's the case; I have tested with POLYGON and MULTIPOLYGON and have encountered errors with both
En sql server management studio, no puedo visualizar resultados espaciales. Tengo el error " One of the identified items was in an invalid format"
Consultando datos geograficos y haciendo click a la pestaña "Spatial Results" me da el error. He probado con versiones anteriores y continúa. Se da solo en ciertas geometrías. Este es un equipo nuevo, funciona correctamente en otros equipos. Actualicé Sql server types.
One of the identified items was in an invalid format. (Microsoft.SqlServer.Types)
Program Location:
at Microsoft.SqlServer.Types.SqlGeometry.Read(BinaryReader r)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.LoadDataForGeometry.ReadAndValidateSpatialData(BinaryReader binaryReader)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.LoadDataForSpatialDataType.LoadData(LoadDataObject loadDataObject)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.MapPanel.LoadDataToDataTable(LoadDataObject loadDataObject)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.MapPanel.LoadData()
2 respuestas
Ordenar por: Muy útil
-
Gustavo Donoso Lange 5 Puntos de reputación
2024-08-27T13:12:36.6266667+00:00 -
Drew France 0 Puntos de reputación
2024-11-14T06:07:22.7833333+00:00 I discovered a similar issue after upgrading to SQL Server Management Studio 19.3.4 earlier this year and guessed it is a bug in SSMS, as the error was not there in previous versions.
The error appears when attempting to display spatial data in the "Spatial" tab of SSMS when there is a geography/geometry with over 4000 points in it.
I logged it on the page at https://feedback.azure.com/d365community/idea/76a0d1bc-7307-ef11-a73c-000d3a012948. If it is the same issue for you (which you may need to test to confirm), feel free to vote for the post.