Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscribe to FeatureTrait() for Shapefile.Row #111

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

asinghvi17
Copy link
Member

This was not explicit before and so was a problem.

@asinghvi17 asinghvi17 requested a review from rafaqz April 3, 2024 00:08
@rafaqz
Copy link
Member

rafaqz commented Apr 3, 2024

Tests?

@@ -111,6 +111,7 @@ wkt = "GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",637813
@test size(df_land) == (127, 4)
@test names(df_land) == ["geometry", "featurecla", "scalerank", "min_zoom"]
df_land.featurecla isa Vector{Union{String,Missing}}
@test GeoInterface.trait(GeoInterface.getfeature(ne_land, 1)) isa GeoInterface.FeatureTrait
Copy link
Member Author

@asinghvi17 asinghvi17 Sep 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is failing because Table doesn't have a featurecollection trait. I guess we could just subset the table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants