![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jul 2012
Posts: 2
![]() |
Hi all,
I would like develop the following methods, and for both method the main problem is the "irregular shape" of MGRS's between different zones. /** * Retrieves the four corners (as pairs of latitudine/longitude) of a MGRS square. * * @param mgrs the MGRS reference a square * @return vector of four corners of mrgs (each corner has a pair of latitudine/longitude), in the following order: * south-west, north-west, north-east, south-east */ public Angle[] retrieveMgrsBoundary(MGRSCoord mgrs) { return null; //TODO } /** * Retrieves a MGRS adjacent at a MGRS. * * @param mgrs the MGRS reference of a square * @param eastingOffset the distance of MGRS's square in east direction * @param northingOffset the distance of MGRS's square in north direction * @return the MGRS adjacent of mrgs * E.g.: * If both eastingOffset and northinOffset are zero, the MGRS returned is itself, * if eastingOffset is -1 and northingOffset is 0, the MGRS returned is the MGRS immediately on the left. */ public MGRSCoord retrieveMgrsNeighbouring(MGRSCoord mgrs, int eastingOffset, int northingOffset) { return null; //TODO } Do you have any hints/suggestions to implement above methods in the better way? Thanks in advance, Gabriele |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Aug 2012
Posts: 1
![]() |
Hey Gabriele. I would like to ask you, if you had solution for you problem. I am searching for something similar.
Cheers Paweł |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|