7

The grid creator makes very simple lines with vertices only on each end. You'll need to 'densify' the geometry (adding extra vertices) so that intermediate points can be projected and define the shape of the lines correctly. For example, here's an unprojected map with a default grid from QGIS (5° intervals): If we change the projection (Aitoff 54043), the ...


6

To perform dynamic North Pole grid orintation paste the code (see below) in Map rotation box parameter of your map item. Here is a comparison with a static oriented grid: Code block (in a line): -1 * degrees(azimuth(map_get(item_variables('map'), 'map_extent_center'),transform(geom_from_wkt('POINT(0 90)'),'EPSG:4326',map_get(item_variables('map'),'...


4

This is because EPSG:2056 is an Oblique Mercator projection that is "An oblique cylindrical projection that is conformal but not equal area". So it doesn't preserve area (as you are seeing).


3

If you have a projected map, e.g. a UTM-Projected polygon, but you want to draw a grid showing latitude and longitude you need to change your grid's CRS to EPSG:4326. UTM Grid If you set up an UTM grid, your map units will be meters. An interval of x50000 and y50000 shows a grid every 50km. To use this, you must set your grid's CRS to UTM, e.g. EPSG:32645 ...


3

While some more input on your side would have been helpful, here is the solution: Go to draw coordinates in your map canvas' properties and change it to custom/user defined. Click the greek "E" next to it and enter @grid_number ||if(@grid_axis='x',' m.E.',' m.N.')


3

For a non rectangular global projection like Robinson, QGis print composer grids will not be able to follow the cut off's of the globe as you would like. The trick is to include a graticule grid in your map so that it is reprojected for you. Here I have used 110m_physical_geographic_lines, 110m_graticules_10, 110m_land and 110m_ocean from Natural Earth to ...


2

Work around: use switches /grid:X,Y,W,H or gridxy:X1,Y1,X2,Y2 to manually offset the output grid by inputting its correct extent coordinates. Misalignment cause (hypothesis): Maybe the DTM's header is not being read correctly. It would explain both the misalignment with GridMetrics output and also switches /align and /extent not working, because they are ...


2

In case if you want each cell to be "Beautiful" Right click on your polygon shapefile and then Properties -> Style -> Outline / Outline width Fill: transparent and then apply customization for your polygon outline parameters. If you want only the general contour of your cells to be "Beautiful", i.e. your cells have to have a common outline on the ...


2

MS Paint works well if you don't know which software was used to create a map. If you are in ArcMap, there are some instructions here. If you are using QGIS, here is an example that might help


2

EPSG:3857 uses the Mercator projection and the latitude and longitude lines are straight and form rectangles. Both a grid using projected coordinates and a graticule using latitude-longitude values (EPSG:4326) will be rectangular. Here's an image of EPSG:3857 with a 10° by 10° degree graticule superimposed on it. A grid of the projected units would be ...


2

The is no solution to your problem, unfortunately. On one hand, as soon as you project coordinates on a 2 dimensional map, you need to choose between an equal-area projection (preserving the area) or a conformal projection (preserving local angles), but no projection has both. Of course, some projections make a compromise so that neither are totally ...


1

There are lots of different types of Grids in QGIS, so I want to make sure we're talking about the same thing. This is the type of grid I think you're talking about: A Map Grid on a Map Item in the Print layout No, the map grid in print layout doesn't accept expressions. Since the feature you want doesn't exist, here's a workaround that might help you. ...


1

You have to use: QgsCoordinateTransform(src_crs,dest_crs, QgsProject.instance()) where src_crs is the QgsCoordinateReferenceSystem of you layer and dest_crs the QgsCoordinateReferenceSystem of WGS84.


1

As you can see, you can Export the attribute table as a CSV file in a simple way in QGIS. But the problem turns to sort the values in LibreOffice. That task slightly exceeds our reach. But I kept thinking that there really must be a way to export the data exactly as you wish, which is in the form of an array. And what has an array shape is a raster, so it ...


1

Disclaimer: I worked with QGIS 3.4, since this is the current LTR. Anyway, I used your points, which are in EPSG 4326, my project was in the same CRS, I set the grid to it also. The display was only correct, when I chose mapunits for the interval and set it to a fitting low value.


1

As a workaround, create a separate grid for each scale range in your atlas. Make the visibility of each grid dependent on the scale level of the main map. Make a new map item with no map content (turn off all the map layers, refresh the map item so that it's blank, and lock the layers for this map). We'll call this map item the grid map. Give the grid map ...


1

Well, the solution was to use a modified Vertical Perspective (Sphere) CRS in a 2D map. Modifying Longitude and Latitude of Center you can rotate the sphere: Grids can be added easily. I hope this post can be useful for others


1

I believe this is a known behavior of projection rendering in the software. Because meridians 180W and 180E represent the same meridian on the spheroid, most software clip this edge to avoid incorrect rendering or present both on one side. I think the same behavior you can find in ArcMap. For this particular projection, you can manually add both meridians ...


1

Your conditions for the y axis labels are identical. They both cover @grid_number values between 600000 and 700000. Presumably one of them should be for a different @grid_number range. when @grid_axis = 'y' and (@grid_number >=600000) and (@grid_number <700000) then 'NS' + left(right(@grid_number,5),2) ... when @grid_axis = 'y' and (@grid_number >=...


1

I just ran a test; the grid as graphics is just stored as a single grouped graphic, so it is not in an annotation feature. Here is an excerpt of my notes on how to get graphics into a database annotation feature. My target is an enterprise (SDE) feature, so that is why I use a temporary, intermediate feature. You could simplify this. Sometimes Append ...


1

Maybe late to the party, but it might help somebody who is experiencing the same and wants to solve it more dynamically. For me the following helped: to_string(to_int(@grid_number)) Also not very elegant, but might be more useful than checking against a specific value. In my case I used it in a composer template for the frame coordinates where I don't know ...


1

If you have grid coordinates and want the first two figures to be large and the rest to be superscripts you can do it without python functions. The trick is to use string processing to split the number into parts, and then replace the numbers with superscript numbers with the replace function. concat(left(@grid_number,2), replace( substr(@...


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