Been having some real pain with the KML formatting issue. Turns out that it's an issue with formatting in our propriatory GIS system, as suspected. KML only likes a Name and Description and Z field; with other fields either being represented as HTML within the Description. At the moment the solution I've found is to manually push it through QGIS, manually allocate two field names to Name and Description. Worked example is:
https://data.bathhacked.org/dataset/Lower-Super-Output-Areas/mq6n-3m8u
This works for rarely changing files (the above has about a decade of currency), but is going to be a massive resource hit if we have to do this regularly (to say nothing that qGIS isn't a supported system for the council)
Second issue is that we lose any contextual info - so for example the car parks data layer would lose opening times, etc. If we treat them as two distinct files, (so for the example I just posted, then associated data would look like - https://data.bathhacked.org/dataset/Lsoa-And-Ward-Population/h4my-ktvn). I can't find any way in Socrata to get the name field from the KML treated as a linking variable with the code in the population data, so this will likely be an issue if we did this in other instances.
Found this example from elsewhere - https://data.raleighnc.gov/Census/Average-Household-Size-by-Block-Group/wrj6-y6ck/widget_preview?height=425&variation=2fxh-wcp7&width=500 - but it's quite buggy and I can't work out how they've forced the link.
There may be some hacks we can do for this, but it seems to make a difficult rod for our backs in terms of maintaining currency; I don't know if anyone's got any thoughts; or whether we need to be investigating a more flexible GIS format to publish in.
Been having some real pain with the KML formatting issue. Turns out that it's an issue with formatting in our propriatory GIS system, as suspected. KML only likes a Name and Description and Z field; with other fields either being represented as HTML within the Description. At the moment the solution I've found is to manually push it through QGIS, manually allocate two field names to Name and Description. Worked example is:
https://data.bathhacked.org/dataset/Lower-Super-Output-Areas/mq6n-3m8u
This works for rarely changing files (the above has about a decade of currency), but is going to be a massive resource hit if we have to do this regularly (to say nothing that qGIS isn't a supported system for the council)
Second issue is that we lose any contextual info - so for example the car parks data layer would lose opening times, etc. If we treat them as two distinct files, (so for the example I just posted, then associated data would look like - https://data.bathhacked.org/dataset/Lsoa-And-Ward-Population/h4my-ktvn). I can't find any way in Socrata to get the name field from the KML treated as a linking variable with the code in the population data, so this will likely be an issue if we did this in other instances.
Found this example from elsewhere - https://data.raleighnc.gov/Census/Average-Household-Size-by-Block-Group/wrj6-y6ck/widget_preview?height=425&variation=2fxh-wcp7&width=500 - but it's quite buggy and I can't work out how they've forced the link.
There may be some hacks we can do for this, but it seems to make a difficult rod for our backs in terms of maintaining currency; I don't know if anyone's got any thoughts; or whether we need to be investigating a more flexible GIS format to publish in.