GeoKnow / TripleGeo

TripleGeo utility for converting geospatial data into triples
GNU General Public License v3.0
32 stars 9 forks source link

add rdfs and fix rdf:label namespace #10

Closed alegrm closed 8 years ago

alegrm commented 8 years ago

Hi, I noticed the definition of rdf:label should be rdfs:label. Here is the fix. However I'm testing the sample.kml file and the generated RDF has a weird error: (line 32 column 37): {E202} Expecting XML start or end element(s). String data "normalhighlight" not allowed. Maybe a striping error. I couldn't find where to fix this on the xslt... :(

KostasPatroumpas commented 8 years ago

Fixes to rdfs:label accepted. Thanks!

Regarding the striping error, it requires an additional (blank) template in the stylesheet: < xsl:template match="*:key" /> just before the template that parses placemarks, in order to avoid parsing 'key' tags used for map symbology.