Discussion:
[Qgis-user] Export categorized layers
sudeten
2014-11-24 15:22:48 UTC
Permalink
I am using vector layers (one is shapefile and one is csv). The csv gives
values for different shapes in the shapefile. I have them colored as a
thematic map by using properties/style/categorized and choosing the variable
that I need. Now I need to export the map (just those shapes that have
values and are categorized - not the uncategorized shapes) to a shapefile
and or KML file.

This is very basic GIS stuff -- 1) create thematic map and 2) display
thematic map as a KML layer or a shapefile. But I have found no way to do
this but many people asking the same question.

Any help here?



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Export-categorized-layers-tp5174544.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
sudeten
2014-11-24 15:23:28 UTC
Permalink
I am using vector layers (one is shapefile and one is csv). The csv gives
values for different shapes in the shapefile. I have them colored as a
thematic map by using properties/style/categorized and choosing the variable
that I need. Now I need to export the map (just those shapes that have
values and are categorized - not the uncategorized shapes) to a shapefile
and or KML file.

This is very basic GIS stuff -- 1) create thematic map and 2) display
thematic map as a KML layer or a shapefile. But I have found no way to do
this but many people asking the same question.

Any help here?



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Export-categorized-layers-tp5174545.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
Junior
2014-11-24 18:32:14 UTC
Permalink
Hi Sudeten,
What about a right click on layer name and "Save As..."?
You may need to select features before, if you don't want all the current features of the layer in your kml.

Envoyé depuis mon HTC

----- Reply message -----
De : "sudeten" <***@slavniklabs.com>
Pour : <qgis-***@lists.osgeo.org>
Objet : [Qgis-user] Export categorized layers
Date : lun., nov. 24, 2014 16:23

I am using vector layers (one is shapefile and one is csv). The csv gives
values for different shapes in the shapefile. I have them colored as a
thematic map by using properties/style/categorized and choosing the variable
that I need. Now I need to export the map (just those shapes that have
values and are categorized - not the uncategorized shapes) to a shapefile
and or KML file.

This is very basic GIS stuff -- 1) create thematic map and 2) display
thematic map as a KML layer or a shapefile. But I have found no way to do
this but many people asking the same question.

Any help here?



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Export-categorized-layers-tp5174545.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
sudeten
2014-12-11 20:24:11 UTC
Permalink
What I did was to join the csv to a shapefile, then colorize the polygons
within the shapefile by a value in the csv, and then export it to a KML to
be displayed via google maps. However, the export did not have the color
values for each of the polygons. Below is an image of the colorized map
within qgis. The white lines are roads. I can not seem to save to a KML
file that would display the exact thing (with transparent shading) in google
maps.

<Loading Image...>




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Export-categorized-layers-tp5174610p5177523.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
Joris Hintjens
2014-12-11 20:33:51 UTC
Permalink
The plugin GEarthView will do it nicely for you
The properties of the active layer will reexported to a kml.
greetings
Joris
Post by sudeten
What I did was to join the csv to a shapefile, then colorize the polygons
within the shapefile by a value in the csv, and then export it to a KML to
be displayed via google maps. However, the export did not have the color
values for each of the polygons. Below is an image of the colorized map
within qgis. The white lines are roads. I can not seem to save to a KML
file that would display the exact thing (with transparent shading) in google
maps.
<http://osgeo-org.1560.x6.nabble.com/file/n5177523/ALBaldwin-1416.png>
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Export-categorized-layers-tp5174610p5177523.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
_______________________________________________
Qgis-user mailing list
http://lists.osgeo.org/mailman/listinfo/qgis-user
sudeten
2014-12-11 21:29:27 UTC
Permalink
I tried it but it exports a PNG file for the layers (see below)

<Loading Image...>


and the KML file, when loaded in google maps, does not have the shading, see
below

<Loading Image...>

Any other ideas?



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-Export-categorized-layers-tp5174610p5177528.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
Matt Boyd
2014-11-25 04:08:48 UTC
Permalink
So you have a layer created by joining 2 layers and you want to export/save
the filtered result?
Post by sudeten
I am using vector layers (one is shapefile and one is csv). The csv gives
values for different shapes in the shapefile. I have them colored as a
thematic map by using properties/style/categorized and choosing the variable
that I need. Now I need to export the map (just those shapes that have
values and are categorized - not the uncategorized shapes) to a shapefile
and or KML file.
This is very basic GIS stuff -- 1) create thematic map and 2) display
thematic map as a KML layer or a shapefile. But I have found no way to do
this but many people asking the same question.
Any help here?
--
http://osgeo-org.1560.x6.nabble.com/Export-categorized-layers-tp5174544.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
_______________________________________________
Qgis-user mailing list
http://lists.osgeo.org/mailman/listinfo/qgis-user
Matt Boyd
2014-11-25 04:32:27 UTC
Permalink
You can save the joined layer as a shapefile.
Then use the filter (right click on the layer > filter) to determine which
properties to select (you can even do a WHERE IS NOT NULL type thing I
think), it's just simple SQL type stuff there.
Then save the result as a shapefile.

Unless I don't understand what you're trying to do?
Post by Matt Boyd
So you have a layer created by joining 2 layers and you want to
export/save the filtered result?
Post by sudeten
I am using vector layers (one is shapefile and one is csv). The csv gives
values for different shapes in the shapefile. I have them colored as a
thematic map by using properties/style/categorized and choosing the variable
that I need. Now I need to export the map (just those shapes that have
values and are categorized - not the uncategorized shapes) to a shapefile
and or KML file.
This is very basic GIS stuff -- 1) create thematic map and 2) display
thematic map as a KML layer or a shapefile. But I have found no way to do
this but many people asking the same question.
Any help here?
--
http://osgeo-org.1560.x6.nabble.com/Export-categorized-layers-tp5174544.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
_______________________________________________
Qgis-user mailing list
http://lists.osgeo.org/mailman/listinfo/qgis-user
sudeten
2014-12-11 20:21:47 UTC
Permalink
What I did was to join the csv to a shapefile, then colorize the polygons
within the shapefile by a value in the csv, and then export it to a KML to
be displayed via google maps. However, the export did not have the color
values for each of the polygons. Below is an image of the colorized map
within qgis. I can not seem to save to a KML file that would display the
exact thing (with transparent shading) in google maps.

<Loading Image...>



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Export-categorized-layers-tp5174544p5177521.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
Continue reading on narkive:
Loading...