Witam,

Mam problem z następującym kodem:

Use Geo
Insert Into AkwenWodny_Wyspa (Nazwa, Lokalizacja)
Values ('Jezioro Wielkie', 
		geography::STGeomFromText('POLYGON((16.00 52.39, 16.11 52.45, 16.25 52.51, 16.10 52.52, 15.50 52.46, 16.00 52.39),(16.03 52.46, 16.16 52.49, 16.12 52.44, 16.02 52.42, 16.03 52.46))',4326))

Dostaje ciągle błąd
Msg 6522, Level 16, State 1, Line 2
A .NET Framework error occurred during execution of user-defined routine or aggregate "geography":
System.ArgumentException: 24200: The specified input does not represent a valid geography instance.
System.ArgumentException:
at Microsoft.SqlServer.Types.SqlGeography.ConstructGeographyFromUserInput(GeoData g, Int32 srid)
at Microsoft.SqlServer.Types.SqlGeography.GeographyFromText(OpenGisType type, SqlChars taggedText, Int32 srid)

Nie wiem o co chodzi?