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
However, there maybe another issue in your case, could you show and example input file to have the full reproduction ? The issue i am refering too is that geojsons that are not geometry at root but within a feature will not be geometries so to speak, you'll have to do element.geometry to access it. We'll be working on that in the next RGeo major to hopefully make it seemless. See more on that in the related issue: rgeo/rgeo#247 (comment).
You may be interested in that example (#34 (comment)) to help on your final goal of filtering on areas.
Closing for lack of response, feel free to open another issue if there is still a problem, or contribute to the documentation (we have a doc folder on the core repository, and we could consider having an examples folder here).
Lets say that I have a geojson file and want to iterate over elements to ensure that only areas are there (no lines).
how can I get type of a give element?
element.class
givesRGeo::GeoJSON::Feature
what is not usefulI see nothing relevant in https://rdoc.info/gems/rgeo-geojson/RGeo/GeoJSON/Feature
The text was updated successfully, but these errors were encountered: