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

Reading KML, Extended Data & MultiGeometry #13

Open
DenisCarriere opened this issue Oct 22, 2015 · 1 comment
Open

Reading KML, Extended Data & MultiGeometry #13

DenisCarriere opened this issue Oct 22, 2015 · 1 comment
Assignees

Comments

@DenisCarriere
Copy link
Member

Data example

Read Extended Data

<ExtendedData>
    <SchemaData schemaUrl="#p_building">
        <SimpleData name="Locator">6163</SimpleData>
        <SimpleData name="Idname">VC-610FNP</SimpleData>
        <SimpleData name="Func_L1_Command_Eng">Land Force Command</SimpleData>
        <SimpleData name="Current_Use">607</SimpleData>
        <SimpleData name="Facility_Type">551</SimpleData>
        <SimpleData name="Status_cd">138</SimpleData>
    </SchemaData>
</ExtendedData>

And parse MultiGeometry

<MultiGeometry>
    <tessellate>1</tessellate>
    <Polygon>
        <tessellate>1</tessellate>
        <outerBoundaryIs>
            <LinearRing>
                <coordinates>
                    -71.46058059069991,46.90999917494881,183.295 -71.4603096160497,46.91003990754211,183.295 
                    -71.4602886689071,46.9099747522133,183.295 -71.46026714481729,46.9099779825094,183.295 
                    -71.4602586911121,46.9099515503558,183.295 -71.4602793903654,46.9099484439321,183.295 
                    -71.4602557245844,46.9098743960795,183.295 -71.4602378926388,46.9098770736146,183.295 
                </coordinates>
            </LinearRing>
        </outerBoundaryIs>
    </Polygon>
    <Point>
        <tessellate>1</tessellate>
        <coordinates>-71.46031080268909,46.90962372389791,183.295</coordinates>
    </Point>
</MultiGeometry>
@DenisCarriere DenisCarriere self-assigned this Oct 22, 2015
@DenisCarriere
Copy link
Member Author

@rps333 Going to use a snippet of your data as an example, is that ok?

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