I am very new to this. My current version of QGIS is 3.4.2-Madeira. I am trying to make a 7,500 scale map displaying MGRS gridlines.     The Military Grid Reference System (MGRS) is the geocoordinate standard used by NATO militaries for locating points on Earth. The MGRS is derived from the Universal Transverse Mercator (UTM) grid system and the Universal Polar Stereographic (UPS) grid system, but uses a different labeling convention. ()   I have ESRI World Topo map as the base layer and Render is set to EPSG: 4326. I'm not sure if the Lat/Long Tools Plugin will have the function to display gridlines.  I saw a video where the coordinates were formatted using an expression: Left(Right(grid_number, 5), 2). I've tried and I am seeing "mb". Another time it just was not displaying the correct number. Can someone help me with this?
120400
I'm trying to generate a Military Grid Reference System (MGRS) grid on QGIS (with polygons in scale of 100m), such a grid will be similar to when importing a grid made of shapefiles (such as  ).   How is it possible to make or get such grid?
70015
I am building a web application with OpenLayers that contains a map that allows insert, edit and remove points, my map is now using “EPSG:4326" projection.  I have shapefiles and xlsx files that contain polygons and points that I need to insert as layer in the map.  The problem is that the shapefiles use EPSG:2309 projection, this is Israel tm grid projection that OpenLayers doesn't recognize.  How do I transfer these points/polygons to the EPSG:4326 projection?  I found this:  But I don't know if its can be helpful, or how...
48024
I'm trying to define a projection in . I want to add . From the  site I copied the proj4 line:  +proj=aea +lat_1=20 +lat_2=60 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs  Then I went into QGIS -&gt; Settings -&gt; Custom CRS and pasted the following into the window:    But when I go to view the projection within QGIS I see a very different set of parameters:    Is this ok?   I don't know enough about projections to tell if the parameters generated are the correct ones, or whether something else is going on. It also ignored the name that I provided which made me suspect the parameters may also be incorrect.   I'm using QGIS 1.7.3 on Windows 7.
32139
I am attempting to get a nice KML for simple review of POI/geocoding from a CSV. I a using ogr2ogr and a VRT. You can see the VRT file below, with two attempts to get this right.  Basically, the issue is using ogr2ogr -f KML ... with the VRT w/o renaming results in a lot of "SimpleData" tags in the KML.   I'd like to get some CSV fields as the KML Placemark "Name" and "Description", concatenated fields, actually. -dsco NameField=RegionName option in ogr2ogr, but I don't see a way to concatenate fields into name, e.g Street, City, State..  In the .vrt below, the SrcSQL field results in no records. It does open, but with layer info. The Field tag (when not commented out) does result all records with in the new alias, but the "name" is the only field that comes through, it drops all other fields.  Is there a way to concatenate fields using ?  Of course, perhaps ogr is not capable of concatenation ...  &lt;OGRVRTDataSource&gt;     &lt;OGRVRTLayer name="roofing-poi2"&gt;         &lt;SrcDataSource&gt;roofing-poi2.csv&lt;/SrcDataSource&gt;         &lt;GeometryType&gt;wkbPoint&lt;/GeometryType&gt;         &lt;LayerSRS&gt;WGS84&lt;/LayerSRS&gt;         &lt;GeometryField encoding="PointFromColumns" x="Longitude" y="Latitude"/&gt; &lt;!--         &lt;Field src="StreetAddress" name="name" /&gt; --&gt;         &lt;SrcSQL&gt;SELECT StreetAddress as name&lt;/SrcSQL&gt;     &lt;/OGRVRTLayer&gt; &lt;/OGRVRTDataSource&gt;
32583
I don't know so much about coordinate systems...  In my office we use to deal with spatial data coming from archaeological sites. Each site has its own x-y-z coordinate system (GCS). Three simple ortogonal cartesian axis. In the last years we have been managing this spatial data through GIS software (ArcGIS), without using specific coordinate system (just leave it as "undefined")  I'd like to know if there exisits any GCS designed to deal with such datasets using simple cartesian orthogonal axis, without grid distortions of the typical GCS. In addition, I'd like to know if this system is suitable for using it in an online mapping application.  By the way, we manage 2D (ArcMap) and 3D (ArcScene) environments and work with "mm" as length base unit.   If such a thing doesn't exists, maybe someone knows how to create it.
92113
For a 3D scene in the world coordinates, its View Reference Point $\mathrm{VRP}$ is at $(5,-2,1)$, and a viewer is looking towards point $A=(1,1,1)$. Construct a transform matrix which will map world coordinate points to a right-handed $(UVN)$ viewing space, so that $\mathrm{VRP}$ is the origin, the line joining $\mathrm{VRP}$ to $A$ is the positive $N$ axis, and the view-up Vector is $(0,0,1)$.   To my knowledge, the final answer should be a single transform matrix. To calculate the final matrix, I first find the matrix which translates the coordinate system to the to the origin in homogeneous matrix form:  Translation matrix:  $$ T=         \begin{bmatrix}         1 &amp;0 &amp;0 &amp;-5 \\         0 &amp;1 &amp;0&amp; 2 \\         0 &amp;0 &amp;1 &amp;-1 \\         0 &amp;0 &amp;0 &amp;1 \\         \end{bmatrix} $$  Using the unit vectors of the coordinate axes, the resulting rotation matrix is:  $$ R=         \begin{bmatrix}         -0.6 &amp;-0.8 &amp;0 &amp;0 \\         0 &amp;0 &amp;0 &amp;1 \\         -0.8 &amp;0.6 &amp;0 &amp;0 \\         0 &amp;0 &amp;0 &amp;1 \\         \end{bmatrix} $$ Then the final matrix (the final answer for full marks) would be the rotation matrix multiplied by the translation matrix:  $$ M=         \begin{bmatrix}         -0.6 &amp;-0.8 &amp;0 &amp;1.4 \\         0 &amp;0 &amp;0 &amp;1 \\         -0.8 &amp;0.6 &amp;0 &amp;5.2 \\         0 &amp;0 &amp;0 &amp;1 \\         \end{bmatrix} $$ Is my method and final answer correct?    Following the answer to this question, I have calculated the translation matrix:  $$ T= \begin{pmatrix} 1 &amp; 0 &amp; 0 &amp; -5 \\ 0 &amp; 1 &amp; 0 &amp; 2 \\ 0 &amp; 0 &amp; 1 &amp; -1 \\ 0 &amp; 0 &amp; 0 &amp; 1 \\ \end{pmatrix} $$  I have calculated the rotation matrix:  $$ R= \begin{pmatrix} -0.6 &amp; -0.8 &amp; 0 &amp; 0 \\ 0 &amp; 0 &amp; 1 &amp; 0 \\ -0.8 &amp; 0.6 &amp; 0 &amp; 0 \\ 0 &amp; 0 &amp; 0 &amp; 1 \\ \end{pmatrix} $$  But what would the final transformation matrix $M$ be? My lecture slides tell me it would be rotation matrix multiplied by translation matrix, with the last column multiplied by $-1$ except for the $1$. This would equal:  $$ M = R \times T =  \begin{pmatrix} -0.6 &amp; -0.8 &amp; 0 &amp; -1.4 \\ 0 &amp; 0 &amp; 1 &amp; 1 \\ -0.8 &amp; 0.6 &amp; 0 &amp; -5.2 \\ 0 &amp; 0 &amp; 0 &amp; 1 \\ \end{pmatrix} $$  But the answer here just adds them together somehow. Which one is correct?
22959
In answer to  Klas Karlsson puts forward a solution to the problem of formatting print composer grid labels for projected maps.  I'm very weak on scripting, but in QGIS 2.14 I've tried to enter the text as shown in Klas's illustration, which generates error messages. In my case I'm working with a coordinate system that has a six-digit Easting and a six-digit Northing and I'm trying to get a result similar to that shown in Klas's picture (but with a six-digit Northing). Can anyone help me with this?
55516
Hi I want to recreate the following picture but with a grid:   To something like this:   However, I'm finding the use of   \pgfsetcurvilinearbeziercurve{}   and even attempts with   \pgftransformnonlinear{}   very difficult to work with.  Here is some attempts (This one is with \pgftransformnonlinear{}.. you can see the normal grid that i want transformed on the bottom. I was trying to play around with some type of gaussian transformation, but it was not working (two commented lines above the current transformation):  \documentclass[tikz]{standalone} \usepgfmodule{nonlineartransformations} \makeatletter %def\mytransformation{\pgfmathparse{3/(sqrt(2*pi))*exp(-((0.01*(\pgf@x-6))^2)/(2^2))}\pgf@y=\pgfmathresult\pgf@x} %\def\mytransformation{\pgfmathparse{(1/10000)*1/(sqrt(2*pi))*exp(-((\pgf@x)^2)/(2^2))}\pgf@y=\pgfmathresult} \def\mytransformation{\pgfmathparse{\pgf@y*2/100}\pgf@x=\pgfmathresult\pgf@x} \makeatother \makeatother \makeatother \begin{document} \begin{tikzpicture} \begin{scope}%Inside the scope transformation is active \pgftransformnonlinear{\mytransformation} \draw (-6,0) grid [step=1] (6,4); \end{scope} \end{tikzpicture} \begin{tikzpicture} \draw (-6,0) grid [step=1] (6,4); \end{tikzpicture}  \end{document}    This is an attempt with \pgfsetcurvilinearbeziercurve{}:  \documentclass[landscape,svgnames]{article} \usepackage[a3paper]{geometry} \usepackage{tikz} \usetikzlibrary{fadings,shapes.arrows,shadows,arrows,positioning,shapes} \usepgflibrary{curvilinear} \usepgfmodule{nonlineartransformations} \usepackage{tikz} \usetikzlibrary{shapes.arrows} \usepgflibrary{curvilinear} \usepgfmodule{nonlineartransformations} \makeatother   \begin{document} \begin{tikzpicture} \pgfsetcurvilinearbeziercurve     {\pgfpointxy{14}{10}}{\pgfpointxy{10}{10}}     {\pgfpointxy{-4}{-10}}{\pgfpointxy{2}{2}}   \pgftransformnonlinear{\pgfgetlastxy\x\y%     \pgfpointcurvilinearbezierorthogonal{\y}{\x}}%     %\pic (a) {grid};     \draw [thin] (0,0) grid ++(16, 4);   \end{tikzpicture} \end{document}
20655
I've made a vector grid using lines; the grid coverage is 100 km x 100 km and the lines are at vertical and horizontal intervals of 1000 metres. Each line in the grid is defined by two vertices, one at each end, and each line has an ordinate attribute for labelling.  My wish is to to add vertices to the lines, so that each line will have vertices at intervals of (say) 500 metres. Does anyone know how to do this?  The background to this is that the grid will be displayed on OpenLayers and given the strangeness of Google Mercator the lines need to be pegged to the ground with vertices at frequent intervals. One other obvious use for the ability to add vertices to grid lines would also be to make nicely curved lat/lon graticules for projected maps.
82980
I'm new to QGIS and tried importing  (stops.txt). The project CRS, base map CRS and GTFS CRS have all been set to Google Mercator, but the points that are supposed to appear in Boston is now plotted in the middle of the ocean.  Did I miss out on something that messed up the import/plotting?
115029
I'm very new to GIS concepts. Is there a way or procedure of finding out whether the co-ordinate system is in UTM, latitude/longitude or in stateplane using .prj file?   My .prj file contains the following text:      GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS   84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
113332
I have a .csv file of coordinates that looks like this:        Is there a way for QGIS to plot coordinates formatted like this?  I've tried Adding a Delimited Text Layer... in QGIS, but do not see any options appropriate for this format:  Nxx.xx.xxx Wxxx.xx.xxx   I am able to use a  website to convert that data to Decimal Degrees, Degrees, Minutes &amp; Seconds, and UTM.  For example, inputting N39.56.854 W074.28.013 outputs a latitude of 39.947567, and longitude of -74.466883.  However, I would like to stay in QGIS and make the same conversion.  Things I've tried:   Created a new .csv that has formatting that matches the output of coordinate conversion site mentioned above, and with separated lat-long columns:     However, using the QGIS Add Delimited Text Layer... option yields no visualization of the points.
11592
I'm using QGIS 3.4.1, and I'm trying to print 61km x 61km area map of somewhere South Korea. Then I need to send this map with west / east latitude and north / south longitude info to other person, who need to do some work on that map. Here's what I did.   First, I set project CRS to EPSG 32652, WGS84 - UTM zone 52N, because most of South Korea is in the zone 52N.   Second, I load maps from Quick Map Service plugin, ESRI map from ArcGIS Map Server layer, Openlayers plugin. I also downloaded SRTM data using SRTM downloader, and also from CGIAR-CSI for double check.   Third, I found out that all of layers that I loaded or downloaded have CRS of EPSG 3857, WGS84 - Pseudo Mercator. I intuitively thought that they should have the same CRS with project CRS. So I changed CRS of all layers to project CRS, which is EPSG 32652, WGS84 - UTM zone 52N.   Then I found out something gone wrong seriously. Distance is distorted, grids, scale bar, and ruler show unusually shorter distance than it should be. In addition, I found that lat long coordinate shown from Lat Long tools plugin is really really off from real Lat and Long coordinate. For example, typical Lat Long position of Seoul is around 37.55 N, 127.03 E. However, Lat Long position from map after map CRS conversion shows around 8.45 N, -151.53 E. Moreover, all SRTM data layer moved to really strange position.   Just in case, I repeated the same procedure from QGIS 2.18 with on-the-fly CRS transformation option on. But the same symptom occur.   I think major problem here is the CRS, project CRS and layer CRS. I think my "I intuitively thought that they should have the same CRS with project CRS. " this part is wrong, but I can't understand.   Why should I need to use WGS 84 Pseudo-Mercator CRS for layers, while using WGS 84 UTM 52N CRS for project?   And I don't know what to tell my coworker, which CRS I used for this 61km x 61km area  map.
95487
I have 2D dataset on a layer (currently to British National Grid co-ordinates) and I'm trying to save it as a geojson file using WGS84 CRS and QGIS 3.10.10. This dataset needs to be transformed from the old model OSTN02 to the new OSTN15. Otherwise when I upload this dataset into a geoserver the data is offset. Also when using the WMS layer (basemap - Road 27700) from the Ordenance survey in QGIS is not displaying the data with new model OSTN15. Does anyone know why is this happening? What are the steps to do this transformation or is it just saving the layer, choosing OSTN15 CRS option, which I can't really see?
83518
I have an ESRI GRID file projected in MODIS-Sphere (here's the dataset ) that I need to convert to a WGS84 GeoTIFF.  I tried Raster > Projections > Warp (Reproject) and got this nonsense:   I then thought I'd use the MODIS reprojection tool or HEG to convert it, but they only accept HDF files and using QGIS' warp or translate functions to convert this file to HDF throwns an error. This guy was trying to do the same thing in Arc, no joy:   I looked for clues in the metadata, and the file seems a little goofy; gdalinfo yields:  Driver: AIG/Arc/Info Binary Grid Files: seto_uf        seto_uf.aux        seto_uf/.aux.xml        seto_uf/.DS_Store        seto_uf/dblbnd.adf        seto_uf/hdr.adf        seto_uf/log        seto_uf/metadata.xml        seto_uf/sta.adf        seto_uf/vat.adf        seto_uf/w001001.adf        seto_uf/w001001.tif        seto_uf/w001001.tif.aux.xml        seto_uf/w001001x.adf Size is 7468, 2911 Coordinate System is `' Origin = (-17345341.010356999933720,8423784.764957003295422) Pixel Size = (5000.000000000000000,-5000.000000000000000) Corner Coordinates: Upper Left  (-17345341.010, 8423784.765)  Lower Left  (-17345341.010,-6131215.235)  Upper Right (19994658.990, 8423784.765)  Lower Right (19994658.990,-6131215.235)  Center      ( 1324658.990, 1146284.765)  Band 1 Block=256x4 Type=Byte, ColorInterp=Undefined   Description = Seto_UF   Min=0.000 Max=101.000    NoData Value=255   So it can't determine the coordinate system.  There's a .tif included in the directory, but gdalinfo on that shows:  Driver: GTiff/GeoTIFF Files: w001001.tif        w001001.tif.aux.xml Size is 7468, 2911 Coordinate System is: GEOGCS["Unspecified datum based upon the GRS 1980 Authalic Sphere",     DATUM["unknown",         SPHEROID["unnamed",6371007,1]],     PRIMEM["Greenwich",0],     UNIT["degree",0.0174532925199433],     AUTHORITY["EPSG","4047"]] Origin = (-17345341.010356999933720,8423784.764957003295422) Pixel Size = (5000.000000000000000,-5000.000000000000000) Metadata:   AREA_OR_POINT=Area Image Structure Metadata:   INTERLEAVE=BAND Corner Coordinates: Upper Left  (-17345341.010, 8423784.765)  Lower Left  (-17345341.010,-6131215.235)  Upper Right (19994658.990, 8423784.765)  Lower Right (19994658.990,-6131215.235)  Center      ( 1324658.990, 1146284.765)    So it says the units are degrees but those huge corner coordinates and origin values don't agree.  Any ideas?  My setup: OSX 10.9.4 QGIS 2.6.1 Brighton GDAL 1.11.2 (apparently there are newer versions but this is the latest you can get on OSX without having to compile it yourself)
31100
WGS84 is a reference ellipsoid that determines coordinates of every point on Earth using latitude, longitude and height about the its surface.  This ellipsoid is often used as a base to make maps. Though, to make a map on a flat paper or a flat digital screen you need a projection too. An example of a popular projection would be UTM.   Mainstream GIS software give plethora of projection alternatives to display your data layers. Among them, they also let you display your data using WGS84 only.  I think they are using a certain projection but what projection is that?
85643
Is there a way of inserting Ordnance Survey grid reference in a print composer? I know that a grid can be created but I don't wish to insert a grid, I just to need to include the eastings and northings as a text string in the title block.