Compare commits

...
2 Commits
Author SHA1 Message Date
livio 41405bcc4f Speed up Android test packages 2026-09-28 20:29:51 +02:00
livio 9b4ff9e188 Always retain KML lines and points 2026-09-28 20:29:21 +02:00
4 changed files with 11 additions and 5 deletions

No files matched your search

+2 -2
View File
@@ -28,8 +28,8 @@
<ApplicationId>com.companyname.lmemappecatastaliapp</ApplicationId> <ApplicationId>com.companyname.lmemappecatastaliapp</ApplicationId>
<!-- Versions --> <!-- Versions -->
<ApplicationDisplayVersion>0.4.8</ApplicationDisplayVersion> <ApplicationDisplayVersion>0.4.9</ApplicationDisplayVersion>
<ApplicationVersion>43</ApplicationVersion> <ApplicationVersion>44</ApplicationVersion>
<Version>$(ApplicationDisplayVersion)</Version> <Version>$(ApplicationDisplayVersion)</Version>
<!-- To develop, package, and publish an app to the Microsoft Store, see: https://aka.ms/MauiTemplateUnpackaged --> <!-- To develop, package, and publish an app to the Microsoft Store, see: https://aka.ms/MauiTemplateUnpackaged -->
+4
View File
@@ -2,6 +2,10 @@
App .NET MAUI Blazor Hybrid per Android, iOS, Mac Catalyst e Windows, pensata per consultare mappe catastali e lavorare sul campo con GPS. App .NET MAUI Blazor Hybrid per Android, iOS, Mac Catalyst e Windows, pensata per consultare mappe catastali e lavorare sul campo con GPS.
## Versione 0.4.9
- Linee e punti KML/KMZ vengono sempre importati, anche quando il documento viene riconosciuto come catastale; il filtro particelle separa soltanto i poligoni di foglio o cornice.
## Versione 0.4.8 ## Versione 0.4.8
- Aggiornamento a .NET 10 e target Android API 36. - Aggiornamento a .NET 10 e target Android API 36.
+1
View File
@@ -23,6 +23,7 @@ foreach ($format in @("apk", "aab")) {
"-c", $Configuration, "-c", $Configuration,
"-p:AndroidSdkDirectory=$androidSdk", "-p:AndroidSdkDirectory=$androidSdk",
"-p:AndroidPackageFormat=$format", "-p:AndroidPackageFormat=$format",
"-p:RunAOTCompilation=false",
"-p:AndroidKeyStore=true", "-p:AndroidKeyStore=true",
"-p:AndroidSigningKeyStore=$keyStore", "-p:AndroidSigningKeyStore=$keyStore",
"-p:AndroidSigningKeyAlias=androiddebugkey", "-p:AndroidSigningKeyAlias=androiddebugkey",
+4 -3
View File
@@ -1013,12 +1013,13 @@ function normalizeKmlFiles(files) {
const parcelSet = new Set(parcels); const parcelSet = new Set(parcels);
const sheetParts = polygonParts.filter(feature => !parcelSet.has(feature)); const sheetParts = polygonParts.filter(feature => !parcelSet.has(feature));
const nonPolygonFeatures = features.filter(feature => geometryPolygons(feature.geometry).length === 0); const nonPolygonFeatures = features.filter(feature => geometryPolygons(feature.geometry).length === 0);
const optionalFeatures = [...sheetParts, ...nonPolygonFeatures]; const importedFeatures = [...parcels, ...nonPolygonFeatures];
if (!parcels.length && !(lmeState.includeKmlSheetLayer && optionalFeatures.length)) { const optionalFeatures = sheetParts;
if (!importedFeatures.length && !(lmeState.includeKmlSheetLayer && optionalFeatures.length)) {
throw new Error("nessuna particella trovata; attiva 'includi layer del foglio' per importare gli altri elementi"); throw new Error("nessuna particella trovata; attiva 'includi layer del foglio' per importare gli altri elementi");
} }
return { return {
geojson: { type: "FeatureCollection", features: parcels }, geojson: { type: "FeatureCollection", features: importedFeatures },
sheetGeojson: { sheetGeojson: {
type: "FeatureCollection", type: "FeatureCollection",
features: lmeState.includeKmlSheetLayer ? optionalFeatures : [] features: lmeState.includeKmlSheetLayer ? optionalFeatures : []