Tag Info

Hot answers tagged

4

The solution that comes to mind is to use a join between your shapefile and the textfile. Its described on this tutorial. If the attributes values change often, you could use a database backend for your data. QGIS works especially well with PostgreSQL-Postgis databases.


2

Three other possibilities: Project/Save as image, you'll get a georeferenced image of canvas (limited/screen resolution) In Print composer Composer/Export as image, you will get az image of the set page size, no georeference From the command line use --snapshot switch, huge image can be created with georeference (qgis exit after creating the image, can be ...


2

Change the style of the vector and make the border the same colour, possibly a bit thicker too. That should mask it. I'm guessing that it isn't a real gap.


2

To download vector tiles you need to be requesting a source, not a style, and the extension is .vector.pbf For example you can download a vector tile for mapbox streets at http://a.tiles.mapbox.com/v4/mapbox.mapbox-streets-v6/1/1/1.vector.pbf?access_token=token


1

For a quick 'heat map' view of your data: Use the Layer > Add Layer > Add Delimited Text layer menu option from QGIS Browse to your CSV file, and ensure your X and Y fields are being used properly: Click OK and you'll be asked what coordinate system to use. Assuming you're using LAT/LON in WGS84, choose EPSG:4326, then click OK and your points should ...


1

You can download a Canada shapefile from DIVA-GIS and selecting the Administrative areas as the subject. You will receive 4 shapefiles of differing levels: Can_adm0 Can_adm1 Can_adm2 Can_adm3 (this is probably the one you want) When loaded into QGIS, you will see Canada broken up into different districts (or wards, zones, etc.). You can run a query to ...


1

I imported my raster file to PostGIS and I used this function to make vectorization of my raster. I used this query SELECT (ST_DumpAsPolygons(rast)).geom,(ST_DumpAsPolygons(rast)).val from my_raster


1

I am not sure you can find a set of layers as you want but, the commands below generate them: Download world borders from http://thematicmapping.org/downloads/TM_WORLD_BORDERS-0.3.zip or from the Global Administrative Areas (http://www.gadm.org/version2). Unzip the file. Run the following commands in your terminal: $ ogr2ogr -where "REGION = 2" africa.shp ...


1

I'd recommend Natural Earth for this sort of data. It comes as shapefiles which can be read by any GIS system (e.g. QGIS) Each country's record has a lot of associated data, this includes which continent it's in, so for example you could colourize each country by continent. You can also split layers out by field value, using a plugin. That'll give you your ...


1

If you review the API (http://qgis.org/api/classQgsVectorFileWriter.html) for QgsVectorFileWriter, the constructor looks like: QgsVectorFileWriter::QgsVectorFileWriter ( const QString & vectorFileName, const QString & fileEncoding, const QgsFields & fields, QGis::WkbType geometryType, const ...


1

There should be some color progression options that can suit your needs for vector data. Look under "categories and then once you have your value field selected, click the "color ramp" and scroll through. Some of the choices are actually color progressions between two colors. If those aren't quite what you are looking for there go down to "quantities" and ...


1

Please check this How to convert points to lines? If you are looking for a different scenario,could you please illustrate it.


1

You can use this R script You will need these packages: library(rgdal) library (raster) For example for a map called "Prodes1": Prodes1<-readOGR(dsn="E:/PRODES/PDigital2014_22768_shp", layer="PDigital2014_22768__pol", dropNULLGeometries=TRUE) Prodes1$Grd_ranks<-rank(Prodes1$mainclass) #Creating a numeric column for rasterize i<-1 ...


1

There are some options. With Fusion there is the command line ClipData and its switch biaselev:#: biaselev:# Add an elevation offset to every LIDAR point: # can be + or -. The command line syntax for shifting the z values down 90 ft: \ClipData /biaselev:-90 InputSpecifier SampleFile [MinX MinY MaxX MaxY] Another option is the las2las tool wit the ...


1

In addition to the roundness formula outlined by radouxju in his response and others like the ratio of the area of the polygon to the area of its minimum bounding circle - ST_Area(geom)/(ST_Area(ST_MinimumBoundingCircle(geom)) as rnd_check in PostGIS: I find it often helps to check the number of vertices/points in a 'suspicious' geometry - ST_NPoints(geom) ...


1

Good solutions, another solution to this problem and one that I would have used until I read these other posts would be to create two layers from the same shapefile. The first layer I would symbolize with the color you want to fill and no border outline, then I would set this layer to the transparency you required. The second layer would display all of ...


1

I recommend the Vector Bender plugin for QGIS. I tried it and it works fine and is user friendly. Depending on amount of pair of points that you define, you can either do: translations: translation from one starting to ending point (1 pair) uniform: translation, scaling and rotation (2 pairs) bending: additional deformation (3 pairs or more) You find a ...



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