[Qgis-user] clip still not working on osm shape

Nicolas Cadieux nicolas.cadieux at archeotec.ca
Thu Sep 1 08:35:28 PDT 2016


Hi,
Yes the Qgis browser is just a file browser.  You need to work with Qgis.  The first thing you need to know is the CRS of the file.  Make sure that in your setting/options/CRS, you select "prompt for CRS".  Open the file and try to find the correct CRS.  It my help to open a background file to figure it out.  Also, turn off "on the fly CRS" for now.

If you have the wrong CRS, you can right click on the layer and set layer CRS.  That will not reproject it.  But it will change its position. Then click zoom to layer and see if it's the right place.
Nicolas

Envoyé de mon iPad

> Le 1 sept. 2016 à 10:43, Reginald Carlier [via OSGeo.org] <ml-node+s1560n5283559h90 at n6.nabble.com> a écrit :
> 
> Hi,
> 
>  
> 
> No as I used QGIS Browser there is no option to save the changes. Also it would be great if there was an option to copy, paste or delete a shape.
> 
> I guess I have to load the shape in QGIS and change the CRS and then use ‘save as’, but when I do that the saved shp shows in the same place as the unchanged shp.
> 
> How can I adjust the extent so that it shows in the right location?
> 
>  
> 
> Regards,
> 
>  
> 
> Reginald Carlier
> Deskundige GIS
> 
> 
> 
> 
> Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster 
> T +32 51 33 74 39 www.ingelmunster.be
> 
>      
> 
> Van: Nicolas Cadieux [mailto:[hidden email]] 
> Verzonden: donderdag 1 september 2016 14:50
> Aan: Reginald Carlier
> Onderwerp: Re: clip still not working on osm shape
> 
>  
> 
> Hi,
> 
> Did you resave the file in a new projection or just specified the layer projection by clicking on the layer in the layer manager?  
> 
>  
> 
> You need to save the file for the changes to be permanent.  There are also more complex reprojection tools in Qgis.
> 
>  
> 
> Nicolas
> 
> Envoyé de mon iPad
> 
> 
> Le 1 sept. 2016 à 08:35, Reginald Carlier <[hidden email]> a écrit :
> 
> Hi,
> 
>  
> 
> I found that the problem was the conversion of the CRS. When I select the shape of the town (Lambert 72) in QGIS Browser and choose WGS 84 as CRS the extent is still in Lambert coordinates. I tried the same in ArcMap and there I got the same result. Then I tried a function in the toolbox under Data Management > Projections and Transformations > Project where you can choose the CRS and also the transformation algorithm. Then the shape of the town was shown in the right spot. I wonder if there is such a tool in QGIS.
> 
>  
> 
> Regards,
> 
>  
> 
> Reginald Carlier
> Deskundige GIS
> 
> 
> 
> 
> Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster 
> T +32 51 33 74 39 www.ingelmunster.be
> 
>      
> 
> Van: Nicolas Cadieux [[hidden email]] 
> Verzonden: donderdag 1 september 2016 13:36
> Aan: Reginald Carlier
> Onderwerp: Re: clip still not working on osm shape
> 
>  
> 
> Hi,
> 
> Are you running the latest Qgis 2.16? If so, vector tool should be in the processing toolbox and not in the vector menu.  I have only worked one day with 2.16 but it was long enough to see that it needed a complete removal of all previous versions as the menu had a mixe of the old and the new version.  After that, vector tools disappeared from the vector menu and reappeared in the new processing menu.  I had read about this in a French blog so I was expecting it.  Could this be the cause of your problem?  
> 
>  
> 
> If not, make sure both layers are in the same CRS (like you did) but that they also align properly when the "CRS on the fly" is not activated.  Try loading only those two layers.  You could test to see if it's the osm file format that is giving you problems by testing the two .shp file.
> 
>  
> 
> Nicolas
> 
> 
> Envoyé de mon iPad
> 
> 
> Le 1 sept. 2016 à 05:33, Reginald Carlier <[hidden email]> a écrit :
> 
> Hi Nicolas,
> 
>  
> 
> I changed the CRS of the shapefiles so they match (EPSG 4326).
> 
> It takes about 30 seconds before the algorithm (Vector > Geoprocessing > Clippen) finisches.
> 
> Then it loads the resulting shapefile in QGIS but the attributetable is empty and the resulting shp is 1 kB.
> 
> It looks as the Clip function doesn’t work.
> 
>  
> 
> Regards,
> 
>  
> 
> Reginald Carlier
> Deskundige GIS
> 
> 
> 
> 
> Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster 
> T +32 51 33 74 39 www.ingelmunster.be
> 
>      
> 
> 
> _______________________________________________ 
> Qgis-user mailing list 
> [hidden email] 
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://osgeo-org.1560.x6.nabble.com/clip-still-not-working-on-osm-shape-tp5283467p5283559.html
> To start a new topic under Quantum GIS - User, email ml-node+s1560n4125267h38 at n6.nabble.com 
> To unsubscribe from Quantum GIS - User, click here.
> NAML




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/clip-still-not-working-on-osm-shape-tp5283467p5283579.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160901/268ae925/attachment.html>


More information about the Qgis-user mailing list