→ Private area
Aplitop · Surveying the Future

tcpMDT

List drawing plots

Updated on tcpMDT Leer en español

Lists all plots defined in the active drawing, returning for each one its name, area, cadastral reference, owner, type and centroid.

Prerequisites: There must be an active drawing with configured plots. If the plot layer is not configured or there are no plots in the drawing, an empty list is returned (this is not an error).

Parameters

Parameter

Type

Required

Description

type_filter

integer

No

Filter by type: 0=MDT, 1=Cadastral, 2=Cadastral zone, 3=Building, 4=Annex building, 5=Island, 6=Swimming pool, 7=Building island. Without this parameter all types are returned.

include_vertices

boolean

No

If true, includes the vertex array (X,Y coordinates) of each plot. Default false.

Result

Object with the following fields:

  • count: total number of plots returned.

  • parcelas: array of plots, each with:

- name: plot name.

- area: area in m².

- reference: cadastral reference.

- owner: owner.

- type: numeric type code.

- type_name: human-readable type name (MDT, Cadastral, Building...).

- centroid: object {x, y} with centroid coordinates.

- num_vertices: number of boundary vertices.

- vertices: (only if include_vertices=true) array of {x, y} with boundary vertices.

Tip: To get only cadastral plots use type_filter=1. To see the buildings in the drawing use type_filter=3.

Example prompts

You can ask the assistant things like:

  • How many plots are in the drawing?

  • List all plots with their area and owner

  • Show only cadastral type plots

  • Which plot has the largest area?

  • Give me the centroid coordinates of each plot

  • List the buildings defined in the drawing

Type your question and pick a product to narrow the results. Use ↑ ↓ and Enter to open an article.