It is probably advisable to save data from a KML into some other file format (ESRI is the standard one for Qgis). When I first started importing KMLs into Qgis the support was read only. This situation may have altered with updates, however it's possible not all the features of the software may work correctly with this type of layer.


On 20/09/17 15:14, Winsome Marshall wrote:

Hi Patrick,

Thanks for this work around! I just wanted to be able to open the files I have already created in Google earth with QGIS without too much handling time, in future I will work in QGIS so it shouldn’t be an issue for new projects. I’ll be honest, I am new enough to GIS that I don’t entirely understand your last question sorry. I have added my kml file using the “add vector layer” button, I haven’t done anything else with the file after that.

In reply,

Winsome Marshall

ph: (03)366 4070

left cropped logo 80% reduction

Aquatic Ecology Limited

Unit 1/454 Madras Street

Christchurch 8014

*From:*Patrick Dunford [mailto:blackwhite...@gmail.com]
*Sent:* Tuesday, 19 September 2017 4:13 p.m.
*To:* wins...@ael.org.nz
*Subject:* Re: [Qgis-user] Imported KML files loses format (e.g. colour coding and line size)

Hi Winsome

You can work around it as follows

1. Group all the lines of a particular colour into a particular folder in Google Earth

2. Save each folder as a separate KML file.

When you say "import", are you copying the paths into a shapefile once you have opened the layer?

On 19/09/17 12:22, Winsome Marshall wrote:

    Hi Patrick,

    Thanks for your answer! That’s quite annoying though, I assumed
    because I could import it directly into ArcGIS without any
    problems I would be able to with this program as well. I guess
    I’ll just have to go with it!

    In reply,

    Winsome Marshall

    ph: (03)366 4070

    left cropped logo 80% reduction

    Aquatic Ecology Limited

    Unit 1/454 Madras Street

    Christchurch 8014

    *From:*Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] *On
    Behalf Of *Patrick Dunford
    *Sent:* Monday, 18 September 2017 12:57 p.m.
    *To:* qgis-user@lists.osgeo.org <mailto:qgis-user@lists.osgeo.org>
    *Subject:* Re: [Qgis-user] Imported KML files loses format (e.g.
    colour coding and line size)

    Hi Winsome

    Good to see another user in Chch :)

    I think this is true pretty much with any layer you bring in, you
    would find the same if you add any shapefile for example.

    You can store the paths when imported into different shapefiles
    and then set a style per shapefile, or multiple styles are
    possible in one shapefile using style rules.

    On 18/09/17 11:20, Winsome Marshall wrote:

        Hi,

        I am a new user and am using QGIS Desktop version 2.18.12. I
        have a kml file I have created in Google earth containing
        lines of various lengths, thickness and colour. My problem is
        that when I import into QGIS (using add vector layer) it only
        imports the lines and not the thickness or the colour. I have
        used a free trial of ARCGIS to import this file without any
        problems, so I’m not sure why it would be an issue with this
        program.

        Best regards,


        Winsome Marshall

        ph: (03)366 4070

        left cropped logo 80% reduction

        Aquatic Ecology Limited

        Unit 1/454 Madras Street

        Christchurch 8014





        _______________________________________________

        Qgis-user mailing list

        Qgis-user@lists.osgeo.org <mailto:Qgis-user@lists.osgeo.org>

        List info:https://lists.osgeo.org/mailman/listinfo/qgis-user

        Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user


_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to