--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en
---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sorry all,
This was a really poorly written request.

If you require specific IACS or Rural Land Register field nu
Thanks for the leads Seb.
I will give them a call.
Rob.
Tom,
I found that I needed to go down to 1 km sheet identifiers, and it all seems relatively easy except to get the lower left hand coordinates of the 100km Letter. I can them construct the coordinates from the rest of the number.
I merged the data that you gave me on the first 2 letters, set the projection to be the British National Grid and looked for the minimum x and min y of the objects, but they don’t look right.
I could round them possibly, but am not sure if this is the way to go. Any suggestions?
Seb, the lookup table that you referred to would probably work?
R
HP 399999.99 1200081.08
HT 300038.76 1098657.08
HU 399900.2 1100075.32
HW 100537.93 993547.21
HX 200215.97 996117.52
HY 300036.07 998704.1
HZ 400000 1000070.02
NA 924.935 891321.93
NB 100501.07 893764.24
NC 200201.14 896275.97
ND 300033.56 898780.59
NF 866.989 791660.24
NG 100467.87 793925.75
NI 300025.94 598867.98
NJ 300052.17 798788.88
NK 399901.03 800060.79
NL 805.011 691939.52
NM 100440.04 694122.39
NN 200175.28 696496.41
NO 300029.34 698891.59
NR 100411.54 594309.39
NS 200163.76 596612.53
NU 399901.7 600050.81
NW 121332.3 491505.73
NX 200153.03 496658.18
NY 300025.58 498904.88
NZ 399999.98 500051.82
SC 200146.03 396831.47
SD 300023.94 398869.25
SE 400000.02 400046.28
SH 200133.98 296859.15
SJ 300023.88 298974.25
SK 400000.02 300043.35
SM 100309.13 195052.14
SN 200128.52 197029.06
SO 300021.02 199007.03
SP 399999.98 200040.62
SR 100294.02 95208.75
SS 200117.74 97048.62
ST 300019.72 99038.37
SU 400000.02 100038.02
SV 512.46 -6474.73
SW 100271.59 -4636.97
SX 200111.49 -2787.96
SY 300018.44 -931.084
SZ 399999.81 35.679
TA 497877.59 400185.3
TF 497945.27 300177.45
TG 595794.27 300389.03
TL 498009.95 200162.34
TM 596022.52 200364.44
TQ 498071.65 100148.5
TR 596241.33 100341.59
TV 498130.42 146.477
From: Thomas Bacon [mailto:Thomas...@mouchel.com]
Sent: Tuesday, 3 February 2015 9:54 PM
To: Robert Crossley
Subject: RE: [MI-L] IACS Compliant Field Numbers
Rob,
Yes that’s right, the cells are referenced by their lower left corner and are referenced to the 1K sheet (in 5k increments). I thought I had the code I used to generate this kicking around somewhere but unfortunately I can’t seem to find it. Anyway, I hope this helps.
BR,
Tom Bacon
GIS Engineer, Mouchel
T 01444 472380 │ E thomas...@mouchel.com │ W www.mouchel.com
Our values: innovation │ excellence │ integrity │ responsibility
From: Robert Crossley [mailto:rob...@agtrix.com]
Sent: 03 February 2015 10:50
To: Thomas Bacon
Subject: RE: [MI-L] IACS Compliant Field Numbers
Thanks Thomas,
This looks pretty close to what is needed. It seems that the grid you have produced is the grid down to the 1K sheet of the code.
It seems that if I open your table, and project it in the British National Grid, the grid cell TF4015 represents the cell with the bottom left corner as 540000, 315000.
I could use the file that you have provided to find the coordinates of the lower left corner of the 1KM sheet, and then could pull the next two numbers from the ACIS number to get the rest of the x and y coordinates to find the 10m grid.
Great lead.
Rob.
From: Thomas Bacon [mailto:Thomas...@mouchel.com]
Sent: Tuesday, 3 February 2015 9:19 PM
To: Robert Crossley
Subject: RE: [MI-L] IACS Compliant Field Numbers
Hi Rob,
I have a 5k UK grid table with the National Grid references in both this format (NA09NE) and this (NA0595) which I made a while back. I’ve attached a copy if it helps. It’s not quite down to the 10m resolution you’re looking for but it might be a start?
Regards,
Tom Bacon
GIS Engineer, Mouchel
T 01444 472380 │ E thomas...@mouchel.com │ W www.mouchel.com
Our values: innovation │ excellence │ integrity │ responsibility
|
Mouchel Limited (Mouchel) is registered in England and Wales with registered number 01686040 at Export House, Cawsey Way, Woking, Surrey, UK, GU21 6QX. The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. Any views or opinions expressed in this e-mail may be solely those of the author and are not necessarily those of Mouchel. No contracts may be concluded on behalf of Mouchel by means of email communications. Mouchel reserves the right to monitor and intercept emails sent and received on our network. |
| NA | 09 |
| NB | 19 |
| ND | 39 |
| NF | 08 |
| NG | 18 |
| NH | 28 |
| NJ | 38 |
| NJ | 38 |
| NK | 48 |
| NM | 17 |
| NN | 27 |
| NO | 37 |
| NP | 47 |
| NR | 49 |
| NR | 16 |
| NS | 26 |
| NT | 36 |
| NU | 46 |
| NV | 29 |
| NW | 15 |
| NX | 25 |
| NY | 35 |
| NZ | 45 |
| SC | 24 |
| SD | 34 |
| SE | 44 |
| SH | 23 |
| SJ | 33 |
| SK | 43 |
| SM | 12 |
| SN | 22 |
| SO | 32 |
| SP | 42 |
| SR | 11 |
| SS | 21 |
| ST | 31 |
| SU | 41 |
| SV | 00 |
| SW | 10 |
| SX | 20 |
| SY | 30 |
| SZ | 40 |
| TA | 54 |
| TF | 53 |
| TG | 63 |
| TL | 52 |
| TM | 62 |
| TQ | 51 |
| TR | 61 |
| TV | 50 |
Rob,
Yes, that’s definitely not quite right. I remember how I made this now – I used the grid maker tool that comes with MapInfo. I’ve just tried it again and it seems to not fit itself perfectly to the extent coordinates I feed into it. Strange.
Seb’s lookup table is probably the easiest way to go. I’m going to have to take a look at this at some point and just write some code to generate my own grid rather than using grid maker I guess.
No virus found in this
message.
Checked by AVG - www.avg.com
Version: 2014.0.4800 / Virus
Database: 4257/9049 - Release Date: 02/03/15
Thanks,
The key function that I need now is to get the minx and miny values of the 100K tile referred by the 2 letter code. Currently I am just getting it from the objects of the map sheets that I created from the file that Tom gave me, which is not quite accurate.
I can see the answer is in the supplied code, especially after reading the brochure of how it is constructed, but it just might be too late at night to reverse the code to get the coordinates for the Sheet Letters.
I will try tomorrow unless a straighter answer comes up.
Code so far:
'Open the field reference data table up and write the 2 letter code from the IACS code
Close All Interactive
Open Table "D:\Data\FMapData\Agdat_fammap\ABSUGAR\ANalysis_2015_Season\V_fields.TAB" Interactive
Commit Table V_fields As "D:\Data\FMapData\Agdat_fammap\ABSUGAR\ANalysis_2015_Season\V_fields_Locations.TAB" TYPE NATIVE Charset "WindowsLatin1" Interactive
Open Table "D:\Data\FMapData\Agdat_fammap\ABSUGAR\ANalysis_2015_Season\V_fields_Locations.TAB" Interactive
Alter Table "V_fields_Locations" ( add Grid100KLetter Char(2),NA0595_X Integer,NA0595_Y Integer,Lat Float,Long Float ) Interactive
Update V_fields_Locations Set Grid100KLetter = Left$(IACS_of_Field,2)
Commit Table V_fields_Locations Interactive
Open Table "D:\Data\FMapData\Agdat_fammap\ABSUGAR\ANalysis_2015_Season\BNG_Grid_100K.TAB"
Browse * From V_fields_Locations
'Update the coordinates to be lower x and y of the 100K map sheet based on the first 2 leters of the code
'And then add the appropriate offsets to this point based on the numbers in the IACS code
Set CoordSys Earth Projection 8, 79, "m", -2, 49, 0.9996012717, 400000, -100000
Add Column "V_fields_Locations" (NA0595_X )From BNG_Grid_100K Set To ObjectGeography(Obj,OBJ_GEO_MINX) Where Grid100KLetter = Sheet100K
Update V_fields_Locations Set NA0595_X = NA0595_X + Val(Mid$(IACS_of_Field,3,2))*1000 + Val(Mid$(IACS_of_Field,7,2))*10
Add Column "V_fields_Locations" (NA0595_Y)From BNG_Grid_100K Set To ObjectGeography(Obj,OBJ_GEO_MINY) Where Grid100KLetter = Sheet100K
Update V_fields_Locations Set NA0595_Y = NA0595_Y + Val(Mid$(IACS_of_Field,5,2))*1000 + Val(Mid$(IACS_of_Field,9,2))*10
Commit Table V_fields_Locations Interactive
Browse * From V_fields_Locations
'Create the points from the x and y coodinates, and then create a polygon the size of the planted area
Create Map For V_fields_Locations CoordSys Earth Projection 8, 79, "m", -2, 49, 0.9996012717, 400000, -100000
Update V_fields_Locations Set Obj = CreatePoint(NA0595_X, NA0595_Y)
Update V_fields_Locations Set Obj = Buffer(Obj,12,SQR(10000*Drilled_Area/3.14159),"m")
Map From V_fields_Locations
Set Map Zoom Entire Layer 1
Seb,
Am I correct in understanding that I use the numbers in the following way?
If I have a code of NB, the min x coordinate is 100,000 and min y is 900,000?
Rob