Re: [Qgis-user] GEOJSON Marker colours

2015-10-31 Thread Fred Lali
David, that's absolutely right and thanks very much

On Sat, Oct 31, 2015 at 1:56 AM, Phil (The Geek) Wyatt <
p...@wyatt-family.com> wrote:

> Thanks folks,
>
> Much appreciated
>
> -Original Message-
> From: Alex Mandel [mailto:tech_...@wildintellect.com]
> Sent: Saturday, 31 October 2015 1:45 AM
> To: David Fawcett; Phil (The Geek) Wyatt
> Cc: qgis-user
> Subject: Re: [Qgis-user] GEOJSON Marker colours
>
> 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.
>
> Enjoy,
> Alex
>
> On 10/30/2015 07:41 AM, David Fawcett wrote:
> > Phil,
> >
> > Both shapefile and GeoJSON are just data formats, and they don't
> > encode any styling or marker information.  In QGIS, after you export
> > to GeoJSON and add it to your project, you can copy the styling from
> > the shapefile instance of that layer to your GeoJSON layer.
> >
> > That styling will only exist in that project, not the data files.
> >
> > David.
> >
> > On Fri, Oct 30, 2015 at 1:11 AM, Phil (The Geek) Wyatt <
> > p...@wyatt-family.com> wrote:
> >
> >> Hi Folks,
> >>
> >>
> >>
> >> Can anyone give me any clues on how I can export from a shapefile to
> >> GEOJSON and maintain my marker colours?
> >>
> >>
> >>
> >> Cheers - Phil
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 

 Rtn: Fred  Lali

GIS/Mapping/RS/Forestry/Environment
  Earth Consult(U) Ltd

CCRP-Uganda GIS Support
(The McKnight Foundation)

  Kazinga Zone Bweyogerere
   Opp Shire Filling Station


Mob:+256-772-841118
+256-752841118
T:  +256-414-694630

*Global Location: Zone 36N:E:0463235M N:0039070m*

*  Datum: WGS'84   *

"Whatsoever you do to the least of my brothers, that you do unto me"
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] GEOJSON Marker colours

2015-10-30 Thread Phil (The Geek) Wyatt
Hi Folks,

 

Can anyone give me any clues on how I can export from a shapefile to GEOJSON
and maintain my marker colours?

 

Cheers - Phil

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] GEOJSON Marker colours

2015-10-30 Thread Phil (The Geek) Wyatt
Thanks folks, 

Much appreciated

-Original Message-
From: Alex Mandel [mailto:tech_...@wildintellect.com] 
Sent: Saturday, 31 October 2015 1:45 AM
To: David Fawcett; Phil (The Geek) Wyatt
Cc: qgis-user
Subject: Re: [Qgis-user] GEOJSON Marker colours

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.

Enjoy,
Alex

On 10/30/2015 07:41 AM, David Fawcett wrote:
> Phil,
> 
> Both shapefile and GeoJSON are just data formats, and they don't 
> encode any styling or marker information.  In QGIS, after you export 
> to GeoJSON and add it to your project, you can copy the styling from 
> the shapefile instance of that layer to your GeoJSON layer.
> 
> That styling will only exist in that project, not the data files.
> 
> David.
> 
> On Fri, Oct 30, 2015 at 1:11 AM, Phil (The Geek) Wyatt < 
> p...@wyatt-family.com> wrote:
> 
>> Hi Folks,
>>
>>
>>
>> Can anyone give me any clues on how I can export from a shapefile to 
>> GEOJSON and maintain my marker colours?
>>
>>
>>
>> Cheers - Phil

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] GEOJSON Marker colours

2015-10-30 Thread Alex Mandel
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.

Enjoy,
Alex

On 10/30/2015 07:41 AM, David Fawcett wrote:
> Phil,
> 
> Both shapefile and GeoJSON are just data formats, and they don't encode any
> styling or marker information.  In QGIS, after you export to GeoJSON and
> add it to your project, you can copy the styling from the shapefile
> instance of that layer to your GeoJSON layer.
> 
> That styling will only exist in that project, not the data files.
> 
> David.
> 
> On Fri, Oct 30, 2015 at 1:11 AM, Phil (The Geek) Wyatt <
> p...@wyatt-family.com> wrote:
> 
>> Hi Folks,
>>
>>
>>
>> Can anyone give me any clues on how I can export from a shapefile to
>> GEOJSON and maintain my marker colours?
>>
>>
>>
>> Cheers - Phil

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] GEOJSON Marker colours

2015-10-30 Thread David Fawcett
Phil,

Both shapefile and GeoJSON are just data formats, and they don't encode any
styling or marker information.  In QGIS, after you export to GeoJSON and
add it to your project, you can copy the styling from the shapefile
instance of that layer to your GeoJSON layer.

That styling will only exist in that project, not the data files.

David.

On Fri, Oct 30, 2015 at 1:11 AM, Phil (The Geek) Wyatt <
p...@wyatt-family.com> wrote:

> Hi Folks,
>
>
>
> Can anyone give me any clues on how I can export from a shapefile to
> GEOJSON and maintain my marker colours?
>
>
>
> Cheers - Phil
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user