Is there a way to tie line width to map scale in QGIS? All I found was an outside limit for display as the scale decreases. I'm using an outline line style for roads, and the roads are too big when I zoom out. What about converting them to a raster layer?
|
I think your data is fine, the problem is you added it into a project that uses degrees as map unit (as nhopton said and your string showed that it is EPSG:4326). You can fix this by starting a new project with CRS that use meter as map unit and add your data into this project, all your line width number will now be understood by QGIS as in meter unit. You can start a new project with CRS that use meter as map unit by going to menu File -> New Project, then Settings -> Project Properties, go to CRS tab and select the suitable CRS. I usually use Google Mercator - EPSG:900913 or EPSG:3857 - your need may vary.
|
|||||||||||
|
|
The quick way of tying line width to scale would be to use map units for the lines. You get this option when picking a style for the lines, set 'Unit' to 'Map unit' rather than the default 'Millimeter'. I've had to add this to the answer because it's too long for a comment! The mechanics of transforming a shapefile in one CRS and exporting it to a new shapefile having a different CRS are fairly simple. Load the shapefile into QGIS, right-click on it in the layers panel and select 'Properties', then click the 'General' tab and make sure that QGIS has correctly recognised its CRS. If it hasn't, then set the CRS yourself (the 'Specify CRS' button). Next, right-click on the layer in the layers panel and select 'Save as..'. In the dialog box that pops-up set 'Format' as 'ESRI Shapefile' and give the new file a name. Set 'CRS' to 'Selected CRS' then press the 'Browse' button and pick a suitable CRS. This is fine if you know which CRS to choose. If you don't, come back with some details of the geographical area that your map will cover and someone will suggest a couple of possibilities. Nick. |
|||||||||||||
|
