Skip to content
#

geolocation

Here are 1,816 public repositories matching this topic...

BuonOmo
BuonOmo commented Nov 16, 2020

Nowadays, the process to retrieve all geometries from a geometry_collection is quite cumbersome. For instance, for a MultiPolygon:

multi_polygon = RGeo::GeoJSON.decode(some_multi_polygon_geojson)

geometries = Array.new(object.num_geometries) { |i| multi_polygon.geometry_n(i) }

A more convenient API would be:

multi_polygon = RGeo::GeoJSON.decode(some_multi_polyg

Improve this page

Add a description, image, and links to the geolocation topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the geolocation topic, visit your repo's landing page and select "manage topics."

Learn more