Tag Info

Hot answers tagged

6

You could check out the Watermark plugin for QGIS https://plugins.qgis.org/plugins/watermark/ Hope this helps


5

Looks like you downloaded the JPEG "LandsatLook images with Geographic Reference" not the "Level 1 GeoTIFF Data Product". JPEGs use lossy compression which will change the values slightly so the zero values at the edge of the scene aren't exactly 0 anymore. You can use GDAL nearblack (QGIS Raster - Analysis - Near black) to convert them back to 0 (output to ...


5

It's not built in (yet. I might just put it on my todo xmas list) however you can use some Python to do this: from PyQt4.QtCore import * from PyQt4.QtGui import * dock = iface.mainWindow().findChild(QDockWidget, "Layers") def activated(): visible = dock.isVisible() dock.setVisible(not visible) short = QShortcut(QKeySequence(Qt.ALT + Qt.Key_1), ...


4

There's a "Copyright" decoration option in QGIS already. View... Decorations... Copyright Label. Choose text, placement position, colour. Make sure to enable the checkbox. Doesn't have text size or font choice, but the defaults look okay. Use © if you want a copyright symbol. This is QGIS 2.4.


4

On the bottom of the application you can set extent or the center of the map. It looks like this: l The first button switches between extent and map center.


4

I work in an environment where we use both softwares and here are my impressions. I began to use QGIS about a year ago when I finally became fed up with paying for additional extensions and licence levels. I find QGIS to be good for manipulating data and getting it into more open source friendly formats while ArcGIS is much better for Map creation. That ...


3

You need ST_Difference which returns the the geometry of a feature that does not intersect with another feature. In your case something like this: SELECT l.id, ST_Difference(l.geom, p.wkb_geometry) As diff_geom FROM lines l, polygons p Modify for your actual table and field names.


3

To find out the right CRS, create a new project in QGIS with project CRS set to EPSG:3857, load Google or OpenStreetMap background from the Openlayers plugin, and look where your data is placed. If you set the Layer CRS of your data to EPSG:32749 WGS 84 / UTM zone 49S, your data will be placed in the right position (at least the same place a Google search ...


3

I have not come across such a shortcut, but rightclicking on an empty part of the toolbar area lets you easily activate or deactivate panels and toolbars. I guess it would not be too difficult to write a python plugin with its own icon for your task.


2

Working (albeit cumbersome) solution to convert KML-/KMZ-files with <gx:Track>-Extension to gpx/csv/tcx, via Googles MyTracks-App. I tried to import a .kmz-file to QGIS, containing a GPS-track as <gx:track>-Element. (Track was recorded with MyTracks-App on Android. I only had the .kmz.) After numerous attempts, using various tools ...


2

Do not use the regular "Add PostGIS Layers", it will not show your raster table. The plugin "Load Postgis Raster to QGIS" was not updated to QGIS v.2.0, so it won't work either. In QGIS v.2.6 go to menu Database->DB Manager->DB Manager, set the database connection and you will see the raster table. You can drag and drop it or right click and select Add to ...


2

Actually, you would need to access the instance method of the QgsProviderRegistry class, since it is a singleton: QgsProviderRegistry.instance().pluginList() However, as you can see, it doesn't list QGIS plugins, but data provider plugins, which are used by QGIS to support different data formats such as WFS, PostgreSQL/PostGIS, WMS, GDAL, etc. To ...


2

You may use the addGroup function like this: MyFirstGroup = iface.legendInterface().addGroup('Group No. 1') MySecondGroup = iface.legendInterface().addGroup('Group No. 2', true, MyFirstGroup)


2

Map canvas rotation is being added as a feature to QGIS 2.8. Here's a video posted by Faunalia of the feature. https://www.youtube.com/watch?v=7TN3toqcyks


2

Go Settings -> Project Properties, in CRS tab enable on the fly transformation; in General tab in Measure tool menu choose ellipsoid for distance calculations. See picture: When you start measurement move cursor to the measurement window: the information about your measurement settings will pop up: NOTE: ALWAYS check measurement settings in the measure ...


2

You can filter your features by right-clicking the layer and selecting "Filter...". There you can enter a string much like the WHERE clause in SQL. The same feature is available on the "General" tab of the Layer Properties dialog, where it is labeled as "Feature subset". You can combine filters using AND, e.g. "fid" IN (1, 2, 3) AND "street" ILIKE ...


2

If you have a smartphone, you can do this using all free software. Install and use the My Tracks app on your smartphone. (Click here for Android, or here for iPhone.)You can use this to record a line along the old clay drain by walking along it. You can then transfer the lines you create to Google Earth on your computer to store and view them as KMZ ...


2

Based off your comment, here is my suggestion... You can use QGIS to create a map of the drains. There will still be some things you will need to work out, but this program will work very well for creating a simple map for you to reference. I would suggest finding some aerial imagery to use as a guide. You can check your local government and work your ...


2

You need to cast your denominator to a float (decimal) value. See this thread: Why is this field calculator expression evaluated incorrectly when using Python syntax? Your output field also must accept decimal values (i.e. cannot be an integer field).


2

In QGIS, goto Settings -> Custom CRS, and Copy from existing CRS. take a lcc projection based on WGS84, like EPSG:3762 +proj=lcc +lat_1=-54 +lat_2=-54.75 +lat_0=-55 +lon_0=-37 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs and replace the values to your system: +proj=lcc +lat_1=17.5 +lat_2=19.5 +lat_0=12 +lon_0=-102 +x_0=2500000 +y_0=0 +ellps=GRS80 ...


2

ArcGIS Snap tool will do this for you (standard and up license level). You need to fill in what type of snapping you are looking for in the Type column. Also the Distance of the snapping. Also keep in mind this is a tool with no outputs, so make copies of your input data before trying.


2

I disagree that QGIS always uses multipoint. If you use the Extract Nodes tool, you get a single point layer, and converting Multipart to singlepart and back changes the geometry type as expected. You can run ogrinfo on the shapefiles to check the geometry type. Unfortunately, QGIS reports the layers metadata always as Point.


2

If qgis freezes, try the same command in GDAL/OGR: Open source software to merge large shape files It gives you the opportunity to see error messages, as well as saving valuable RAM that is used by the QGIS GUI. The shapefile 2GB limit that you cross can not be solved by that, so you need another output format, like spatialite database.


2

I figured it out. Go the Layer labeling settings window ( Layer >> Labeling ) Click on the blue and orange icon in the upper right hand corner (Automated Placement Engine.) Deselect "Show Partial Labels"


2

The Generate Near Table tool in ArcGIS will do what you want, but it requires an Advanced license and will do it for all points/polygons - not just those associated with each other. This means for each of your 95 objects you will get the ranked distance for all 211 properties, so 20,045 rows in the table. You'd either have to filter the resulting table or as ...


2

What I usually do Create point layer from midpoints of network segments. Spatial join of points to CLOSEST info line, define distance field name Transfer attributes back to segments, where you think they are close enough


2

I came across the same issue last week. Follow this work flow and you'll be able to see selected points, even if they share position with non-selected points: Load your point layer in QGIS and make sure it is in the first position of the ToC. Open the Python Console from Menu Plugins. Copy the next Python code in the Python console and press Enter (you ...


2

Use TileMill or MapBoxStudio or if you have lots of Maps/Charts in GeoTiff then MapTilerPro. For ArcGIS for Desktop you can use Arc2Earth Extension to create Tiles. Are you looking to create XYZ, TMS or MBTILES sqlite database? For mobile app use mbtiles. For web TMS, check out http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/ for ...


2

Those input points are not in urn:ogc:def:crs:OGC:1.3:CRS84, since that is (roughly) WGS84 lon / lat, and (taking the first point): [ 383707.21875, 9211513.0 ] is not a reasonable lon / lat combination. What QGIS is (probably) doing in converting that point to -52.78125,9211513.0 is taking 383707 and wrapping it around a few times (383707.2185 - 1066 * 360 ...


2

Looking at https://en.wikipedia.org/wiki/ISO/IEC_8859-1, I don't see any support for Indian font characters. I suggest to create a shapefile in UTF-8 encoding, which is able to display all characters of the world that are defined by unicode correctly. If you load the file into QGIS, make sure the encoding is set to UTF-8 and not to System (which varies ...



Only top voted, non community-wiki answers of a minimum length are eligible