<div dir="ltr"><div class="gmail_default" style="color:rgb(11,83,148);font-family:garamond,serif;font-size:large">David, that's absolutely right and thanks very much</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 31, 2015 at 1:56 AM, Phil (The Geek) Wyatt <span dir="ltr"><<a href="mailto:phil@wyatt-family.com" target="_blank">phil@wyatt-family.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks folks,<br>
<br>
Much appreciated<br>
<div class="HOEnZb"><div class="h5"><br>
-----Original Message-----<br>
From: Alex Mandel [mailto:<a href="mailto:tech_dev@wildintellect.com">tech_dev@wildintellect.com</a>]<br>
Sent: Saturday, 31 October 2015 1:45 AM<br>
To: David Fawcett; Phil (The Geek) Wyatt<br>
Cc: qgis-user<br>
Subject: Re: [Qgis-user] GEOJSON Marker colours<br>
<br>
That said, there are some potential workarounds. If this is for a web map you could 1. save the style to SLD, then reapply the SLD with your web js code or 2. Save the style information into columns of your attribute table and the use code to rextract those components to be useful. The QGIS2leaf and QGIS2Web plugins have a little something like that going on in them.<br>
<br>
Enjoy,<br>
Alex<br>
<br>
On 10/30/2015 07:41 AM, David Fawcett wrote:<br>
> Phil,<br>
><br>
> Both shapefile and GeoJSON are just data formats, and they don't<br>
> encode any styling or marker information.  In QGIS, after you export<br>
> to GeoJSON and add it to your project, you can copy the styling from<br>
> the shapefile instance of that layer to your GeoJSON layer.<br>
><br>
> That styling will only exist in that project, not the data files.<br>
><br>
> David.<br>
><br>
> On Fri, Oct 30, 2015 at 1:11 AM, Phil (The Geek) Wyatt <<br>
> <a href="mailto:phil@wyatt-family.com">phil@wyatt-family.com</a>> wrote:<br>
><br>
>> Hi Folks,<br>
>><br>
>><br>
>><br>
>> Can anyone give me any clues on how I can export from a shapefile to<br>
>> GEOJSON and maintain my marker colours?<br>
>><br>
>><br>
>><br>
>> Cheers - Phil<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noreferrer">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">         <br> Rtn: Fred      Lali<br><br>GIS/Mapping/RS/Forestry/Environment<br>      Earth Consult(U) Ltd<br></div><div><br>CCRP-Uganda GIS Support<br></div><div>(The McKnight Foundation)<br></div><div dir="ltr"> <br>      Kazinga Zone Bweyogerere<br>       Opp Shire Filling Station</div><div><br></div><div><br></div><div dir="ltr">Mob:+256-772-841118<br>        +256-752841118<br>T:      +256-414-694630<br><span style="font-size:12.8000001907349px"><br></span></div><div dir="ltr"><i><font size="1">Global Location: Zone 36N:E:0463235M N:0039070m</font></i></div><div><i><font size="1">      Datum: WGS'84 </font>  <br></i></div><div dir="ltr"><br></div><div>"Whatsoever you do to the least of my brothers, that you do unto me" <br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>