Questions tagged [mgrs]

Military grid reference system (MGRS) is the geocoordinate standard used by NATO militaries for locating points on the earth.

Filter by
Sorted by
Tagged with
1 vote
0 answers
118 views

Add grid label to QGIS layout from shapefile

I have a GRID shapefile with calculated MGRS coordinates. I am trying to display them in the QGIS print layout and place them on the map edges. It will look similar to standard QGIS grid creation. Is ...
Losbaltica's user avatar
  • 1,469
1 vote
1 answer
203 views

Knowledge Check - Military Grid Reference System (MGRS)

I was hoping to sense check what I'm seeing as I don't understand! What I'm trying to do My ultimate objective is to create shapefiles to represent the Military Grid Reference System (MGRS) to a ...
lummers's user avatar
  • 139
1 vote
0 answers
436 views

Labeling MGRS grid indeces in QGIS

I am trying to label the 1000m MGRS lines on my custom 24k maps, using QGIS. I know that I need to use a custom expression to do this but can't figure out how to write it to get them to look like this ...
Miles Thompson's user avatar
-1 votes
1 answer
162 views

MGRS: Algorithms for getting all the 100km squares in a Grid zone designator

I have an MGRS grid zone designator (i.e. 12S), and need to determine if a given 100km square identifier (ie WA, WH) is contained in that zone designator. Alternatively, a method for getting all of ...
ui_guy's user avatar
  • 1
1 vote
1 answer
315 views

Importing MGRS data to QGIS

In QGI 3.16.5-Hannover on my MacOS 10.15.1, I have a CSV file with MGRS coordinates of the distribution of some species in a country. These are CGRS cell references for 50km cells (I already have the ...
leyre's user avatar
  • 11
1 vote
0 answers
189 views

Is there a piecewise-UTM coordinate system?

Is there an EPSG code, WKT or a proj4 string, for a single global piecewise-UTM coordinate system such as MGRS (the NATO military grid reference system)? I suppose this would work similar to the ...
benjimin's user avatar
  • 476
1 vote
0 answers
65 views

Total number of cells on each MGRS grid level

I'm trying to figure out how MGRS grid looks like in a whole. I've already read wiki page and some articles but still didn't find the answer to my question. As I understand: level (100 × 100 km ...
Max Mikhalchuk's user avatar
1 vote
0 answers
458 views

Editing dynamic text in ArcGIS Pro to get 100k Grid zone labels?

While making maps with MGRS I need to have a label in each corner of the map frame with the 100k grid square labels. So far i have updated them manually, but after i've started using ArcGIS Pro i ...
Philipsen's user avatar
0 votes
0 answers
348 views

Import MGRS vector (old projection) to QGIS

I have large Excel tables of MGRS coordinates. These data were recorded from grid references based on maps created in India 1960 projection. Is there any way to import these into QGIS to a) visualise ...
Vin's user avatar
  • 1
0 votes
0 answers
65 views

MGRS Grid Lines? [duplicate]

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 ...
Traveler's user avatar
1 vote
0 answers
515 views

Mapbox drawing with snap to grid

I'm using Mapbox for a web project and would like to have a drawing tool for closed polygons where the drawn line is always snapped to a grid. Specifically, I'm using a 100m global grid (MGRS) and ...
SAR622's user avatar
  • 121
1 vote
1 answer
327 views

Error during MGRS conversion for large latitudes

I'm using Nasa's Worldwind java API to convert MGRS strings to lat/lon. However, when my latitude is greater than 85 degrees or less than -85 degrees I get an error. java.lang....
nanotek's user avatar
  • 113
2 votes
0 answers
1k views

Create an UTM/MGRS graticule/fishnet in Python

Following Creating square grid polygon shapefile with Python?, I'd like to create an UTM or MGRS graticule in python. In the mentioned question the given answer gives me a way to generate a grid but I ...
raggnic's user avatar
  • 141
2 votes
3 answers
1k views

Programmatically extract edge points from many polygons?

Objective: Extract the four Latitude, Longitude points which correspond to the corner edges of each polygon in the Military Grid Reference System (MGRS) shapefile. How can this be done in QGIS? In ...
qgistester's user avatar
0 votes
1 answer
513 views

Range of easting value for each MGRS zone(UTM zone)

From MGRS grid reference which also can be found from https://www.maptools.com/tutorials/100km_square_id , the minimum column id for the first zone is 'A' and it's given when easting is smaller than ...
slyx's user avatar
  • 125
1 vote
0 answers
436 views

Offline MGRS Nearby [closed]

Is there anyone of us here experienced to use the Mgrs Nearby http://www.nearby.org.uk/google/Gridlines_mgrs.kml.pl in googleEarth Pro? It is a helpful .kml specially to navigators because it ...
GridZone's user avatar
  • 115
1 vote
1 answer
1k views

Update MGRS coordinates in Attribute table

How can I update MGRS coordinates in the attribute table of a point feature, when the position of points has been added without using a tool that creates a new feature? I am not using a special ...
Tobias_Terra's user avatar
1 vote
0 answers
2k views

Add MGRS custom Coordinate Reference System to QGIS

I am looking for a way to add MGRS custom Coordinate Reference System to QGIS. How do I get the Proj.4 cartographic parameters for Military Grid Reference System (MGRS) to add via Settings >> Custom ...
Umar Yusuf's user avatar
5 votes
1 answer
8k views

Adding MGRS grid in QGIS

I'm trying to generate a Military Grid Reference System (MGRS) grid on QGIS (with polygons in a scale of 100m), such a grid will be similar to when importing a grid made of shapefiles (such as http://...
mapikn's user avatar
  • 51
0 votes
0 answers
577 views

Military Grid Reference System Grid as Shapefile/FeatureClass

Is it possible to create a Military Grid Reference System (MGRS) Grid for a complete grid zone at a given precision level, for example 10km, as a Shapefile/FeatureClass with ArcGIS 10.4?
Tobias_Terra's user avatar
1 vote
0 answers
5k views

How to convert from lat-lon to UTM with gdaltransform?

I would like to transform the following coordinates 31.96212 -103.004715 to UTM with gdaltransform. I put coordinates into file coordinates.txt and ran gdaltransform -s_srs epsg:4326 -t_srs epsg:...
Dims's user avatar
  • 571
11 votes
2 answers
800 views

Cannot find NATO UTM location in Sentinel-2

Regard coordinates 31.96212, -103.004715 UTM converters give it's UTM coordinates are 13/R/FR. Example converter is here: http://www.rcn.montana.edu/resources/converter.aspx But there are many of ...
Dims's user avatar
  • 571
0 votes
3 answers
747 views

What are properties of tile geometry of Sentinel data?

I have downloaded sample tile from http://sentinel-s2-l1c.s3-website.eu-central-1.amazonaws.com/#tiles/10/S/DG/2015/12/7/0/ and found tileInfo.json file with the following information "...
Dims's user avatar
  • 571
1 vote
1 answer
3k views

Where is UTM origin?

It is said, that The 6° wide UTM zones, numbered 1–60. But where is the origin? Zone 1 is from longitude [-3..+3], [0..6], [-180..-174]? Where is it said?
Dims's user avatar
  • 571
4 votes
1 answer
543 views

military grid refrence system geocode reverse

I have lat/long and I get geocode like 34TCK9320739642 from mgrs geocode reverse in arcmap how can convert that to address (country.city.state)
user91599's user avatar
1 vote
1 answer
859 views

Displaying MGRS grid when area crosses 2 UTM Zones in ArcGIS Desktop?

I need to map an area that crosses 2 UTM zones with ArcGIS for Desktop. After having defined the Data Frame projection according one of the two UTM zones involved, I have noticed that the MGRS labels ...
Andreampa's user avatar
  • 720
1 vote
0 answers
573 views

MGRS(Military Grid Reference System) reverse geocode in ArcMap? [closed]

How can we reverse geocode MGRS (military grid reference system) strings in ArcMap? MGRS strings use alphanumeric notation to identify a location on the earth. For example, I have 34TCK9320739642. ...
user91599's user avatar
12 votes
3 answers
7k views

Finding Sentinel tile for specific Long/Lat coordinate

I'm building a tool that downloads images from "Sentinel-2 on AWS" I have a trouble translating Long/Lat coordinates to a specific Sentinel tile. I know that Sentinel 2 uses MGRS and I tried to ...
GetUsername's user avatar
2 votes
0 answers
264 views

Finding adjacent MGRS blocks/grids?

My requirement is that, say I'm given a MGRS grid (100mX100m), I now need the IDs of all the 8 MGRS grids around the one that was given. One way that is being suggested is as follows. Compute the ...
user1472309's user avatar
1 vote
1 answer
827 views

Getting test data for Lat/Lng -> MGRS/USNG and UTM, and Geotrans rounding errors

I'm making an MGRS overlay plugin for leaflet. To help with this, I've been using some of the leaflet mosue coordinate plugins. But they have occasional math errors. So I want to write some unit tests ...
mtfurlan's user avatar
  • 111
7 votes
4 answers
3k views

Is there an algorithm to calculate MGRS grid lines?

I am looking for a utility to calculate MGRS grid lines, or at least an algorithm. I would like to draw MGRS grid lines on a google or leaflet map. Seems like most of what I find are shapefiles/...
lostintranslation's user avatar
0 votes
3 answers
3k views

javascript .match to check for right coordinate format

I am using javascript .match to check and correct right coordinate format after user writes it in textbox. Working example: input: lat=57.000000, long=24.000000 code: match(/(\d{2}).(\d{4,9})/gi) ...
Winter's user avatar
  • 27
1 vote
1 answer
263 views

ArcGis Javascript

I am trying to make map, that on mouse over displays the mgrs coordinates. Example map with lat, long: https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=map_xycoords I know ...
Winter's user avatar
  • 27
2 votes
0 answers
311 views

How to obtain MGRS 100Km square id for every such square on world map?

I'm trying to compile a list of MGRS 100km square identifiers for every such square (eg 4QFJ for Honolulu Hawaii); excluding the poles (85 to -85 latitudes). If possible it'd also be great to know ...
rclark's user avatar
  • 129
0 votes
1 answer
533 views

50 m precision in MGRS

My requirement is to plot 50m*50m blocks on map and I was going through MGRS(https://en.wikipedia.org/wiki/Military_grid_reference_system) It says Truncate, don't round Is it possible to achieve 50m ...
banjara's user avatar
  • 111
1 vote
1 answer
119 views

Aggregating data in 100m*100m blocks on map

I get customer lat long from an app and my use case is I need to display number of users present in 50m*50m or 100m*100m(deployment time decision) blocks on map. Some what like below image. No zoom ...
banjara's user avatar
  • 111
3 votes
2 answers
2k views

Finding adjacent grid squares in MGRS/USNG

Given an MGRS grid reference, for example 4QFJ123678 (100m precision), is there a good way to obtain the adjacent squares (north, south, east and west) from that origin square? Is it better to ...
Matt's user avatar
  • 181
1 vote
0 answers
402 views

Difficulty with python package mgrs by Howard Butler

I am developing an app in python and I am trying to import Howard Butler's mgrs package. I am using setuptools to install the package. It does not find the setuptools library module. I have tried ...
Sharon Litteral's user avatar
1 vote
2 answers
1k views

Converting MGRS Coordiantes To DD or UTM gives ERROR 999999?

I am trying to convert MGRS coordinates to something that I can add into ArcGIS 10.2 I have a DBF file with MGRS coordinates that look like this: 11UNG37756325 They are in a text field and I am ...
Calavin's user avatar
  • 869
1 vote
1 answer
11k views

convert lat long coordinates in a table to MGRS

I have an Excel table with lat and long coordinates in separate fields. Now I'd like to convert these fields into a third field with its MGRS coordinate. Any suggestions of how?
oskarlin's user avatar
  • 1,941
6 votes
3 answers
4k views

Convert UTM northing and longitude to latitude

I am doing some work with the Military Grid Reference System (MGRS), which is based on Universal Transverse Mercator (UTM). I find that I need to convert from UTM northing and longitude (actually, ...
kamorrissey's user avatar
1 vote
1 answer
2k views

Test of ORACLE DB functions converting lat-long to utm and mgrs with real data known to be correct?

I have rewritten some Delphi function to ORACLE DB functions for converting from lat-long to utm and mgrs. Anyone care to validate the output with real data they know is correct? package ...
wittrup's user avatar
  • 111
0 votes
1 answer
1k views

How to label each gridsquare in MGRS grid individually using ArcGIS for Desktop?

I want to be able to generate an MGRS grid of arbitrary resolution (say, 1km or 100m) and have each grid square individually labeled with its full MGRS coordinate. This was easy enough to do with the ...
gromple's user avatar
3 votes
0 answers
967 views

MGRS square identifier to polygon

I'm looking for a function/formula/library that basically takes a MGRS square identifier such as 4QFJ16 and returns me the coordinates of the 4 corners of this polygon in some simple form such as EPSG:...
niconoe's user avatar
  • 203
3 votes
1 answer
5k views

Generating Map Tiles for MGRS Grid Graticule?

I'm possibly a bit out of my league here, but ready to get my hands dirty. I want to generate map tiles for a MGRS grid graticule similar to http://tiles.mapbox.com/mapbox/map/afghanistan-mgrs. I ...
Ben Holland's user avatar
6 votes
1 answer
4k views

MGRS in OpenLayers

I am trying to view the Military Grid Reference System coordinates in Openlayers through the MousePosition control. Is there an easy way to accomplish this just through Javascript? I am looking at the ...
Kyle's user avatar
  • 117
8 votes
5 answers
34k views

Converting MGRS to Lat/Lon or UTM

How can I convert Military Grid Reference System (MGRS) to lat/lon or UTM?
Rahul's user avatar
  • 81
3 votes
2 answers
1k views

Detecting MGRS/UTM zone?

I posted a similar question as an answer on Stack Overflow, and it was recommended that I ask here instead. I am developing an open-source library for converting between coordinate systems, and I've ...
beatgammit's user avatar