You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CRS attached to polygon1 appears to be removed in the resulting polygon from GO.buffer(polygon1, x).
Is there a way to attach a CRS back to the resulting polygon?
import GeoInterface as GI
import GeometryOps as GO
import GeoFormatTypes as GFT
using GLMakie
using LibGEOS
x = [-10, -10, 10, 10, -10]
y = [-10, 10, 10, -10, -10]
lines = GI.LineString(GI.Point.(zip(x,y)));
ring1 = GI.LinearRing(GI.getpoint(lines));
polygon1 = GI.Polygon([ring1]; crs=EPSG(3857));
GI.crs(polygon1)
GI.crs(GO.buffer(polygon1, 1))
The text was updated successfully, but these errors were encountered:
The CRS attached to
polygon1
appears to be removed in the resulting polygon fromGO.buffer(polygon1, x)
.Is there a way to attach a CRS back to the resulting polygon?
The text was updated successfully, but these errors were encountered: