Skip to content

Adding SimpleData Fields? #40

Description

@avreiche

I'm trying to use sharpkml to add simple data forms to my kml doc.

The setup for the kml Schema and SimpleField name:

<Schema name="MySchema" id="MS01">
	<SimpleField type="string" name="Property">
               <displayName>&lt;b&gt;Property&lt;/b&gt;</displayName>
        </SimpleField>
        <SimpleField type="string" name="State">
               <displayName>&lt;b&gt;State&lt;/b&gt;</displayName>
        </SimpleField>
</Schema>

The reference for it under the placemark:

<ExtendedData>
      <SchemaData schemaUrl="#MS01">
	      <SimpleData name="Property">Building 1</SimpleData>
              <SimpleData name="State">AZ</SimpleData>
      </SchemaData>
</ExtendedData>

Any tips on how I could achieve this? Love the tool so far, everything has been incredibly helpful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions