[Qgis-user] getting area and centroid from vector tile

Nyall Dawson nyall.dawson at gmail.com
Mon May 31 17:17:45 PDT 2021


On Sun, 30 May 2021 at 22:11, Ryan Peel <ryanpeel at gmail.com> wrote:
>
> I have this xyz tile server added into qgis.  It is the microsoft building footprints.
>
> https://tiles.arcgis.com/tiles/P3ePLMYs2RVChkJx/arcgis/rest/services/Microsoft_Building_Footprints/VectorTileServer/tile/%7Bz%7D/%7By%7D/%7Bx%7D.pbf
>
> Is there a way to get the centroid as well as area of the features shown?  I would like to create my own table from this xyz tile layer.

No, but you can get the original (non-vector tiles) datasets from a
number of sources (eg
https://github.com/Microsoft/USBuildingFootprints). You can then do
any kind of normal processing with these, including centroids/area/
etc.

Nyall


More information about the Qgis-user mailing list