Skip to content

Add option -E to deal with altitudes stored in the Extended data property - #649

Merged
PaulWessel merged 1 commit into
masterfrom
kmlextend
Apr 23, 2019
Merged

PaulWessel merged 1 commit into
masterfrom
kmlextend

Conversation

@joa-quim

Copy link
Copy Markdown
Member

I have one file that stores the altitude in the <ExtendedData> instead of the regular place (that have zeros only!!!!!). Apparently this is legal and there are even more than one way to store this info. The new -E option allows to retrieve that altitude info but only for the <SimpleData name="string"> case.

			<Placemark>
				<name>200100</name>
				<Snippet maxLines="0"></Snippet>
				<styleUrl>#200100</styleUrl>
				<ExtendedData>
					<SchemaData schemaUrl="#BATIMETRIA_SIMP_schema">
						<SimpleData name="Elevation">-32</SimpleData>
					</SchemaData>
				</ExtendedData>
				<LineString>
					<tessellate>1</tessellate>
					<coordinates>
						-6.205370240543999,36.1351560248308,0 -6.20530461341698,36.1351591913437,0 

@joa-quim
joa-quim requested a review from PaulWessel April 22, 2019 11:30
@PaulWessel
PaulWessel merged commit 27c6a8d into master Apr 23, 2019
@PaulWessel
PaulWessel deleted the kmlextend branch April 23, 2019 17:05
obaney pushed a commit to obaney/gmt that referenced this pull request Aug 18, 2021
The xarray shading issue in GenericMappingTools#364 was fixed by upstream GMT in GenericMappingTools#4328.

This PR updates the pytest xfail condition so that the xarray shading test is expected to xfail only for GMT<=6.1.1.
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

Successfully merging this pull request may close these issues.

2 participants