9

If I understand your problem correctly, "Align to Margins" has been selected in the "Align" context menu. In Layout View, select any object (such as your north arrow) and right click and select "Align" on the resulting context menu. The first option on the submenu that slides out will be "Align to Margins." There is a very subtle embossing effect to the ...


8

A translation is an affine transformation. Next code includes this kind of transformation and it works well at the Python Console of QGIS for creating a memory layer with the displaced layer (building1). registry = QgsMapLayerRegistry.instance() n = registry.count() layers = registry.mapLayers().values() layers_names = [ layers[i].name() for i in range(...


6

Ok I developped a QGIS plugin to do this : https://github.com/olivierdalang/VectorBender I hope it will be useful to others too !


6

After further research, I discovered that the malfunctioning Snap Raster setting was actually caused by a bug in ArcGIS 10. The solution seems to be to turn off Background Geoprocessing (Geoprocessing\Geoprocessing Options... then uncheck Enable in the Background Processing section), and perform the clipping operation, with Snap Raster specified, in ...


5

To align any number of objects, you can transform them into a block (see tutorial if necessary): launch the _bloc command give a random name (2) click on a place near the objects to be georeferenced (6) Select all your objects you need (4+3) Click on allow exploding (8) Click OK (9) Next your can georeference your bloc with _align. when you're satisfied, ...


5

The extent of the Adress database is reported as `(-0.135610, 51.323120) - (-0.062560, 51.369150). This is surely NOT EPSG:27700 British National Grid (using meters), rather something in degrees. Ogrinfo reports EPSG:4258, which is almost identical to EPSG:4326, and looks reasonable for the given extent. Alternatively, it could be EPSG:4277 OSGB36 in ...


5

From the screenshot, it's clear that this is a projection issue. The layers all have sufficient detail, that their misalignment cannot be due to low resolution. Also, they are offset by varying amounts in different places. So, to fix this issue we have to figure out the cause of the projection issue. Here are the various things to check: If using a version ...


4

There is a CadTools Plugin. AFIK it is only suitable tool for this task at the moment.


4

The move plugin works in a similar way. calculate the centroids using Vector -> Geometry Tools -> Polygon Centroids for both layers, turn the layer to be moved into edit mode select the feature to be moved activate the plugin with its icon draw a line from the first centroid to the second With right-click, move the object Save the layer turn off the ...


4

As there is no unique identifier on the building layer, create it. Create oriented minimum bounding boxes (OMBB) from geoprocessing tools. Merge them by location (intersects) with buildings. Change the geometry type of merged layer from polygons to lines (tool: polygons to lines). Split lines into single sections (tool: split lines). On layer with split ...


4

Open your attribute table and add a new field for Longitude (if it doesn't already exist). Right-click on the new field in the table and select "Calculate Geometry" In the Calculate Geometry dialog that appears, ensure that X Coordinate of Point is selected, the coordinate system and units are correct, and click OK. This will populate the field with the ...


3

Avoid using capitalised letter within textAlign and textBaseline, the values must be in lowercase. Next example, fixing that issue, works fine: http://jsfiddle.net/dL3h58a9/8/


3

With an offset of around 200 metres, it looks like a missing data shift. Your target SRS is exactly WGS84, that is +towgs84=0,0,0,0,0,0,0 If I create a raster grid with ED50 UTM 32 EPSG:23032, it is shifted 200m to the south and 80m to the west to the WGS84 UTM 32 grid. The shift parameter of ED50 is +towgs84=-87,-98,-121,0,0,0,0 To see which of your ...


3

To align your geometries I would investigate Spatial Adjustment (rubbersheeting): Within the editing environment, the spatial adjustment tools provide interactive methods to align and integrate your data. Spatial adjustment supports a variety of adjustment methods and will adjust all editable data sources. It's often used when you've imported data ...


3

I'll try to answer even though this was a few years ago. I suspect that the two rasters are misaligned because the GRASS region was slightly different when you imported the NDVI and LANDSCAPE rasters. I've run into the same issue with many of my rasters, especially when I've imported them during different sessions. Corrrecting Misalignment First set and ...


3

It seems the highway junctions extracted from the network are not perfectly aligned on the network This sounds the most likely cause of the problem. Since you have an Advanced license, you can create a topology and set rules to ensure that the highway junctions align perfectly with the roads. You can use the topology to snap the junctions to the roads, ...


3

National Grid Transform ation OSTN02 (ETRS89–OSGB36) To cope with the distortions in the OSGB36 TRF, different transformations are needed in different parts of the country. For this reason, the national standard datum transformation between OSGB36 and ETRS89 is not a simple Helmert datum transformation. Instead, Ordnance Survey has ...


3

The Google Maps layer in QGIS via OpenLayers or QuickMapServices is never 100%, and the best way to use it is to set your map to EPSG 3857 (WGS 84 / Psuedo Mercator aka "Web Mercator") Keep in mind that you shouldn't depend on the Google Maps layer for much more than a quick reference- you shouldn't be digitizing over this, as you'd be violating Google's ...


3

Actually it is not opposite. TextAlignworks relative to something. In the case of the W3Schools example, in the case of left-align, it aligns the left hand end of the text (its start) to the left-hand side of the page. For right-align, it aligns the right-hand side of the text (its end) to the right hand side of the page. With OL, the text is being ...


3

One way to do this is to copy the feature from the pink layer to the blue layer. If you're looking into a more elaborate method, you could do the following: Intersect the 2 layers. Vector > Geoprocessing tools > Intersection Calculate the difference between the 2 layers: Vector > Geoprocessing tools > Difference Union the intersection and the ...


2

Go to the tab 'Data Defined Settings'. Scroll down to the bottom and the section marked 'Position'. Here you can define where the label will appear but you need attribute fields for this. Add a field to your attributes called (say) 'h_align'. Now set all its values to 'Right'. Now use this field as your Horizontal Alignment option (you must set X and Y ...


2

In my experience with clip management, these types of issues are often due to rounding errors. Basically it seems like actual image coordinates are often saved with greater precision than what is returned from, for instance, GetRasterProperties_management. In some tools, the output will be resampled based on the exact coordinates, but here, I believe it's ...


2

Any of the possibilities you've identified is possible, and resolving the problem will require detailed analysis. If the data was collected a long time ago, then Selective Availability could give you the sort of GPS-derived errors you're seeing. Older GPS sets weren't as good, especially the presence of multipath. While unlikely, if all the points were ...


2

If you are defining the projections with define projection or editing their properties then you will encounter this problem. What you want to do is Project to the coordinate system. This will modify the features to be in the new coordinate system and not just redefined and in the same place. To define them back again just do what you did before in reverse.


2

Inacurracy is a way of life for the GIS professional. Depending on the source of your roads they could be many metres from their correct location; normally data comes with metadata which should contain a date and an approximate accuracy figure. For example 250k data will be mostly within 125 metres of its' correct location, conversely GPS tracklogs will ...


2

Provided the Aerial Image is accurate to your project needs and you have re-projected the Line Shapefile to match the spatial reference of the Image, you can use the Spatial Adjustment Toolbar to get started with some semi-automated fixes to your line data.


2

It's still an open issue. The ticket on the current bug tracker is http://hub.qgis.org/issues/3239 I imagine a few users with interest in right-to-left languages could easily fund this together.


2

I would recommend these steps: Create polygon centroids for your municipality features. Next use "join attributes by location" to give these new centroids all a new attribute that is the climate zone. Then join this centroid layer to your original municipality polygons by a unique ID only including the new climate zone though. (Optional): Create a new ...


2

They fixed this in later versions (here's v3.7.0: http://jsfiddle.net/dL3h58a9/268/) so it's the same as the docs - but the values now have to be lowercase! textAlign: "start", textBaseline: "middle",


2

If you use the Openlayers plugin inside QGIS, you have to set the project CRS to EPSG:3857, not EPSG:3003. 3003 is for Italy only, but the Openlayers plugin is worldwide. The other layers may still have other CRS.


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