Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specific Changes needed to Geoview Schema to Implement in React Schema Forms #51

Open
Pewillia opened this issue Jul 10, 2023 · 2 comments

Comments

@Pewillia
Copy link
Member

Changes to Geoview Schema

  1. changed boolean description to titles in order to display titles otherwise no description for boolean fields

  2. Added titles to oneOf the field Definitions below, they were referencing definitions in order to display options in a pull down list

    "TypeClassBreakStyleInfo,
    TypeKindOfVectorSettings,
    TypeStyleSettings,
    TypeLayerEntryConfig,
    "TypeListOfOgcWmsLayerEntryConfig,
    TypeListOfImageStaticLayerEntryConfig,
    TypeListOfXyzTilesLayerEntryConfig,
    TypeListOfEsriDynamicLayerEntryConfig,
    TypeListOfEsriFeatureLayerEntryConfig,
    TypeListOfGeoJSONLayerEntryConfig,
    TypeListOfOgcWfsLayerEntryConfig,
    TypeListOfOgcFeatureLayerEntryConfig,
    TypeListOfGeoPackageLayerEntryConfig,
    TypeListOfGeoCoreLayerEntryConfig,
    TypeUniqueValueStyleInfo

  3. added titles to some definitions with no descriptions,

  4. took out additional properties false

  5. add "format": "uri" to fields that are hyperlinks to verify format of hyperlink to contain http:// . "format": "uri", must be in the schema file in order to work otherwise doesn't validate format .Does not work with definitions have to expand definition in the fields in order to add uri, not sure about placeholder. MEtdataACessPath works with uri format if dont use typedeftype localised string and sav it in the def for metadataAccessPath.

  6. added placeholder "ui:placeholder": "http://" to fields that are urls in ui:schema in Schemaform.js .placeholder don't work if an array item. Placehodler doesnt work if in array metadaatAccessPath doesnt work withplaceholder but serviceurlendoints do work with placeholder

  7. no item of type string displays in a pull down list

8)take out geolocator from list of component or schema error when try to display a map ?

@Pewillia Pewillia changed the title Specific Changes needed to Geoview Sschme to Implement in React Schema Forms Specific Changes needed to Geoview Schema to Implement in React Schema Forms Jul 10, 2023
@Pewillia
Copy link
Member Author

image

@Pewillia
Copy link
Member Author

changes prefixItems to items for type TypeTileGrid and

TypeViewSettings": {
"additionalProperties": false,
"type": "object",
"properties": {
"center": {
"type": "array",
"prefixItems": [
{
"type": "number",
"minimum": -160,
"maximum": 160,
"default": -106,
"description": "Initial longitude value for map center."
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant