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

LIBKML: Mangled style names #9975

Closed
jidanni opened this issue May 21, 2024 · 1 comment · Fixed by #9989
Closed

LIBKML: Mangled style names #9975

jidanni opened this issue May 21, 2024 · 1 comment · Fixed by #9989
Assignees

Comments

@jidanni
Copy link
Contributor

jidanni commented May 21, 2024

The "s" of <styleUrl>style/style.kml#ourPolygonStyle</styleUrl>
gets mangled into the "@" of Style = @tyle/style.kml#ourPolygonStyle .

$ ogrinfo -q -geom=NO -fields=NO *.kmz vermilion_co_il
Layer name: vermilion_co_il
OGRFeature(vermilion_co_il):1
  Style = @tyle/style.kml#ourPolygonStyle

Prefix with "@", fine, but please leave the innocent "s" unharmed.
I recall reporting something like this, but can't find it now.

GDAL 3.8.5, released 2024/04/02

@jratike80
Copy link
Collaborator

I try to give a more precise example. A styleURL example from
https://developers.google.com/kml/documentation/kmlreference
<styleUrl>eateries.kml#my-lunch-spot</styleUrl>
is printed by ogrinfo as
Style = @ateries.kml#my-lunch-spot
Is seems that the beginning character of the string left to # is always changed into @

@rouault rouault self-assigned this May 22, 2024
rouault added a commit to rouault/gdal that referenced this issue May 22, 2024
rouault added a commit to rouault/gdal that referenced this issue May 22, 2024
@rouault rouault changed the title Mangled style names LIBKML: Mangled style names May 22, 2024
rouault added a commit to rouault/gdal that referenced this issue May 22, 2024
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 a pull request may close this issue.

3 participants