Permalink
Browse files

Create osm2pgsql_google_line_satellite.qml

This is a Google Satellite View inspired style for QGIS for OpenStreetMap data loaded into PostGIS using the osm2pgsql tool. This style is to be overlaid aerial photos to create a Google themed map based on OpenStreetMap data. 
  • Loading branch information...
1 parent 9efdce2 commit 154a6f6f2d6a92b85be611028d1cb6ca30176ebc @aplannersguide aplannersguide committed Dec 20, 2012
Showing with 325 additions and 0 deletions.
  1. +325 −0 styles/osm2pgsql_google_line_satellite.qml
@@ -0,0 +1,325 @@
+<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
+<qgis version="1.8.0-Lisboa" minimumScale="0" maximumScale="1e+08" hasScaleBasedVisibilityFlag="0">
+ <transparencyLevelInt>255</transparencyLevelInt>
+ <renderer-v2 symbollevels="0" type="RuleRenderer">
+ <rules>
+ <rule filter=" &quot;highway&quot; IN ( 'motorway')" symbol="0" label="Motorway"/>
+ <rule filter=" &quot;highway&quot; IN ('residential')" symbol="1" label="Road"/>
+ <rule filter=" &quot;highway&quot; IN ('service', 'road', 'unclassified', 'track')" symbol="2" label="Small Road"/>
+ <rule filter=" &quot;highway&quot; IN ( 'trunk','motorway_link')" symbol="3" label="Trunk"/>
+ <rule filter=" &quot;highway&quot; IN ( 'primary','primary_link')" symbol="4" label="Primary"/>
+ <rule filter=" &quot;highway&quot; IN ( 'secondary','secondary_link')" symbol="5" label="Secondary"/>
+ <rule filter=" &quot;highway&quot; IN ( 'tertiary')" symbol="6" label="Tertiary"/>
+ <rule filter="&quot;highway&quot; IN ('footway', 'path')" symbol="7" label="Paths"/>
+ </rules>
+ <symbols>
+ <symbol outputUnit="MM" alpha="0.4" type="line" name="0">
+ <layer pass="6" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="flat"/>
+ <prop k="color" v="143,143,143,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="bevel"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="2.5"/>
+ </layer>
+ <layer pass="7" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="round"/>
+ <prop k="color" v="225,132,51,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="round"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="2.25"/>
+ </layer>
+ </symbol>
+ <symbol outputUnit="MM" alpha="0.211765" type="line" name="1">
+ <layer pass="1" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="square"/>
+ <prop k="color" v="143,143,143,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="bevel"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="1"/>
+ </layer>
+ <layer pass="2" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="square"/>
+ <prop k="color" v="255,255,255,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="round"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="0.769231"/>
+ </layer>
+ </symbol>
+ <symbol outputUnit="MM" alpha="0.223529" type="line" name="2">
+ <layer pass="0" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="square"/>
+ <prop k="color" v="209,209,209,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="round"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="0.4"/>
+ </layer>
+ </symbol>
+ <symbol outputUnit="MM" alpha="0.321569" type="line" name="3">
+ <layer pass="3" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="flat"/>
+ <prop k="color" v="143,143,143,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="bevel"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="2"/>
+ </layer>
+ <layer pass="4" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="round"/>
+ <prop k="color" v="225,223,105,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="round"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="1.8"/>
+ </layer>
+ </symbol>
+ <symbol outputUnit="MM" alpha="0.321569" type="line" name="4">
+ <layer pass="5" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="flat"/>
+ <prop k="color" v="143,143,143,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="bevel"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="2"/>
+ </layer>
+ <layer pass="6" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="round"/>
+ <prop k="color" v="230,255,139,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="round"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="1.8"/>
+ </layer>
+ </symbol>
+ <symbol outputUnit="MM" alpha="0.321569" type="line" name="5">
+ <layer pass="4" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="flat"/>
+ <prop k="color" v="143,143,143,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="bevel"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="1.7"/>
+ </layer>
+ <layer pass="5" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="round"/>
+ <prop k="color" v="255,251,137,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="bevel"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="1.5"/>
+ </layer>
+ </symbol>
+ <symbol outputUnit="MM" alpha="0.329412" type="line" name="6">
+ <layer pass="2" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="flat"/>
+ <prop k="color" v="143,143,143,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="bevel"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="1.3"/>
+ </layer>
+ <layer pass="3" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="round"/>
+ <prop k="color" v="255,255,255,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="round"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="1.12667"/>
+ </layer>
+ </symbol>
+ <symbol outputUnit="MM" alpha="0.4" type="line" name="7">
+ <layer pass="0" class="SimpleLine" locked="0">
+ <prop k="capstyle" v="square"/>
+ <prop k="color" v="255,255,255,255"/>
+ <prop k="customdash" v="5;2"/>
+ <prop k="joinstyle" v="bevel"/>
+ <prop k="offset" v="0"/>
+ <prop k="penstyle" v="solid"/>
+ <prop k="use_custom_dash" v="0"/>
+ <prop k="width" v="0.15"/>
+ </layer>
+ </symbol>
+ </symbols>
+ </renderer-v2>
+ <customproperties>
+ <property key="labeling" value="pal"/>
+ <property key="labeling/addDirectionSymbol" value="false"/>
+ <property key="labeling/bufferColorB" value="0"/>
+ <property key="labeling/bufferColorG" value="0"/>
+ <property key="labeling/bufferColorR" value="0"/>
+ <property key="labeling/bufferSize" value="0.75"/>
+ <property key="labeling/dataDefinedProperty0" value=""/>
+ <property key="labeling/dataDefinedProperty1" value=""/>
+ <property key="labeling/dataDefinedProperty10" value=""/>
+ <property key="labeling/dataDefinedProperty11" value=""/>
+ <property key="labeling/dataDefinedProperty12" value=""/>
+ <property key="labeling/dataDefinedProperty13" value=""/>
+ <property key="labeling/dataDefinedProperty14" value=""/>
+ <property key="labeling/dataDefinedProperty2" value=""/>
+ <property key="labeling/dataDefinedProperty3" value=""/>
+ <property key="labeling/dataDefinedProperty4" value=""/>
+ <property key="labeling/dataDefinedProperty5" value=""/>
+ <property key="labeling/dataDefinedProperty6" value=""/>
+ <property key="labeling/dataDefinedProperty7" value=""/>
+ <property key="labeling/dataDefinedProperty8" value=""/>
+ <property key="labeling/dataDefinedProperty9" value=""/>
+ <property key="labeling/decimals" value="0"/>
+ <property key="labeling/dist" value="0"/>
+ <property key="labeling/distInMapUnits" value="false"/>
+ <property key="labeling/enabled" value="true"/>
+ <property key="labeling/fieldName" value="name"/>
+ <property key="labeling/fontFamily" value="MS Shell Dlg 2"/>
+ <property key="labeling/fontItalic" value="false"/>
+ <property key="labeling/fontSize" value="8"/>
+ <property key="labeling/fontSizeInMapUnits" value="false"/>
+ <property key="labeling/fontStrikeout" value="false"/>
+ <property key="labeling/fontUnderline" value="false"/>
+ <property key="labeling/fontWeight" value="50"/>
+ <property key="labeling/formatNumbers" value="false"/>
+ <property key="labeling/isExpression" value="false"/>
+ <property key="labeling/labelPerPart" value="false"/>
+ <property key="labeling/mergeLines" value="false"/>
+ <property key="labeling/minFeatureSize" value="1"/>
+ <property key="labeling/obstacle" value="true"/>
+ <property key="labeling/placement" value="3"/>
+ <property key="labeling/placementFlags" value="9"/>
+ <property key="labeling/plussign" value="true"/>
+ <property key="labeling/priority" value="5"/>
+ <property key="labeling/scaleMax" value="0"/>
+ <property key="labeling/scaleMin" value="0"/>
+ <property key="labeling/textColorB" value="255"/>
+ <property key="labeling/textColorG" value="255"/>
+ <property key="labeling/textColorR" value="255"/>
+ <property key="labeling/wrapChar" value=""/>
+ </customproperties>
+ <displayfield>name</displayfield>
+ <label>0</label>
+ <labelfield>name</labelfield>
+ <labelattributes>
+ <label fieldname="name" text=""/>
+ <family fieldname="" name="MS Shell Dlg 2"/>
+ <size fieldname="" units="pt" value="8"/>
+ <bold fieldname="" on="1"/>
+ <italic fieldname="" on="0"/>
+ <underline fieldname="" on="0"/>
+ <strikeout fieldname="" on="0"/>
+ <color fieldname="" red="255" blue="255" green="255"/>
+ <x fieldname=""/>
+ <y fieldname=""/>
+ <offset x="0.25" y="0.5" units="pt" yfieldname="" xfieldname=""/>
+ <angle fieldname="" value="0" auto="0"/>
+ <alignment fieldname="" value="center"/>
+ <buffercolor fieldname="" red="34" blue="34" green="34"/>
+ <buffersize fieldname="" units="pt" value="1"/>
+ <bufferenabled fieldname="" on="1"/>
+ <multilineenabled fieldname="" on="1"/>
+ <selectedonly on=""/>
+ </labelattributes>
+ <edittypes>
+ <edittype type="0" name="access"/>
+ <edittype type="0" name="addr:flats"/>
+ <edittype type="0" name="addr:housenumber"/>
+ <edittype type="0" name="addr:interpolation"/>
+ <edittype type="0" name="admin_level"/>
+ <edittype type="0" name="aerialway"/>
+ <edittype type="0" name="aeroway"/>
+ <edittype type="0" name="amenity"/>
+ <edittype type="0" name="area"/>
+ <edittype type="0" name="barrier"/>
+ <edittype type="0" name="bicycle"/>
+ <edittype type="0" name="boundary"/>
+ <edittype type="0" name="bridge"/>
+ <edittype type="0" name="building"/>
+ <edittype type="0" name="construction"/>
+ <edittype type="0" name="cutting"/>
+ <edittype type="0" name="disused"/>
+ <edittype type="0" name="embankment"/>
+ <edittype type="0" name="foot"/>
+ <edittype type="0" name="highway"/>
+ <edittype type="0" name="historic"/>
+ <edittype type="0" name="horse"/>
+ <edittype type="0" name="junction"/>
+ <edittype type="0" name="landuse"/>
+ <edittype type="0" name="layer"/>
+ <edittype type="0" name="learning"/>
+ <edittype type="0" name="leisure"/>
+ <edittype type="0" name="lock"/>
+ <edittype type="0" name="man_made"/>
+ <edittype type="0" name="military"/>
+ <edittype type="0" name="motorcar"/>
+ <edittype type="0" name="name"/>
+ <edittype type="0" name="natural"/>
+ <edittype type="0" name="oneway"/>
+ <edittype type="0" name="operator"/>
+ <edittype type="0" name="osm_id"/>
+ <edittype type="0" name="osm_timestamp"/>
+ <edittype type="0" name="osm_uid"/>
+ <edittype type="0" name="osm_user"/>
+ <edittype type="0" name="osm_version"/>
+ <edittype type="0" name="place"/>
+ <edittype type="0" name="power"/>
+ <edittype type="0" name="power_source"/>
+ <edittype type="0" name="railway"/>
+ <edittype type="0" name="ref"/>
+ <edittype type="0" name="religion"/>
+ <edittype type="0" name="residence"/>
+ <edittype type="0" name="route"/>
+ <edittype type="0" name="service"/>
+ <edittype type="0" name="shop"/>
+ <edittype type="0" name="sport"/>
+ <edittype type="0" name="surface_type"/>
+ <edittype type="0" name="tourism"/>
+ <edittype type="0" name="tracktype"/>
+ <edittype type="0" name="tunnel"/>
+ <edittype type="0" name="waterway"/>
+ <edittype type="0" name="way_area"/>
+ <edittype type="0" name="width"/>
+ <edittype type="0" name="wood"/>
+ <edittype type="0" name="z_order"/>
+ </edittypes>
+ <editform>.</editform>
+ <editforminit></editforminit>
+ <annotationform>.</annotationform>
+ <attributeactions/>
+ <overlay display="false" type="diagram">
+ <renderer item_interpretation="linear">
+ <diagramitem size="0" value="0"/>
+ <diagramitem size="0" value="0"/>
+ </renderer>
+ <factory sizeUnits="MM" type="Pie">
+ <wellknownname>Pie</wellknownname>
+ <classificationfield>0</classificationfield>
+ </factory>
+ <scalingAttribute>0</scalingAttribute>
+ </overlay>
+</qgis>

0 comments on commit 154a6f6

Please sign in to comment.