First, I would like to thank you, for your answers.

Here is my problem:

I wish implement a GIS solution to manage a water and wastewater network. In my project I have any map for use it like background. So, I think the only solution for having a layer background, is to define it from Google Earth. I must define de scope of study or area of study in Google Earth, after I import it in Qgis. Can someone help me in this step, and give me advice ? Also, if someone has any documentation or tutorial, it can help me.

Thanks and regards

  • 4
    I don't really understand your question? are you looking to make a polygon in Google earth and import it to QGIS? To do so, create a polygon in Google Earth and save it as a KML. In QGIS, click on add vector layer and add that KML file to your map. – dassouki Sep 7 '12 at 13:18
  • I agree that is not clear. If you need to add the layers from Google (Satellite, Hybrid, Roads) to be used as background in QGIS, then add them using the "Openlayers Plugin" plugin. Your project must be in Google Mercator CRS (the plugin will set it automatically for you) and so you will need to reproject other layers (with different CRSs) in this one. – Giovanni Manghi Sep 7 '12 at 17:05
  • My question : I want to use and import a satlellite picture from google Earth in order to use it like a background. After when I import this picture from google Earth, I'll draw my water and wastwater network. I don`t know is it possible ? hoping that my question is clear now. Regards – BESCI Sep 7 '12 at 18:13
  • When I say I will draw I'll draw my water and wastwater network. I will draw it in Qgis. – BESCI Sep 7 '12 at 18:15
  • to summarize. I am lookin to make a polygone, polyline and points in Qgis, after I import a satellite picture from google earth – BESCI Sep 7 '12 at 18:18

As GM says, you must enable the Openlayers Plugin by using the plugin manager.

Your challenge will be to print the "map" which you have created with Google Earth imagery as a background and your network laid over it. Google imagery has license limitations in it's use. QGIS has a Print Composer where you arrange the map and export it to a pdf or other file type. Print Composer works OK with Google Earth imagery if you leave the main map canvas set to the Mercator CRS.

| improve this answer | |

On qgis go to plugins menu, from there select Fetch Python Plugins. Let it download the list. In the search box enter Openlayers Plugin, and install the one called Openlayers Plugin. I think the latest version is 0.9 something.

After you've installed it go to project properties and select the appropiate CRS (for bing and google maps select google mercator EPSG:900913)

Next got to plugin menu in the Menu line, select Openlayers Plugin and select either google or bings aerial - just a matter of preferment.

You can select openstreetmaps as well but im not sure if they use the same CRS.

Always remember that those wms are just a background pictures, what will help you later is to select the appropriate CRS

Also take a look here : Adding Basemaps from Google or Bing in QGIS?

| improve this answer | |
  • hi, thank you for the answer. I select Fetch Python Plugins, but I don`t find Openlayers Plugin in the liste. I also not find search box enter in order to introduce Openlayers Plugin. Have you any pictures from this manipulation ? Thanks – BESCI Sep 9 '12 at 7:54
  • Hi, I `ve been able to download the OpenLayer pluging. Now, I want to know how we can use this Google Earth, Bing or Open StreetMap like a background in order to define may study area. Is there any documentation and tutorial about this? Tanks and Regards – BESCI Sep 17 '12 at 8:27
  • If you have downloaded it, you go at Plugins -> OpenLayerPlugin and add the layer you want. DON'T FORGET TO DEFINE YOUR PROJECTION AT EPSG:900913 as that's what google, openlayers (and I think bing) is using. – nickves Sep 17 '12 at 10:13
  • But My problem is, when I Add this Layer, and I stop my Internet Connection, I can`t use this layer Added. So how I can Download the layer using OpenLayer ? – BESCI Sep 17 '12 at 11:54
  • Have you somes pictures about manipulation ? – BESCI Sep 17 '12 at 11:54

as others already told you: select plugins-->fetch python plugins. now abort fetching and click the repositories-tab and add the sourcepole repositorium (http://build.sourcepole.ch/qgis/plugins.xml) enter image description here

then click the plugins-tab and add openlayers plugin

enter image description here

| improve this answer | |

1- Define a polygon on Google Earth and save it as .kml 2- Open QGIS. Use ( Add vector layer ) on the left and choose the kml file. enter image description here

3- Vector > openStreetMap > Download Data

4- Choose the kml file and don't forget to name the output file. Press OK.enter image description here

5- Now again, use ( Add Vector Layer ) on the left and choose the output file you just saved ( it is an osm file )enter image description here

6- Choose which layer you want from the polygon's contents. I personally used this for the street map ( lines )enter image description here

You'll notice that it's slightly out of bounds. You can use the clipping function to fit it within the study area.

Have a good day.enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.