@seta-labs/geo 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/index.d.ts +63 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @seta-labs/geo
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
- `comune(codComune)` gains the `territorio` block (new type
|
|
6
|
+
`TerritoryTerritorio`): altitude, altimetric zone, surface in km², degree of
|
|
7
|
+
urbanisation, inner-area class, and the flags `isLitoraneo`, `isIsolano`,
|
|
8
|
+
`isZonaCostiera`, `isZonaMontana`, `hasVincoliNaturali`,
|
|
9
|
+
`hasSvantaggiSpecifici`, with `edizione`, the date of the ISTAT SITUAS
|
|
10
|
+
reports. Null for a suppressed municipality.
|
|
11
|
+
|
|
12
|
+
## 0.5.0
|
|
13
|
+
|
|
14
|
+
- `comuni(query?)` takes `storici`: with `true` the list also returns the
|
|
15
|
+
municipalities suppressed since 1991; without it only the current ones.
|
|
16
|
+
- `TerritoryComune` (the list rows and the `comune` block of
|
|
17
|
+
`comune(codComune)`) gains `costituitoIl` and `soppressoIl` (`YYYY-MM-DD`,
|
|
18
|
+
or null) and `codComuneSuccessore`, the municipality it merged into.
|
|
19
|
+
- Names, provinces and regions follow the ISTAT list of current
|
|
20
|
+
municipalities: `Cardedu`, `OG`, `Sardegna` where the OMI registry had
|
|
21
|
+
`CARDEDU`, `NU`, `SARDEGNA`.
|
|
22
|
+
|
|
3
23
|
## 0.4.0
|
|
4
24
|
|
|
5
25
|
- New `cadastreParcels(query?)` on `GET /cadastre/parcels`: the stored
|
package/dist/index.d.ts
CHANGED
|
@@ -512,6 +512,18 @@ interface components {
|
|
|
512
512
|
denominazione: string;
|
|
513
513
|
provincia: string;
|
|
514
514
|
regione: string;
|
|
515
|
+
/**
|
|
516
|
+
* Format: date
|
|
517
|
+
* @description Birth of the municipality, when it falls after 1 January 1991.
|
|
518
|
+
*/
|
|
519
|
+
costituitoIl: string | null;
|
|
520
|
+
/**
|
|
521
|
+
* Format: date
|
|
522
|
+
* @description Suppression date, null for a current municipality.
|
|
523
|
+
*/
|
|
524
|
+
soppressoIl: string | null;
|
|
525
|
+
/** @description Belfiore code of the municipality it merged into. */
|
|
526
|
+
codComuneSuccessore: string | null;
|
|
515
527
|
popolazione: number | null;
|
|
516
528
|
redditoMedio: number | null;
|
|
517
529
|
};
|
|
@@ -563,6 +575,18 @@ interface components {
|
|
|
563
575
|
denominazione: string;
|
|
564
576
|
provincia: string;
|
|
565
577
|
regione: string;
|
|
578
|
+
/**
|
|
579
|
+
* Format: date
|
|
580
|
+
* @description Birth of the municipality, when it falls after 1 January 1991.
|
|
581
|
+
*/
|
|
582
|
+
costituitoIl: string | null;
|
|
583
|
+
/**
|
|
584
|
+
* Format: date
|
|
585
|
+
* @description Suppression date, null for a current municipality.
|
|
586
|
+
*/
|
|
587
|
+
soppressoIl: string | null;
|
|
588
|
+
/** @description Belfiore code of the municipality it merged into. */
|
|
589
|
+
codComuneSuccessore: string | null;
|
|
566
590
|
};
|
|
567
591
|
TerritoryIstatDto: {
|
|
568
592
|
denominazione: string;
|
|
@@ -572,6 +596,39 @@ interface components {
|
|
|
572
596
|
redditoMedio: number | null;
|
|
573
597
|
redditoAnno: number | null;
|
|
574
598
|
};
|
|
599
|
+
TerritoryTerritorioDto: {
|
|
600
|
+
/**
|
|
601
|
+
* Format: date
|
|
602
|
+
* @description Date of the SITUAS reports the values were read from.
|
|
603
|
+
*/
|
|
604
|
+
edizione: string;
|
|
605
|
+
/** @description Metres above sea level, at the town hall. */
|
|
606
|
+
altitudine: number | null;
|
|
607
|
+
/** @enum {string} */
|
|
608
|
+
zonaAltimetrica: 'MONTAGNA_INTERNA' | 'MONTAGNA_LITORANEA' | 'COLLINA_INTERNA' | 'COLLINA_LITORANEA' | 'PIANURA';
|
|
609
|
+
superficieKmq: number | null;
|
|
610
|
+
/**
|
|
611
|
+
* @description Eurostat degree of urbanisation (DEGURBA 2021).
|
|
612
|
+
* @enum {string|null}
|
|
613
|
+
*/
|
|
614
|
+
gradoUrbanizzazione: 'CITTA' | 'PICCOLE_CITTA_SOBBORGHI' | 'ZONE_RURALI' | null;
|
|
615
|
+
/**
|
|
616
|
+
* @description Class of the national strategy for inner areas (SNAI 2020).
|
|
617
|
+
* @enum {string|null}
|
|
618
|
+
*/
|
|
619
|
+
areaInterna: 'POLO' | 'POLO_INTERCOMUNALE' | 'CINTURA' | 'INTERMEDIO' | 'PERIFERICO' | 'ULTRAPERIFERICO' | null;
|
|
620
|
+
/** @description Touched by the sea. */
|
|
621
|
+
isLitoraneo: boolean;
|
|
622
|
+
isIsolano: boolean;
|
|
623
|
+
/** @description Coastal area 2021: wider than the municipalities touched by the sea. */
|
|
624
|
+
isZonaCostiera: boolean | null;
|
|
625
|
+
/** @description Mountain area 2014. */
|
|
626
|
+
isZonaMontana: boolean | null;
|
|
627
|
+
/** @description Area facing natural constraints 2020. */
|
|
628
|
+
hasVincoliNaturali: boolean | null;
|
|
629
|
+
/** @description Area affected by specific constraints 2014. */
|
|
630
|
+
hasSvantaggiSpecifici: boolean | null;
|
|
631
|
+
};
|
|
575
632
|
TerritoryOmiDto: {
|
|
576
633
|
semestre: string;
|
|
577
634
|
tipologia: string;
|
|
@@ -594,6 +651,8 @@ interface components {
|
|
|
594
651
|
TerritoryComuneDetailDto: {
|
|
595
652
|
comune: components['schemas']['TerritoryComuneDto'];
|
|
596
653
|
istat: components['schemas']['TerritoryIstatDto'];
|
|
654
|
+
/** @description Null for a suppressed municipality: SITUAS describes only the current ones. */
|
|
655
|
+
territorio: components['schemas']['TerritoryTerritorioDto'] | null;
|
|
597
656
|
/** @description Publication the zone quotations come from, null while none is loaded. */
|
|
598
657
|
semestre: string | null;
|
|
599
658
|
zone: components['schemas']['TerritoryZonaQuotazioneDto'][];
|
|
@@ -989,6 +1048,8 @@ interface operations {
|
|
|
989
1048
|
provincia?: string;
|
|
990
1049
|
regione?: string;
|
|
991
1050
|
ordina?: 'denominazione' | 'popolazione';
|
|
1051
|
+
/** @description Also the municipalities suppressed since 1991, with their dates. */
|
|
1052
|
+
storici?: boolean;
|
|
992
1053
|
};
|
|
993
1054
|
header?: never;
|
|
994
1055
|
path?: never;
|
|
@@ -1174,6 +1235,7 @@ type TerritoryPointResult = ApiSchemas['TerritoryPointResultDto'];
|
|
|
1174
1235
|
type TerritoryOmi = ApiSchemas['TerritoryOmiDto'];
|
|
1175
1236
|
type TerritoryComune = ApiSchemas['TerritoryComuneDto'];
|
|
1176
1237
|
type TerritoryComuneDetail = ApiSchemas['TerritoryComuneDetailDto'];
|
|
1238
|
+
type TerritoryTerritorio = ApiSchemas['TerritoryTerritorioDto'];
|
|
1177
1239
|
type TerritoryDatasets = ApiSchemas['TerritoryDatasetsDto'];
|
|
1178
1240
|
type TerritoryComuniPage = ApiSchemas['TerritoryComuniPageDto'];
|
|
1179
1241
|
type TerritoryComuneRiga = ApiSchemas['TerritoryComuneRigaDto'];
|
|
@@ -1238,4 +1300,4 @@ interface GeoClient {
|
|
|
1238
1300
|
declare function createGeoClient(options: GeoClientOptions): GeoClient;
|
|
1239
1301
|
|
|
1240
1302
|
export { ApiError, createGeoClient };
|
|
1241
|
-
export type { CadastreParcelRequest, CadastreParcelResult, CadastreParcelRow, CadastreParcelsPage, CadastreParcelsQuery, GeoClient, GeoClientOptions, GeocodeBatchRequest, GeocodeBatchResponse, GeocodeRequest, GeocodeResult, LookupCache, LookupOptions, RequestOptions, ReverseGeocodeRequest, ReverseGeocodeResult, TerritoryClient, TerritoryCompravendita, TerritoryCompravenditePage, TerritoryCompravenditeQuery, TerritoryComune, TerritoryComuneDetail, TerritoryComuneRiga, TerritoryComuniPage, TerritoryComuniQuery, TerritoryDatasets, TerritoryOmi, TerritoryPointResult, TerritoryQuotazione, TerritoryQuotazioniPage, TerritoryQuotazioniQuery, TerritoryResolveRequest, TerritoryResolveResponse, TerritoryStatus };
|
|
1303
|
+
export type { CadastreParcelRequest, CadastreParcelResult, CadastreParcelRow, CadastreParcelsPage, CadastreParcelsQuery, GeoClient, GeoClientOptions, GeocodeBatchRequest, GeocodeBatchResponse, GeocodeRequest, GeocodeResult, LookupCache, LookupOptions, RequestOptions, ReverseGeocodeRequest, ReverseGeocodeResult, TerritoryClient, TerritoryCompravendita, TerritoryCompravenditePage, TerritoryCompravenditeQuery, TerritoryComune, TerritoryComuneDetail, TerritoryComuneRiga, TerritoryComuniPage, TerritoryComuniQuery, TerritoryDatasets, TerritoryOmi, TerritoryPointResult, TerritoryQuotazione, TerritoryQuotazioniPage, TerritoryQuotazioniQuery, TerritoryResolveRequest, TerritoryResolveResponse, TerritoryStatus, TerritoryTerritorio };
|