@vannizhang/living-atlas-content-validator 1.5.19-beta.9 → 1.5.19
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/README.md +196 -199
- package/dist/configureSettings.d.ts +27 -25
- package/dist/configureSettings.js +14 -13
- package/dist/configureSettings.js.map +1 -1
- package/dist/index.d.ts +9 -4
- package/dist/index.js +13 -2
- package/dist/index.js.map +1 -1
- package/dist/lib/config.d.ts +1 -1
- package/dist/lib/config.js +6 -0
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases.js +17 -13
- package/dist/lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases.js.map +1 -1
- package/dist/lib/featureServiceFieldAliases/helpers.d.ts +19 -0
- package/dist/lib/featureServiceFieldAliases/helpers.js +48 -0
- package/dist/lib/featureServiceFieldAliases/helpers.js.map +1 -0
- package/dist/lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions.js +30 -15
- package/dist/lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions.js.map +1 -1
- package/dist/lib/featureServiceFieldDescriptions/helpers.d.ts +20 -0
- package/dist/lib/featureServiceFieldDescriptions/helpers.js +53 -0
- package/dist/lib/featureServiceFieldDescriptions/helpers.js.map +1 -0
- package/dist/lib/featureServiceFieldDescriptions/scoringConfig.js +1 -1
- package/dist/lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes.js +18 -15
- package/dist/lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes.js.map +1 -1
- package/dist/lib/featureServiceFieldValueTypes/helpers.d.ts +16 -0
- package/dist/lib/featureServiceFieldValueTypes/helpers.js +35 -0
- package/dist/lib/featureServiceFieldValueTypes/helpers.js.map +1 -0
- package/dist/lib/featureServiceFieldValueTypes/scoringConfig.js +1 -1
- package/dist/lib/ssl/isValidSSL.js +3 -1
- package/dist/lib/ssl/isValidSSL.js.map +1 -1
- package/dist/locale/de.json +21 -24
- package/dist/locale/en.json +7 -10
- package/dist/locale/es.json +21 -24
- package/dist/locale/fr.json +21 -24
- package/dist/locale/ja.json +21 -24
- package/dist/locale/pt-br.json +21 -24
- package/dist/package-info.json +1 -1
- package/dist/services/feature-service/fetchFeatureServiceLayersAndTables.d.ts +11 -6
- package/dist/services/feature-service/fetchFeatureServiceLayersAndTables.js +56 -16
- package/dist/services/feature-service/fetchFeatureServiceLayersAndTables.js.map +1 -1
- package/dist/services/feature-service/getFeatureServerURL.d.ts +12 -0
- package/dist/services/feature-service/getFeatureServerURL.js +37 -0
- package/dist/services/feature-service/getFeatureServerURL.js.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/locale/de.json
CHANGED
|
@@ -172,33 +172,30 @@
|
|
|
172
172
|
"ADD_TOPIC_INFO": "Fügen Sie das Thema hinzu, um über den Gegenstand des Elements zu informieren."
|
|
173
173
|
},
|
|
174
174
|
"featureLayerFieldAliases": {
|
|
175
|
-
"GUIDANCE_DEFAULT": "
|
|
176
|
-
"SCORING_MSG_DEFAULT": "
|
|
177
|
-
"LABEL": "
|
|
178
|
-
"TITLE": "
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
175
|
+
"GUIDANCE_DEFAULT": "<p>Die meisten Layer verwenden standardmäßig zunächst das Feld <strong>Namen</strong> als <strong>Feldaliasnamen</strong>, sodass die Namen identisch sind. Dies bedeutet, dass jeder Benutzer die einzelnen Feldnamen in aussagekräftige Feldaliasnamen (manchmal auch als Anzeigenname angezeigt) ändern muss. Wenn Sie als Besitzer dieses Elements jetzt Feldaliasnamen festlegen, ersparen Sie anderen Benutzern, die Ihren Layer verwenden möchten, Hunderte oder Tausende Arbeitsstunden. Wenn diese zusätzlichen Metadaten in den Layer integriert werden, müssen Benutzer diese Informationen nicht in Metadatendokumenten suchen, da sie bereits vorhanden sind. So weiß jeder Benutzer, wofür dieses Feld steht, wenn er den Feldnamen an allen Stellen liest, an denen er angezeigt wird: Kartenlegende, Pop-ups, Datentabelle, alle Schnittstellen und an denen der Benutzer zur Auswahl eines Feldes aufgefordert wird.</p><br/><p>Wechseln Sie auf der Elementseite zur Registerkarte <strong>Daten</strong>, klicken Sie auf die Schaltfläche <strong>Felder</strong> und dann auf das erste Feld in der Spalte <strong>Anzeigenname</strong>. Um den <strong>Feldaliasnamen</strong> (auch als <strong>Anzeigenname</strong> bezeichnet) zu bearbeiten, klicken Sie auf die Schaltfläche mit dem Stift, und geben Sie einen leicht verständlichen Feldaliasnamen/Anzeigennamen ein. Tipp: Kopieren Sie Inhalte aus einem Datenkatalog, einem offiziellen Metadatendokument oder einer PDF-Datei, in der die jeweiligen Felder beschrieben sind, und fügen Sie sie ein.</p><br/><p><strong>Beispiele</strong>: Ändern Sie im Textfeld \"Aliasname\" \"LASTEDITOR\" in \"Letzter Editor\", \"FEATURECODE\" in \"Code des Einrichtungsstandorts\" und \"NUMSTORIES\" in \"Story-Anzahl\". Der Feldname bleibt dabei unverändert.</p>",
|
|
176
|
+
"SCORING_MSG_DEFAULT": "Es werden Punkte vergeben, wenn 90 % der Feldaliasnamen (Anzeigennamen) so bearbeitet werden, dass sie nicht mehr mit den Feldnamen identisch sind.",
|
|
177
|
+
"LABEL": "Feldaliasnamen verbessern",
|
|
178
|
+
"TITLE": "Feldaliasnamen überprüfen",
|
|
179
|
+
"IMPROVE_FIELD_ALIAS": "Verbessern Sie die Feldaliasnamen in Ihrem Feature-Service.",
|
|
180
|
+
"NO_FEATURE_LAYER": "Dieser Feature-Service verfügt weder über einen Feature-Layer noch über nichträumliche Tabellen.",
|
|
181
|
+
"NO_RELEVANT_FIELD": "Dieser Feature-Service verfügt über keine relevanten (nicht vom System erstellten) Felder, die überprüft werden müssen."
|
|
183
182
|
},
|
|
184
183
|
"featureLayerFieldTypes": {
|
|
185
|
-
"GUIDANCE_DEFAULT": "
|
|
186
|
-
"SCORING_MSG_DEFAULT": "
|
|
187
|
-
"LABEL": "
|
|
188
|
-
"TITLE": "
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
184
|
+
"GUIDANCE_DEFAULT": "<p>Damit für Benutzer und Client-Apps erkennbar ist, wie Feldwerte verwendet oder dargestellt werden sollen, definieren Sie die Typen der Werte, die in den einzelnen Attributfeldern in einem gehosteten Feature-Layer gespeichert werden. Wenn Sie beispielsweise ein Textfeld als Telefonnummer definieren, können Client-Apps den Text entsprechend formatieren, z. B. (123) 456-7890. ArcGIS Online verwendet Feldwerttypen, um die wichtigsten Optionen anzuzeigen, wenn Sie einen Layer in einer Karte darstellen oder Pop-ups konfigurieren. Weitere Informationen zu den <a href=\"https://doc.arcgis.com/en/arcgis-online/manage-data/describe-fields.htm\" target=\"_blank\">Feldwerttypen finden Sie hier</a>.</p><br/><p>Ein Layer enthält standardmäßig keinen <strong>Feldwerttyp</strong> in seinen Attributfeldern. Die Gelegenheit zum Bereitstellen von zusätzlichem Kontext über den Typ des im Feld gespeicherten Wertes bleibt damit ungenutzt. Dies bedeutet, dass jeder Benutzer ein Metadatendokument suchen muss, um zu erfahren, was genau in diesem Feld enthalten ist. Wenn Sie als Besitzer dieses Elements jetzt Feldwerttypen festlegen, ersparen Sie anderen Benutzern, die Ihren Layer verwenden möchten, Hunderte oder Tausende Arbeitsstunden. Wenn diese zusätzlichen Metadaten in den Layer integriert werden, müssen Benutzer diese Informationen nicht in Metadatendokumenten suchen, da sie bereits vorhanden sind. So wird jedem Benutzer ein wichtiges Detail über den Inhalt des Feldes bereitgestellt, wenn er den Feldwerttyp an anderen Stellen liest, an denen er angezeigt wird, z. B. wenn der Benutzer auf eine Feldinformationsschaltfläche klickt. Außerdem können Softwareentwickler so leichter erkennen, ob ein Feldwert eine Zahl, einen Prozentsatz, eine Messung usw. enthält.</p><br/><p>Wechseln Sie auf der Elementseite auf die Registerkarte <strong>Daten</strong>, klicken Sie auf die Schaltfläche <strong>Felder</strong> und dann auf das erste Feld in der Spalte <strong>Anzeigenname</strong>. Um den <strong>Feldwerttyp</strong> zu bearbeiten, klicken Sie auf die Schaltfläche mit dem Stift, und bearbeiten Sie den Feldwerttyp so, dass er wiedergibt, welche Werttypen im Feld enthalten sind.</p>",
|
|
185
|
+
"SCORING_MSG_DEFAULT": "Es werden Punkte vergeben, wenn 90 % der Feldwerttypen auf einen Wert festgelegt sind.",
|
|
186
|
+
"LABEL": "Feldwerttypen verbessern",
|
|
187
|
+
"TITLE": "Feldwerttypen überprüfen",
|
|
188
|
+
"IMRPOVE_FIELD_TYPE": "Verbessern Sie die Feldwerttypen in Ihrem Feature-Service.",
|
|
189
|
+
"NO_FEATURE_LAYER": "Dieser Feature-Service verfügt weder über einen Feature-Layer noch über nichträumliche Tabellen.",
|
|
190
|
+
"NO_RELEVANT_FIELD": "Dieser Feature-Service verfügt über keine relevanten (nicht vom System erstellten) Felder, die überprüft werden müssen."
|
|
193
191
|
},
|
|
194
192
|
"featureLayerFieldDescriptions": {
|
|
195
|
-
"GUIDANCE_DEFAULT": "
|
|
196
|
-
"SCORING_MSG_DEFAULT": "
|
|
197
|
-
"LABEL": "
|
|
198
|
-
"TITLE": "
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
193
|
+
"GUIDANCE_DEFAULT": "<p>Ein Layer enthält standardmäßig keine <strong>Feldbeschreibung</strong> für seine Attributfelder. Dies bedeutet, dass jeder Benutzer ein Metadatendokument suchen muss, um zu erfahren, was genau in diesem Feld enthalten ist. Wenn Sie als Besitzer dieses Elements jetzt Feldbeschreibungen festlegen, ersparen Sie anderen Benutzern, die Ihren Layer verwenden möchten, Hunderte oder Tausende Arbeitsstunden. Wenn diese zusätzlichen Metadaten in den Layer integriert werden, müssen Benutzer diese Informationen nicht in Metadatendokumenten suchen, da sie bereits vorhanden sind. So weiß jeder Benutzer genau, wofür dieses Feld steht, wenn er die Feldbeschreibung an allen Stellen liest, an denen sie angezeigt wird, z. B. wenn der Benutzer auf eine Feldinformationsschaltfläche klickt.</p><br/><p>Wechseln Sie auf der Elementseite auf die Registerkarte <strong>Daten</strong>, klicken Sie auf die Schaltfläche <strong>Felder</strong> und dann auf das erste Feld in der Spalte <strong>Anzeigenname</strong>. Um die <strong>Feldbeschreibung</strong> zu bearbeiten, klicken Sie auf die Schaltfläche mit dem Stift, und bearbeiten Sie die Beschreibung so, dass sie den Inhalt des Feldes wiedergibt. Tipp: Kopieren Sie Inhalte aus einem Datenkatalog, einem offiziellen Metadatendokument oder einer PDF-Datei, in der die jeweiligen Felder beschrieben sind, und fügen Sie sie ein.</p>",
|
|
194
|
+
"SCORING_MSG_DEFAULT": "Es werden Punkte vergeben, wenn 90 % der Feldbeschreibungen einen Satz oder weitere Informationen zur näheren Beschreibung des Attributs enthalten. Die Feldbeschreibung muss sich vom Feldaliasnamen unterscheiden.",
|
|
195
|
+
"LABEL": "Feldbeschreibungen verbessern",
|
|
196
|
+
"TITLE": "Feldbeschreibungen überprüfen",
|
|
197
|
+
"IMRPOVE_FIELD_DESCRIPTION": "Verbessern Sie die Feldbeschreibungen in Ihrem Feature-Service.",
|
|
198
|
+
"NO_FEATURE_LAYER": "Dieser Feature-Service verfügt weder über einen Feature-Layer noch über nichträumliche Tabellen.",
|
|
199
|
+
"NO_RELEVANT_FIELD": "Dieser Feature-Service verfügt über keine relevanten (nicht vom System erstellten) Felder, die überprüft werden müssen."
|
|
203
200
|
}
|
|
204
201
|
}
|
package/dist/locale/en.json
CHANGED
|
@@ -172,31 +172,28 @@
|
|
|
172
172
|
"ADD_TOPIC_INFO": "Add topic to communicate what this item is about."
|
|
173
173
|
},
|
|
174
174
|
"featureLayerFieldAliases": {
|
|
175
|
-
"GUIDANCE_DEFAULT": "Field
|
|
176
|
-
"SCORING_MSG_DEFAULT": "Points are awarded if 90%
|
|
175
|
+
"GUIDANCE_DEFAULT": "<p>By default, most layers start out using the field <strong>Names</strong> as the field <strong>Aliases</strong>, making them identical. This puts the burden on each user to translate each Field Name to a useful Field Alias (sometimes shown as Display Name). If, as the the owner of this item, you provide Field Aliases now, it cumulatively saves hundreds or thousands of hours of work for others who find your layer and want to use it. By putting this additional metadata "on board" the layer, users do not have to go find that information in metadata documents since the information is already present. As a result, each user can learn what this field represents simply by reading the Field Alias in all the places where it appears: map legend, pop-up, data table, all interfaces where the user is asked to choose a field.</p><br/><p>From the item page, go to the <strong>Data</strong> tab, click on <strong>Fields</strong> button, and click on the first field under the column <strong>Display Name</strong>. To edit the <strong>Field Alias</strong> (also referred to as <strong>Display Name</strong>), click the pencil button and enter an easy to understand Field Alias / Display Name. Tip: copy/paste content from a data dictionary, an official metadata document or PDF that describes each field.</p><br/><p><strong>Examples:</strong> in the Field Alias text, change "LASTEDITOR" to "Last Editor"; change "FEATURECODE" to "Facility Site Code"; change "NUMSTORIES" to "Number of Stories." Note how the Field Name remains unchanged.</p>",
|
|
176
|
+
"SCORING_MSG_DEFAULT": "Points are awarded if 90% of Field Aliases (Display Names) are edited such that they are no longer identical to the Field Names.",
|
|
177
177
|
"LABEL": "Improve Field Aliases",
|
|
178
178
|
"TITLE": "Check Field Aliases",
|
|
179
|
-
"ADD_FIELD_ALIAS": "Add field aliases to your feature service.",
|
|
180
179
|
"IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature service.",
|
|
181
180
|
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table.",
|
|
182
181
|
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate."
|
|
183
182
|
},
|
|
184
183
|
"featureLayerFieldTypes": {
|
|
185
|
-
"GUIDANCE_DEFAULT": "
|
|
186
|
-
"SCORING_MSG_DEFAULT": "Points are awarded if 90%
|
|
184
|
+
"GUIDANCE_DEFAULT": "<p>To help users and client apps identify how field values should be used or represented, define the types of values that are stored in each attribute field in a hosted feature layer. For example, if you define a text field as a phone number, client apps can format the text in the appropriate manner, such as (123) 456-7890. ArcGIS Online uses field value types to show you the most relevant options when drawing a layer in a map or configuring pop-ups. See the <a href=\"https://doc.arcgis.com/en/arcgis-online/manage-data/describe-fields.htm\" target=\"_blank\">Field Value Types listed here</a>.</p><br/><p>By default, a layer usually does not contain a <strong>Field Value Type</strong> on its attribute fields. This is a missed opportunity to share additional context about what type of value is stored in the field. This puts the burden on each user to go find a metadata document, if available, so that they can learn what exactly is stored in that field. If, as the the owner of this item, you provide Field Value Types now, it cumulatively saves hundreds or thousands of hours of work for others who find your layer and want to use it. By putting this additional metadata \"on board\" the layer, users do not have to go find that information in metadata documents since the information is already present. As a result, each user can learn a key detail about what this field represents simply by reading the Field Value Type in all the places where it appears, e.g. when the user clicks on a field information button. It also helps software developers to detect whether a field value will contain a count, percent, measurement etc.</p><br/><p>From the item page, go to the <strong>Data</strong> tab, click on <strong>Fields</strong> button, and click on the first field under the column <strong>Display Name</strong>. To edit the <strong>Field Value Type</strong>, click the pencil button and edit the Field Value Type so that it represents what kinds of values the field contains.</p>",
|
|
185
|
+
"SCORING_MSG_DEFAULT": "Points are awarded if 90% of Field Value Types are set to a value.",
|
|
187
186
|
"LABEL": "Improve Field Value Types",
|
|
188
187
|
"TITLE": "Check Field Value Types",
|
|
189
|
-
"
|
|
190
|
-
"IMRPOVE_FIELD_TYPE": "Improve field types in your feature service.",
|
|
188
|
+
"IMRPOVE_FIELD_TYPE": "Improve field value types in your feature service.",
|
|
191
189
|
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table.",
|
|
192
190
|
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate."
|
|
193
191
|
},
|
|
194
192
|
"featureLayerFieldDescriptions": {
|
|
195
|
-
"GUIDANCE_DEFAULT": "Field
|
|
196
|
-
"SCORING_MSG_DEFAULT": "Points are awarded if 90% or more of the
|
|
193
|
+
"GUIDANCE_DEFAULT": "<p>By default, a layer usually does not contain a <strong>Field Description</strong> on its attribute fields. This puts the burden on each user to go find a metadata document, if available, so that they can learn what exactly is stored in that field. If, as the the owner of this item, you provide Field Descriptions now, it cumulatively saves hundreds or thousands of hours of work for others who find your layer and want to use it. By putting this additional metadata "on board" the layer, users do not have to go find that information in metadata documents since the information is already present. As a result, each user can learn the details about what this field represents simply by reading the Field Description in all the places where it appears, e.g. when the user clicks on a field information button.</p><br/><p>From the item page, go to the <strong>Data</strong> tab, click on <strong>Fields</strong> button, and click on the first field under the column <strong>Display Name</strong>. To edit the <strong>Field Description</strong>, click the pencil button and edit the description so that it explains what the field contains. Tip: copy/paste content from a data dictionary, an official metadata document or PDF that describes each field.</p>",
|
|
194
|
+
"SCORING_MSG_DEFAULT": "Points are awarded if 90% of Field Descriptions contain a sentence or more of information describing the attribute. The Field Description must be different than the field alias.",
|
|
197
195
|
"LABEL": "Improve Field Descriptions",
|
|
198
196
|
"TITLE": "Check Field Descriptions",
|
|
199
|
-
"ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature service.",
|
|
200
197
|
"IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature service.",
|
|
201
198
|
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table.",
|
|
202
199
|
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate."
|
package/dist/locale/es.json
CHANGED
|
@@ -172,33 +172,30 @@
|
|
|
172
172
|
"ADD_TOPIC_INFO": "Agregue el tema para comunicar de qué trata este artículo."
|
|
173
173
|
},
|
|
174
174
|
"featureLayerFieldAliases": {
|
|
175
|
-
"GUIDANCE_DEFAULT": "
|
|
176
|
-
"SCORING_MSG_DEFAULT": "
|
|
177
|
-
"LABEL": "
|
|
178
|
-
"TITLE": "
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
175
|
+
"GUIDANCE_DEFAULT": "<p>La mayoría de las capas empiezan usando el campo <strong>Nombres</strong> como campo <strong>Alias</strong> de forma predeterminada, lo que hace que sean idénticos. Esto obliga a cada usuario a convertir el contenido de cada nombre de campo en un alias de campo útil (a veces aparece como Nombre de visualización). Como propietario de este elemento, si proporciona alias de campo en este momento, estará ahorrando de forma acumulada cientos o miles de horas de trabajo a otras personas que encuentren su capa y quieran utilizarla. Al incluir estos metadatos adicionales "en la capa" los usuarios no tienen que buscar esa información en los documentos de metadatos porque la información ya está presente. Como resultado, cada usuario puede entender qué representa este campo simplemente leyendo el alias de campo en todos los lugares donde aparece: la leyenda del mapa, la ventana emergente, la tabla de datos y todas las interfaces donde se le pide al usuario que elija un campo.</p><br/><p>En la página del elemento, vaya a la pestaña <strong>Datos</strong> y haga clic en el botón <strong>Campos</strong> seguido del primer campo de la columna <strong>Nombre de visualización</strong>. Para editar el <strong>alias de campo</strong> (también denominado <strong>Nombre de visualización</strong>), haga clic en el botón de lápiz e introduzca un alias de campo o nombre de visualización que sea fácil de entender. Sugerencia: copie/pegue contenido de un diccionario de datos, un documento de metadatos oficial o un PDF donde se describa cada campo.</p><br/><p><strong>Ejemplos:</strong> en el texto Alias de campo, cambie "LASTEDITOR" por "Último editor"; cambie "FEATURECODE" por "Códio de instalaciones"; cambie "NUMSTORIES" por "Número de historias." Observe que el nombre de visualización no cambia.</p>",
|
|
176
|
+
"SCORING_MSG_DEFAULT": "Se otorgan puntos si el 90% de los alias de campo (nombres de visualización) se editan de manera que dejan de ser idénticos a los nombres de campo.",
|
|
177
|
+
"LABEL": "Alias de campo mejorados",
|
|
178
|
+
"TITLE": "Comprobar alias de campo",
|
|
179
|
+
"IMPROVE_FIELD_ALIAS": "Mejore los alias de campo en el servicio de entidades.",
|
|
180
|
+
"NO_FEATURE_LAYER": "Este servicio de entidades no tiene ninguna capa de entidades ni tabla no espacial.",
|
|
181
|
+
"NO_RELEVANT_FIELD": "En este servicio de entidades no hay ningún campo relevante (no generado por el sistema) que validar."
|
|
183
182
|
},
|
|
184
183
|
"featureLayerFieldTypes": {
|
|
185
|
-
"GUIDANCE_DEFAULT": "
|
|
186
|
-
"SCORING_MSG_DEFAULT": "
|
|
187
|
-
"LABEL": "
|
|
188
|
-
"TITLE": "
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
184
|
+
"GUIDANCE_DEFAULT": "<p>Para ayudar a usuarios y aplicaciones de cliente a identificar cómo deberían utilizarse o representarse los valores de campo, defina los tipos de valores que se almacenan en cada campo de atributo de una capa de entidades alojada. Por ejemplo, si define un campo de texto como un número de teléfono, las aplicaciones cliente pueden formatear el texto de la forma adecuada, como (123) 456-7890. ArcGIS Online utiliza tipos de valores de campo para que se muestren las opciones más relevantes al dibujar una capa en un mapa o configurar ventanas emergentes. Consulte los <a href=\"https://doc.arcgis.com/en/arcgis-online/manage-data/describe-fields.htm\" target=\"_blank\">tipos de valores de campo que aparecen aquí</a>.</p><br/><p>De forma predeterminada, una capa no suele contener ningún <strong>tipo de valor de campo</strong> en sus campos de atributo. Se pierde la oportunidad de compartir contexto adicional sobre el tipo de valor que se almacena en el campo. Esto obliga a cada usuario a buscar un documento de metadados, si está disponible, para que pueda saber exactamente qué se ha almacenado en ese campo. Como propietario de este elemento, si proporciona tipos de valores de campo en este momento, estará ahorrando de forma acumulada cientos o miles de horas de trabajo a otras personas que encuentren su capa y quieran utilizarla. Al incluir estos metadatos adicionales en la capa, los usuarios no tienen que buscar esa información en los documentos de metadatos porque la información ya está presente. Como resultado, cada usuario puede conocer los detalles clave de lo que representa este campo simplemente leyendo el tipo de valor de campo en todos los lugares donde aparece, como cuando el usuario hace clic en un botón de información del campo. También ayuda a los desarrolladores de software a detectar si un valor de campo contendrá un recuento, un porcentaje, una medición, etc.</p><br/><p>En la página del elemento, vaya a la pestaña <strong>Datos</strong> y haga clic en el botón <strong>Campos</strong> seguido del primer campo de la columna <strong>Nombre de visualización</strong>. Para editar el <strong>tipo de valor de campo</strong>, haga clic en el botón de lápiz y edite el tipo de valor de campo para que represente los tipos de valores que contiene el campo.</p>",
|
|
185
|
+
"SCORING_MSG_DEFAULT": "Se otorgan puntos si el 90% de los tipos de valores de campo se configuran en un valor.",
|
|
186
|
+
"LABEL": "Mejorar los tipos de valores de campo",
|
|
187
|
+
"TITLE": "Comprobar los tipos de valores de campo",
|
|
188
|
+
"IMRPOVE_FIELD_TYPE": "Mejore los tipos de valores de campo en el servicio de entidades.",
|
|
189
|
+
"NO_FEATURE_LAYER": "Este servicio de entidades no tiene ninguna capa de entidades ni tabla no espacial.",
|
|
190
|
+
"NO_RELEVANT_FIELD": "En este servicio de entidades no hay ningún campo relevante (no generado por el sistema) que validar."
|
|
193
191
|
},
|
|
194
192
|
"featureLayerFieldDescriptions": {
|
|
195
|
-
"GUIDANCE_DEFAULT": "
|
|
196
|
-
"SCORING_MSG_DEFAULT": "
|
|
197
|
-
"LABEL": "
|
|
198
|
-
"TITLE": "
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
193
|
+
"GUIDANCE_DEFAULT": "<p>De forma predeterminada, una capa no suele contener ninguna <strong>descripción de campo</strong> en sus campos de atributo. Esto obliga a cada usuario a buscar un documento de metadados, si está disponible, para que pueda saber exactamente qué se ha almacenado en ese campo. Como propietario de este elemento, si proporcionas descripciones de campo en este momento, estarás ahorrando de forma acumulada cientos o miles de horas de trabajo a otras personas que encuentren tu capa y quieran utilizarla. Al incluir estos metadatos adicionales "en la capa", los usuarios no tienen que buscar esa información en los documentos de metadatos porque la información ya está presente. Como resultado, cada usuario puede conocer los detalles de lo que representa este campo simplemente leyendo la descripción de campo en todos los lugares donde aparece, como cuando el usuario hace clic en un botón de información del campo.</p><br/><p>En la página del elemento, vaya a la pestaña <strong>Datos</strong> y haga clic en el botón <strong>Campos</strong> seguido del primer campo de la columna <strong>Nombre de visualización</strong>. Para editar la <strong>descripción de campo</strong>, haga clic en el botón de lápiz y edite la descripción para que explique qué contiene el campo. Sugerencia: copie/pegue contenido de un diccionario de datos, un documento de metadados oficial o un PDF donde se describa cada campo.</p>",
|
|
194
|
+
"SCORING_MSG_DEFAULT": "Se otorgan puntos si el 90% de las descripciones de campo contienen una o varias frases de información en la que se describe el atributo. La descripción de campo debe ser distinta del alias de campo.",
|
|
195
|
+
"LABEL": "Mejorar las descripciones de campo",
|
|
196
|
+
"TITLE": "Comprobar las descripciones de campo",
|
|
197
|
+
"IMRPOVE_FIELD_DESCRIPTION": "Mejore las descripciones de campo en el servicio de entidades.",
|
|
198
|
+
"NO_FEATURE_LAYER": "Este servicio de entidades no tiene ninguna capa de entidades ni tabla no espacial.",
|
|
199
|
+
"NO_RELEVANT_FIELD": "En este servicio de entidades no hay ningún campo relevante (no generado por el sistema) que validar."
|
|
203
200
|
}
|
|
204
201
|
}
|
package/dist/locale/fr.json
CHANGED
|
@@ -172,33 +172,30 @@
|
|
|
172
172
|
"ADD_TOPIC_INFO": "Ajoutez le sujet pour indiquer de quoi traite l’élément."
|
|
173
173
|
},
|
|
174
174
|
"featureLayerFieldAliases": {
|
|
175
|
-
"GUIDANCE_DEFAULT": "
|
|
176
|
-
"SCORING_MSG_DEFAULT": "
|
|
177
|
-
"LABEL": "
|
|
178
|
-
"TITLE": "
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
175
|
+
"GUIDANCE_DEFAULT": "<p>Par défaut, la plupart des couches utilisent au départ des <strong>noms</strong> de champ en guise d’<strong>alias</strong> de champ, ce qui ne permet pas de différencier ces deux éléments. Il incombe alors à chaque utilisateur de traduire les noms de champ en des alias de champ exploitables (parfois présentés comme les noms d’affichage des champs). Si, en tant que propriétaire d’un élément, vous indiquez dès à présent des alias de champ, vous permettrez aux utilisateurs qui trouvent votre couche et souhaitent l’utiliser de gagner des centaines, voire des milliers d’heures de travail. Lorsque vous intégrez à la couche ces informations supplémentaires, les utilisateurs n’ont plus besoin de les rechercher dans les documents de métadonnées puisqu’elles sont déjà présentes. Ainsi, chaque utilisateur peut savoir ce que représente un champ en particulier tout simplement en lisant l’alias du champ partout où ce dernier apparaît : dans la légende de la carte, les fenêtres contextuelles ou la table de données, bref, dans toutes les interfaces dans lesquelles l’utilisateur est amené à sélectionner un champ.</p><br/><p>Sur la page de l’élément, accédez à l’onglet <strong>Données</strong>, cliquez sur le bouton <strong>Champs</strong>, puis sélectionnez le premier champ qui se trouve sous la colonne <strong>Nom d’affichage</strong>. Pour modifier l’<strong>alias du champ</strong> (également appelé le <strong>nom d’affichage</strong> du champ), cliquez sur le bouton représentant un crayon et saisissez un alias de champ/nom d’affichage facile à comprendre. Conseil : copiez et collez le contenu d’un dictionnaire de données, d’un document de métadonnées ou d’un fichier PDF officiel décrivant chaque champ.</p><br/><p><strong>Exemples :</strong> dans la zone de texte Alias du champ, remplacez \"LASTEDITOR\" par \"Dernier éditeur\", \"FEATURECODE\" par \"Code du site du bâtiment\", ou encore \"NUMSTORIES\" par \"Nombre de récits\". Remarquez que le nom du champ reste inchangé.</p>",
|
|
176
|
+
"SCORING_MSG_DEFAULT": "Vous obtenez des points si 90 % des alias de champ (noms d’affichage) sont modifiés de telle sorte qu’ils diffèrent des noms de champ.",
|
|
177
|
+
"LABEL": "Améliorer les alias des champs",
|
|
178
|
+
"TITLE": "Vérifier les alias des champs",
|
|
179
|
+
"IMPROVE_FIELD_ALIAS": "Améliorez les alias des champs du service d’entités.",
|
|
180
|
+
"NO_FEATURE_LAYER": "Ce service d’entités ne contient aucune couche d’entités ou table non spatiale.",
|
|
181
|
+
"NO_RELEVANT_FIELD": "Ce service d’entités ne comporte aucun champ pertinent (hormis les champs générés par le système) à valider."
|
|
183
182
|
},
|
|
184
183
|
"featureLayerFieldTypes": {
|
|
185
|
-
"GUIDANCE_DEFAULT": "
|
|
186
|
-
"SCORING_MSG_DEFAULT": "
|
|
187
|
-
"LABEL": "
|
|
188
|
-
"TITLE": "
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
184
|
+
"GUIDANCE_DEFAULT": "<p>Pour aider les utilisateurs et les applications clientes à déterminer le mode d’utilisation ou d’affichage le plus adapté aux valeurs d’un champ, définissez les types des valeurs stockées dans chaque champ attributaire d’une couche d’entités hébergée. Par exemple, si vous précisez qu’un champ de texte correspond à un numéro de téléphone, les applications clientes peuvent appliquer au texte le format approprié, comme (123) 456-7890. ArcGIS Online utilise des types de valeur pour les champs afin d’indiquer les options les plus pertinentes lors de l’affichage d’une couche dans une carte ou de la configuration des fenêtres contextuelles. Examinez les <a href=\"https://doc.arcgis.com/en/arcgis-online/manage-data/describe-fields.htm\" target=\"_blank\">types de valeur des champs répertoriés ici</a>.</p><br/><p>Par défaut, une couche ne contient généralement aucun <strong>type de valeur</strong> pour ses champs attributaires. C’est pourtant l’occasion de partager davantage de contexte quant au type des valeurs qui sont stockées dans un champ. Il incombe alors à chaque utilisateur de rechercher un document contenant des métadonnées (s’il en existe un) de manière à découvrir ce que contient exactement un champ. Si, en tant que propriétaire d’un élément, vous indiquez dès à présent les types de valeur des champs, vous permettrez aux utilisateurs qui trouvent votre couche et souhaitent l’utiliser de gagner des centaines, voire des milliers d’heures de travail. Lorsque vous intégrez à la couche ces informations supplémentaires, les utilisateurs n’ont plus besoin de les rechercher dans les documents de métadonnées puisqu’elles sont déjà présentes. Ainsi, chaque utilisateur peut obtenir des informations clés quant à ce que représente un champ tout simplement en lisant le type de valeur du champ partout où ce dernier apparaît, par exemple, lorsque l’utilisateur clique sur le bouton Informations correspondant au champ. Cela permet également aux développeurs de logiciels de repérer les valeurs de champ qui contiennent un total, un pourcentage, une mesure, etc.</p><br/><p>Sur la page de l’élément, accédez à l’onglet <strong>Données</strong>, cliquez sur le bouton <strong>Champs</strong>, puis sélectionnez le premier champ qui se trouve sous la colonne <strong>Nom d’affichage</strong>. Pour modifier le <strong>type de valeur du champ</strong>, cliquez sur le bouton représentant un crayon et précisez le type des valeurs que le champ contient.</p>",
|
|
185
|
+
"SCORING_MSG_DEFAULT": "Vous obtenez des points si une valeur a été définie pour 90 % des types de valeur des champs.",
|
|
186
|
+
"LABEL": "Améliorer les types de valeur des champs",
|
|
187
|
+
"TITLE": "Vérifier les types de valeur des champs",
|
|
188
|
+
"IMRPOVE_FIELD_TYPE": "Améliorez les types de valeur des champs du service d’entités.",
|
|
189
|
+
"NO_FEATURE_LAYER": "Ce service d’entités ne contient aucune couche d’entités ou table non spatiale.",
|
|
190
|
+
"NO_RELEVANT_FIELD": "Ce service d’entités ne comporte aucun champ pertinent (hormis les champs générés par le système) à valider."
|
|
193
191
|
},
|
|
194
192
|
"featureLayerFieldDescriptions": {
|
|
195
|
-
"GUIDANCE_DEFAULT": "
|
|
196
|
-
"SCORING_MSG_DEFAULT": "
|
|
197
|
-
"LABEL": "
|
|
198
|
-
"TITLE": "
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
193
|
+
"GUIDANCE_DEFAULT": "<p>Par défaut, une couche ne contient généralement aucune <strong>description</strong> pour ses champs attributaires. Il incombe alors à chaque utilisateur de rechercher un document contenant des métadonnées (s’il en existe un) de manière à découvrir ce que contient exactement un champ. Si, en tant que propriétaire d’un élément, vous indiquez dès à présent des descriptions de champ, vous permettrez aux utilisateurs qui trouvent votre couche et souhaitent l’utiliser de gagner des centaines, voire des milliers d’heures de travail. Lorsque vous intégrez à la couche ces informations supplémentaires, les utilisateurs n’ont plus besoin de les rechercher dans les documents de métadonnées puisqu’elles sont déjà présentes. Ainsi, chaque utilisateur peut obtenir des informations détaillées quant à ce que représente un champ tout simplement en lisant la description du champ partout où cette dernière apparaît, par exemple, lorsque l’utilisateur clique sur le bouton Informations correspondant au champ.</p><br/><p>Sur la page de l’élément, accédez à l’onglet <strong>Données</strong>, cliquez sur le bouton <strong>Champs</strong>, puis sélectionnez le premier champ qui se trouve sous la colonne <strong>Nom d’affichage</strong>. Pour modifier la <strong>description du champ</strong>, cliquez sur le bouton représentant un crayon et saisissez une description précisant ce que contient le champ. Conseil : copiez et collez le contenu d’un dictionnaire de données, d’un document de métadonnées ou d’un fichier PDF officiel décrivant chaque champ.</p>",
|
|
194
|
+
"SCORING_MSG_DEFAULT": "Vous obtenez des points si 90 % des descriptions de champ contiennent au moins une phrase avec des informations décrivant l’attribut. La description du champ doit être différente de l’alias du champ.",
|
|
195
|
+
"LABEL": "Améliorer les descriptions des champs",
|
|
196
|
+
"TITLE": "Vérifier les descriptions des champs",
|
|
197
|
+
"IMRPOVE_FIELD_DESCRIPTION": "Améliorez les descriptions des champs du service d’entités.",
|
|
198
|
+
"NO_FEATURE_LAYER": "Ce service d’entités ne contient aucune couche d’entités ou table non spatiale.",
|
|
199
|
+
"NO_RELEVANT_FIELD": "Ce service d’entités ne comporte aucun champ pertinent (hormis les champs générés par le système) à valider."
|
|
203
200
|
}
|
|
204
201
|
}
|
package/dist/locale/ja.json
CHANGED
|
@@ -172,33 +172,30 @@
|
|
|
172
172
|
"ADD_TOPIC_INFO": "このアイテム内容を伝えるためのトピックを追加します。"
|
|
173
173
|
},
|
|
174
174
|
"featureLayerFieldAliases": {
|
|
175
|
-
"GUIDANCE_DEFAULT": "
|
|
176
|
-
"SCORING_MSG_DEFAULT": "
|
|
177
|
-
"LABEL": "
|
|
178
|
-
"TITLE": "
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
175
|
+
"GUIDANCE_DEFAULT": "<p>デフォルトでは、ほとんどのレイヤーはまず<strong>名前</strong>フィールドを<strong>エイリアス</strong> フィールドとして使用し、同一になります。 そのため、各ユーザーには、各フィールド名を有用なフィールド エイリアス (表示名と表示されることもある) に変換する負担がかかります。 このアイテムの所有者として、あなたがフィールド エイリアスを指定すれば、レイヤーを検索した他のユーザーの作業時間を累積で何百、何千時間も節約できます。 この追加メタデータをレイヤーに「搭載する」ことによって、既知の情報となり、ユーザーはメタデータ ドキュメント内で情報を探す必要がなくなります。 その結果、各ユーザーは、表示されるすべての場所 (マップの凡例、ポップアップ、データ テーブル、ユーザーがフィールドの選択を求められるすべてのインターフェイス) でフィールド エイリアスを読み取るだけで、このフィールドが何を表しているかを知ることができます。</p><br/><p>アイテム ページから<strong>データ</strong> タブに移動し、<strong>フィールド</strong> ボタンをクリックして、<strong>表示名</strong>列の最初のフィールドをクリックします。 <strong>フィールド エイリアス</strong> (<strong>表示名</strong>とも呼ばれる) を編集するには、編集ボタンをクリックして、わかりやすいフィールド エイリアスまたは表示名を入力します。 ヒント: 各フィールドを説明するデータ ディクショナリー、公式メタデータ ドキュメント、または PDF からコンテンツをコピーして貼り付けます。</p><br/><p><strong>例:</strong> フィールド エイリアス テキストで「LASTEDITOR」を「最終編集者」、「FEATURECODE」を「施設サイト コード」、「NUMSTORIES」を「ストーリーの数」にそれぞれ変更します。フィールド名は変更されません。</p>",
|
|
176
|
+
"SCORING_MSG_DEFAULT": "フィールド エイリアス (表示名) の 90% が編集されてフィールド名と同一でなくなると、ポイントが与えられます。",
|
|
177
|
+
"LABEL": "フィールド エイリアスの改善",
|
|
178
|
+
"TITLE": "フィールド エイリアスの確認",
|
|
179
|
+
"IMPROVE_FIELD_ALIAS": "フィーチャ サービス内のフィールド エイリアスを改善します。",
|
|
180
|
+
"NO_FEATURE_LAYER": "このフィーチャ サービスには、フィーチャ レイヤーまたは非空間テーブルが含まれていません。",
|
|
181
|
+
"NO_RELEVANT_FIELD": "このフィーチャ サービスには、検証する関連フィールド (システム生成ではない) が含まれていません。"
|
|
183
182
|
},
|
|
184
183
|
"featureLayerFieldTypes": {
|
|
185
|
-
"GUIDANCE_DEFAULT": "
|
|
186
|
-
"SCORING_MSG_DEFAULT": "
|
|
187
|
-
"LABEL": "
|
|
188
|
-
"TITLE": "
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
184
|
+
"GUIDANCE_DEFAULT": "<p>ユーザーやクライアント アプリがフィールド値の使用方法と表示内容を簡単に特定できるように、ホスト フィーチャ レイヤーの各属性フィールドに格納されている値のタイプを定義します。 たとえば、テキスト フィールドを電話番号として定義する場合、クライアント アプリでそのテキストを (123) 456-7890 などの適切な書式に設定できます。 ArcGIS Online では、フィールド値タイプを使用して、マップでレイヤーを描画する場合やポップアップを構成する場合に最適なオプションが提示されます。 <a href=\"https://doc.arcgis.com/en/arcgis-online/manage-data/describe-fields.htm\" target=\"_blank\">ここに示すフィールド値タイプ</a>をご参照ください。</p><br/><p>デフォルトでは、レイヤーにはその属性フィールドに<strong>フィールド値タイプ</strong>は含まれていません。 これにより、フィールドに格納されている値のタイプに関する追加のコンテキストを共有する機会が失われています。 そのため、各ユーザーには、そのフィールドに何が格納されているかを正確に知るために、メタデータ ドキュメント (利用可能な場合) を検索する負担がかかります。 このアイテムの所有者としてあなたがフィールド値タイプを指定すれば、レイヤーを検索した他のユーザーの作業時間を累積で何百、何千時間も節約できます。 この追加メタデータをレイヤーに「搭載する」ことによって、既知の情報となり、ユーザーはメタデータ ドキュメント内で情報を探す必要がなくなります。 その結果、各ユーザーは、フィールド情報ボタンをクリックしたときなどに表示されるフィールド値タイプを、すべての場所で読み取ることによって、このフィールドが何を表しているかに関する重要な詳細を、簡単に知ることができます。 また、ソフトウェア開発者がフィールド値に数、パーセント、計測値などが含まれているかどうかを検出するのにも役立ちます。</p><br/><p>アイテム ページから<strong>データ</strong> タブに移動し、<strong>フィールド</strong> ボタンをクリックして、<strong>表示名</strong>列の最初のフィールドをクリックします。 <strong>フィールド値タイプ</strong>を編集するには、編集ボタンをクリックして、フィールドに含まれている値の種類を表すためにフィールド値タイプを編集します。</p>",
|
|
185
|
+
"SCORING_MSG_DEFAULT": "フィールド値タイプの 90% に値が設定されていると、ポイントが与えられます。",
|
|
186
|
+
"LABEL": "フィールド値タイプの改善",
|
|
187
|
+
"TITLE": "フィールド値タイプの確認",
|
|
188
|
+
"IMRPOVE_FIELD_TYPE": "フィーチャ サービス内のフィールド値タイプを改善します。",
|
|
189
|
+
"NO_FEATURE_LAYER": "このフィーチャ サービスには、フィーチャ レイヤーまたは非空間テーブルが含まれていません。",
|
|
190
|
+
"NO_RELEVANT_FIELD": "このフィーチャ サービスには、検証する関連フィールド (システム生成ではない) が含まれていません。"
|
|
193
191
|
},
|
|
194
192
|
"featureLayerFieldDescriptions": {
|
|
195
|
-
"GUIDANCE_DEFAULT": "
|
|
196
|
-
"SCORING_MSG_DEFAULT": "
|
|
197
|
-
"LABEL": "
|
|
198
|
-
"TITLE": "
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
193
|
+
"GUIDANCE_DEFAULT": "<p>デフォルトでは、レイヤーにはその属性フィールドに<strong>フィールドの説明</strong>は含まれていません。 そのため、各ユーザーには、そのフィールドに何が格納されているかを正確に知るために、(利用可能であれば) メタデータ ドキュメントを探す負担がかかります。 このアイテムの所有者として、あなたがフィールド エイリアスを指定すれば、レイヤーを検索した他のユーザーの作業時間を累積で何百、何千時間も節約できます。 この追加メタデータをレイヤーに「搭載する」ことによって、既知の情報となり、ユーザーはメタデータ ドキュメント内で情報を探す必要がなくなります。 その結果、各ユーザーは、フィールド情報ボタンをクリックしたときなどに表示されるフィールドの説明を、すべての場所で読み取ることによって、このフィールドが何を表しているかに関する重要な詳細を知ることができます。</p><br/><p>アイテム ページから<strong>データ</strong> タブに移動し、<strong>フィールド</strong> ボタンをクリックして、<strong>表示名</strong>列の最初のフィールドをクリックします。 <strong>フィールドの説明</strong>を編集するには、編集ボタンをクリックして、フィールドに何が含まれているかを説明するように編集します。 ヒント: 各フィールドを説明するデータ ディクショナリー、公式メタデータ ドキュメント、または PDF からコンテンツをコピーして貼り付けます。</p>",
|
|
194
|
+
"SCORING_MSG_DEFAULT": "フィールドの説明の 90% に、属性を説明する情報が 1 文以上含まれていると、ポイントが与えられます。 フィールドの説明はフィールド エイリアスと異なる必要があります。",
|
|
195
|
+
"LABEL": "フィールドの説明の改善",
|
|
196
|
+
"TITLE": "フィールドの説明の確認",
|
|
197
|
+
"IMRPOVE_FIELD_DESCRIPTION": "フィーチャ サービス内のフィールドの説明を改善します。",
|
|
198
|
+
"NO_FEATURE_LAYER": "このフィーチャ サービスには、フィーチャ レイヤーまたは非空間テーブルが含まれていません。",
|
|
199
|
+
"NO_RELEVANT_FIELD": "このフィーチャ サービスには、検証する関連フィールド (システム生成ではない) が含まれていません。"
|
|
203
200
|
}
|
|
204
201
|
}
|
package/dist/locale/pt-br.json
CHANGED
|
@@ -172,33 +172,30 @@
|
|
|
172
172
|
"ADD_TOPIC_INFO": "Adicione um tópico para comunicar sobre o que é este item."
|
|
173
173
|
},
|
|
174
174
|
"featureLayerFieldAliases": {
|
|
175
|
-
"GUIDANCE_DEFAULT": "
|
|
176
|
-
"SCORING_MSG_DEFAULT": "
|
|
177
|
-
"LABEL": "
|
|
178
|
-
"TITLE": "
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
175
|
+
"GUIDANCE_DEFAULT": "Por padrão, a maioria das camadas começa usando o Nome do Campo como o Apelido do Ca</strong><strong></strong><strong><p>mpo, tornando-os idênticos. Isso coloca sobre cada usuário a responsabilidade de traduzir cada Nome de Campo em um Apelido de Campo útil (às vezes mostrado como Nome de Exibição). Se, como proprietário deste item, você fornecer Apelidos de Campo agora, isso economizará cumulativamente centenas ou milhares de horas de trabalho para outros que encontrarem sua camada e quiserem usá-la. Ao colocar esses metadados adicionais "on board" da camada, os usuários não precisam procurar essas informações em documentos de metadados, pois as informações já estão presentes. Como resultado, cada usuário pode aprender o que esse campo representa simplesmente lendo o Apelido do Campo em todos os lugares onde ele aparece: legenda do mapa, pop-up, tabela de dados, todas as interfaces onde o usuário é solicitado a escolher um campo.</p><br/><p>Na página do item, vá para a guia <strong>Dados</strong>, clique no botão <strong>Campos</strong> e clique no primeiro campo na coluna <strong>Nome de exibição</strong>. Para editar o <strong>Apelido do Campo</strong> (também conhecido como <strong>Nome de Exibição</strong>), clique no botão de lápis e insira um Apelido de Campo/Nome de Exibição fácil de entender. Dica: copie e cole o conteúdo de um dicionário de dados, um documento oficial de metadados ou PDF que descreva cada campo.</p><br/><p><strong>Exemplos:</strong> no texto do Apelido do Campo, altere "LASTEDITOR" to "Last Editor"; change "FEATURECODE" to "Facility Site Code"; change "NUMSTORIES" to "Number of Stories." Observe como o nome do campo permanece inalterado.</p>",
|
|
176
|
+
"SCORING_MSG_DEFAULT": "Pontos serão concedidos se 90% dos Apelidos de Campo (Nomes de Exibição) forem editados de forma que não sejam mais idênticos aos Nomes de Campo.",
|
|
177
|
+
"LABEL": "Melhorar os Apelidos de Campo",
|
|
178
|
+
"TITLE": "Verificar Apelidos do Campo",
|
|
179
|
+
"IMPROVE_FIELD_ALIAS": "Melhore os Apelidos de Campo no seu serviço de feição.",
|
|
180
|
+
"NO_FEATURE_LAYER": "Este serviço de feição não possui nenhuma camada de feição ou tabela não espacial.",
|
|
181
|
+
"NO_RELEVANT_FIELD": "Este serviço de feição não possui campos relevantes (não gerados pelo sistema) para validar."
|
|
183
182
|
},
|
|
184
183
|
"featureLayerFieldTypes": {
|
|
185
|
-
"GUIDANCE_DEFAULT": "
|
|
186
|
-
"SCORING_MSG_DEFAULT": "
|
|
187
|
-
"LABEL": "
|
|
188
|
-
"TITLE": "
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
184
|
+
"GUIDANCE_DEFAULT": "<p>Para ajudar usuários e aplicativos clientes a identificar como os valores de campo devem ser usados ou representados, defina os tipos de valores que são armazenados em cada campo de atributo em uma camada de feição hospedada. Por exemplo, se você definir um campo de texto como um número de telefone, os aplicativos clientes podem formatar o texto da maneira apropriada, como (123) 456-7890. O ArcGIS Online usa tipos de valores de campo para mostrar as opções mais relevantes ao desenhar uma camada em um mapa ou configurar pop-ups. Veja os <a href=\"https://doc.arcgis.com/en/arcgis-online/manage-data/describe-fields.htm\" target=\"_blank\">Tipos de Valor de Campo listados aqui</a>.</p><br/><p>Por padrão, uma camada geralmente não contém um <strong>Tipo de Valor de Campo</strong> em seus campos de atributo. Esta é uma oportunidade perdida de compartilhar contexto adicional sobre que tipo de valor é armazenado no campo. Isso coloca sobre cada usuário a responsabilidade de encontrar um documento de metadados, se disponível, para que eles possam descobrir exatamente o que está armazenado naquele campo. Se, como proprietário deste item, você fornecer Tipos de Valor de Campo agora, isso economizará cumulativamente centenas ou milhares de horas de trabalho para outras pessoas que encontrarem sua camada e quiserem usá-la. Ao colocar esses metadados adicionais \"a bordo\" da camada, os usuários não precisam procurar essas informações em documentos de metadados, pois elas já estão presentes. Como resultado, cada usuário pode aprender um detalhe importante sobre o que esse campo representa simplesmente lendo o Tipo de Valor do Campo em todos os lugares onde ele aparece, por exemplo, quando o usuário clica em um botão de informações do campo. Ele também ajuda os desenvolvedores de software a detectar se um valor de campo conterá uma contagem, porcentagem, medição etc.</p><br/><p>Na página do item, vá para a guia <strong>Dados</strong>, clique no botão <strong>Campos</strong> e clique no primeiro campo na coluna <strong>Nome de exibição</strong>. Para editar o <strong>Tipo de Valor do Campo</strong>, clique no botão de lápis e edite o Tipo de Valor do Campo para que ele represente os tipos de valores que o campo contém.</p>",
|
|
185
|
+
"SCORING_MSG_DEFAULT": "Os pontos serão concedidos se 90% dos Tipos de Valor de Campo forem definidos como um valor.",
|
|
186
|
+
"LABEL": "Melhorar os Tipos de Valor de Campo",
|
|
187
|
+
"TITLE": "Verificar Tipos de Valor de Campo",
|
|
188
|
+
"IMRPOVE_FIELD_TYPE": "Melhore os Tipos de Valores de Campo no seu serviço de feição.",
|
|
189
|
+
"NO_FEATURE_LAYER": "Este serviço de feição não possui nenhuma camada de feição ou tabela não espacial.",
|
|
190
|
+
"NO_RELEVANT_FIELD": "Este serviço de feição não possui campos relevantes (não gerados pelo sistema) para validar."
|
|
193
191
|
},
|
|
194
192
|
"featureLayerFieldDescriptions": {
|
|
195
|
-
"GUIDANCE_DEFAULT": "
|
|
196
|
-
"SCORING_MSG_DEFAULT": "
|
|
197
|
-
"LABEL": "
|
|
198
|
-
"TITLE": "
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate"
|
|
193
|
+
"GUIDANCE_DEFAULT": "<p>Por padrão, uma camada geralmente não contém uma <strong>Descrição de Campo</strong> em seus campos de atributo. Isso coloca sobre cada usuário a responsabilidade de encontrar um documento de metadados, se disponível, para que eles possam descobrir exatamente o que está armazenado naquele campo. Se, como proprietário deste item, você fornecer Descrições de Campo agora, isso economizará cumulativamente centenas ou milhares de horas de trabalho para outros que encontrarem sua camada e quiserem usá-la. Ao colocar esses metadados adicionais "a bordo" da camada, os usuários não precisam procurar essas informações em documentos de metadados, pois as informações já estão presentes. Como resultado, cada usuário pode aprender os detalhes sobre o que esse campo representa simplesmente lendo a Descrição do Campo em todos os lugares onde ela aparece, por exemplo, quando o usuário clica em um botão de informações do campo.</p><br/><p>Na página do item, vá para a guia <strong>Dados</strong>, clique no botão <strong>Campos</strong> e clique no primeiro campo na coluna <strong>Nome de exibição</strong>. Para editar a <strong>Descrição do Campo</strong>, clique no botão de lápis e edite a descrição para que ela explique o que o campo contém. Dica: copie e cole o conteúdo de um dicionário de dados, um documento oficial de metadados ou PDF que descreva cada campo.</p>",
|
|
194
|
+
"SCORING_MSG_DEFAULT": "Os pontos são concedidos se 90% das Descrições de Campo contiverem uma frase ou mais de informações descrevendo o atributo. A Descrição do Campo deve ser diferente do Apelido do Campo.",
|
|
195
|
+
"LABEL": "Melhore as Descrições dos Campos",
|
|
196
|
+
"TITLE": "Verifique as Descrições dos Campos",
|
|
197
|
+
"IMRPOVE_FIELD_DESCRIPTION": "Melhore as Descrições dos Campos no seu serviço de feição.",
|
|
198
|
+
"NO_FEATURE_LAYER": "Este serviço de feição não possui nenhuma camada de feição ou tabela não espacial.",
|
|
199
|
+
"NO_RELEVANT_FIELD": "Este serviço de feição não possui campos relevantes (não gerados pelo sistema) para validar."
|
|
203
200
|
}
|
|
204
201
|
}
|
package/dist/package-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"lastCompiledTime":
|
|
1
|
+
{"lastCompiledTime":1750786361701}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { FeatureLayerJSON, IItem } from '../../types';
|
|
2
2
|
/**
|
|
3
|
-
* Fetches the layers
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
3
|
+
* Fetches the layers and tables from a given feature service item.
|
|
4
|
+
*
|
|
5
|
+
* Attempts to retrieve the feature service layers and tables using the provided authentication token.
|
|
6
|
+
* If an 'Invalid token' error is encountered, it retries the request without the token.
|
|
7
|
+
*
|
|
8
|
+
* @param item - The feature service item to fetch layers and tables from.
|
|
9
|
+
* @param token - The authentication token to use for the request.
|
|
10
|
+
* @param bypassCache - Optional flag to bypass any caching mechanisms. Defaults to false.
|
|
11
|
+
* @returns A promise that resolves to an array of `FeatureLayerJSON` objects representing the layers and tables.
|
|
12
|
+
* @throws Will throw an error if fetching fails, including after retrying without a token.
|
|
8
13
|
*/
|
|
9
|
-
export declare const fetchFeatureServiceLayersAndTables: (item: IItem, token: string) => Promise<FeatureLayerJSON[]>;
|
|
14
|
+
export declare const fetchFeatureServiceLayersAndTables: (item: IItem, token: string, bypassCache?: boolean) => Promise<FeatureLayerJSON[]>;
|
|
@@ -11,15 +11,51 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.fetchFeatureServiceLayersAndTables = void 0;
|
|
13
13
|
const isFeatureService_1 = require("../../lib/util/isFeatureService");
|
|
14
|
+
const getFeatureServerURL_1 = require("./getFeatureServerURL");
|
|
15
|
+
/**
|
|
16
|
+
* Fetches the layers and tables from a given feature service item.
|
|
17
|
+
*
|
|
18
|
+
* Attempts to retrieve the feature service layers and tables using the provided authentication token.
|
|
19
|
+
* If an 'Invalid token' error is encountered, it retries the request without the token.
|
|
20
|
+
*
|
|
21
|
+
* @param item - The feature service item to fetch layers and tables from.
|
|
22
|
+
* @param token - The authentication token to use for the request.
|
|
23
|
+
* @param bypassCache - Optional flag to bypass any caching mechanisms. Defaults to false.
|
|
24
|
+
* @returns A promise that resolves to an array of `FeatureLayerJSON` objects representing the layers and tables.
|
|
25
|
+
* @throws Will throw an error if fetching fails, including after retrying without a token.
|
|
26
|
+
*/
|
|
27
|
+
const fetchFeatureServiceLayersAndTables = (item_1, token_1, ...args_1) => __awaiter(void 0, [item_1, token_1, ...args_1], void 0, function* (item, token, bypassCache = false) {
|
|
28
|
+
try {
|
|
29
|
+
return yield fetchFeatureServiceLayersAndTablesHelper(item, token, bypassCache);
|
|
30
|
+
}
|
|
31
|
+
catch (error) {
|
|
32
|
+
// Check for 'Invalid token' error and retry without token
|
|
33
|
+
if (error instanceof Error &&
|
|
34
|
+
error.message &&
|
|
35
|
+
error.message.toLowerCase().includes('invalid token')) {
|
|
36
|
+
try {
|
|
37
|
+
console.warn('Invalid token error detected while fetching feature service layers. Retrying without token...');
|
|
38
|
+
return yield fetchFeatureServiceLayersAndTablesHelper(item, undefined, bypassCache);
|
|
39
|
+
}
|
|
40
|
+
catch (retryError) {
|
|
41
|
+
console.error('Error fetching feature service layers and tables after retry:', retryError);
|
|
42
|
+
throw retryError;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
console.error('Error fetching feature service layers and tables:', error);
|
|
46
|
+
throw error; // rethrow the error for the caller to handle
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
exports.fetchFeatureServiceLayersAndTables = fetchFeatureServiceLayersAndTables;
|
|
14
50
|
/**
|
|
15
51
|
* Fetches the layers of a feature service from the ArcGIS REST API.
|
|
16
52
|
* @param item - The item representing the feature service.
|
|
17
53
|
* @param token - The token for authentication.
|
|
54
|
+
* @param bypassCache - Whether to bypass the cache (default is false). If true, a query timestamp is added to the request to bypass any cached responses.
|
|
18
55
|
* @returns A promise that resolves to an array of FeatureLayerJSON objects.
|
|
19
56
|
* @throws An error if the item is not a feature service or if the URL is not found.
|
|
20
57
|
*/
|
|
21
|
-
const
|
|
22
|
-
var _a;
|
|
58
|
+
const fetchFeatureServiceLayersAndTablesHelper = (item_1, token_1, ...args_1) => __awaiter(void 0, [item_1, token_1, ...args_1], void 0, function* (item, token, bypassCache = false) {
|
|
23
59
|
if (!item) {
|
|
24
60
|
throw new Error('Item is required');
|
|
25
61
|
}
|
|
@@ -29,21 +65,25 @@ const fetchFeatureServiceLayersAndTables = (item, token) => __awaiter(void 0, vo
|
|
|
29
65
|
if (!item.url) {
|
|
30
66
|
throw new Error('URL of the feature service is not found');
|
|
31
67
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
const layers = data.layers || [];
|
|
40
|
-
const tables = data.tables || [];
|
|
41
|
-
const layersAndTables = [...layers, ...tables];
|
|
42
|
-
return layersAndTables;
|
|
68
|
+
// get the feature server URL
|
|
69
|
+
const url = (0, getFeatureServerURL_1.getFeatureServerRootURL)(item.url);
|
|
70
|
+
const params = new URLSearchParams({
|
|
71
|
+
f: 'json',
|
|
72
|
+
});
|
|
73
|
+
if (token) {
|
|
74
|
+
params.append('token', token);
|
|
43
75
|
}
|
|
44
|
-
|
|
45
|
-
|
|
76
|
+
if (bypassCache) {
|
|
77
|
+
params.append('queryTimestamp', new Date().getTime().toString());
|
|
78
|
+
}
|
|
79
|
+
const res = yield fetch(`${url}/layers?${params.toString()}`);
|
|
80
|
+
const data = yield res.json();
|
|
81
|
+
if (data.error) {
|
|
82
|
+
throw new Error(data.error.message || 'Error fetching feature service layers');
|
|
46
83
|
}
|
|
84
|
+
const layers = data.layers || [];
|
|
85
|
+
const tables = data.tables || [];
|
|
86
|
+
const layersAndTables = [...layers, ...tables];
|
|
87
|
+
return layersAndTables;
|
|
47
88
|
});
|
|
48
|
-
exports.fetchFeatureServiceLayersAndTables = fetchFeatureServiceLayersAndTables;
|
|
49
89
|
//# sourceMappingURL=fetchFeatureServiceLayersAndTables.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchFeatureServiceLayersAndTables.js","sourceRoot":"","sources":["../../../src/services/feature-service/fetchFeatureServiceLayersAndTables.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"fetchFeatureServiceLayersAndTables.js","sourceRoot":"","sources":["../../../src/services/feature-service/fetchFeatureServiceLayersAndTables.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,sEAAmE;AAOnE,+DAAgE;AAEhE;;;;;;;;;;;GAWG;AACI,MAAM,kCAAkC,GAAG,6BAInB,EAAE,oEAH7B,IAAW,EACX,KAAa,EACb,WAAW,GAAG,KAAK;IAEnB,IAAI,CAAC;QACD,OAAO,MAAM,wCAAwC,CACjD,IAAI,EACJ,KAAK,EACL,WAAW,CACd,CAAC;IACN,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QAClB,0DAA0D;QAC1D,IACI,KAAK,YAAY,KAAK;YACtB,KAAK,CAAC,OAAO;YACb,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC,EACvD,CAAC;YACC,IAAI,CAAC;gBACD,OAAO,CAAC,IAAI,CACR,+FAA+F,CAClG,CAAC;gBACF,OAAO,MAAM,wCAAwC,CACjD,IAAI,EACJ,SAAS,EACT,WAAW,CACd,CAAC;YACN,CAAC;YAAC,OAAO,UAAU,EAAE,CAAC;gBAClB,OAAO,CAAC,KAAK,CACT,+DAA+D,EAC/D,UAAU,CACb,CAAC;gBACF,MAAM,UAAU,CAAC;YACrB,CAAC;QACL,CAAC;QACD,OAAO,CAAC,KAAK,CACT,mDAAmD,EACnD,KAAK,CACR,CAAC;QACF,MAAM,KAAK,CAAC,CAAC,6CAA6C;IAC9D,CAAC;AACL,CAAC,CAAA,CAAC;AAzCW,QAAA,kCAAkC,sCAyC7C;AAEF;;;;;;;GAOG;AACH,MAAM,wCAAwC,GAAG,6BAIlB,EAAE,oEAH7B,IAAW,EACX,KAAa,EACb,WAAW,GAAG,KAAK;IAEnB,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACxC,CAAC;IAED,IAAI,IAAA,mCAAgB,EAAC,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC;QACnC,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;IACrD,CAAC;IAED,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QACZ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC/D,CAAC;IAED,6BAA6B;IAC7B,MAAM,GAAG,GAAG,IAAA,6CAAuB,EAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE9C,MAAM,MAAM,GAAG,IAAI,eAAe,CAAC;QAC/B,CAAC,EAAE,MAAM;KACZ,CAAC,CAAC;IAEH,IAAI,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAClC,CAAC;IAED,IAAI,WAAW,EAAE,CAAC;QACd,MAAM,CAAC,MAAM,CAAC,gBAAgB,EAAE,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,GAAG,WAAW,MAAM,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAC9D,MAAM,IAAI,GAAiC,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;IAE5D,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACX,IAAI,CAAC,KAAK,CAAC,OAAO,IAAI,uCAAuC,CAChE,CAAC;IACN,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC;IACjC,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC;IAEjC,MAAM,eAAe,GAAG,CAAC,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,CAAC;IAE/C,OAAO,eAAe,CAAC;AAC3B,CAAC,CAAA,CAAC"}
|