DIBUJA_TEXTO_EXTRAIDO_CALLEJERO_CATASTRO
Insert text at the clicked point containing the street and property number returned by the Spanish Cadastre coordinate query service.
Parameters
Does not accept parameters.
Notes
Each data button press sends point coordinates to the Cadastre web service and inserts text with the response's ldt field. Each text has its own transaction, so each UNDO undoes one text.
Start only if the drawing window's horizontal EPSG code is supported by the service: 4230, 4326, 4258, 32627, 32628, 32629, 32630, 32631, 25829, 25830, 25831, 23029, 23030, or 23031. Otherwise, write a message in Results and do not start.
If the service returns an error, write it in Results, sound the error tone, and display a message box.
This command is Python script dibuja_texto_extraido_callejero_catastro.py from ComandosDigi3DPython. Digi3D.AI installs it in OrdenesPython inside its installation folder. To modify it, copy the file to the macro directory and edit the copy: Digi3D.AI runs it instead of the installed file.
Text from the Cadastre street directory explains the code.
Command characteristics
| Command type | Interactive command |
|---|---|
| Repeats automatically | No |
| Menu option | This command has no associated menu option |
| Toolbar | This command has no associated toolbar button |
| Extension | dibuja_texto_extraido_callejero_catastro.py |
| Implementation | Python |
| Source code | dibuja_texto_extraido_callejero_catastro.py |
| Related variables | No related variables |
| Related commands | DIBUJA_TEXTO_EXTRAIDO_SERVICIO_MAPAS_AZURE |