We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dd4faa commit 7133eb1Copy full SHA for 7133eb1
src/KML.jl
@@ -341,7 +341,8 @@ Base.@kwdef mutable struct Placemark <: Feature
341
@feature
342
@option Geometry::Geometry
343
end
344
-GeoInterface.isfeature(o::Placemark) = true
+GeoInterface.isfeature(o::Type{Placemark}) = true
345
+GeoInterface.trait(o::Placemark) = GeoInterface.FeatureTrait()
346
GeoInterface.properties(o::Placemark) = NamedTuple(Dict(f => getfield(o,f) for f in setdiff(fieldnames(Placemark), [:Geometry])))
347
GeoInterface.geometry(o::Placemark) = o.Geometry
348
0 commit comments