Thanks for everyone's suggestions Using the punti.mbx didn't seem to work, not sure I used it correctly as all field names for entry were in Italian, but was probably the projection issue I had with the second method.
Andy's createpoint solution seemed to work well, once I had sorted the projection issue, although the correction figure needed to be -50 rather than -100 which moved the point to the centre of the square to the SW Gordon -----Original Message----- From: Andy Harfoot [mailto:[EMAIL PROTECTED] Sent: 01 August 2006 11:20 To: Barker, Gordon; [email protected] Subject: Re: [MI-L] Creating grid of points Hi Gordon, You're almost there, but I'd transform the closed regions created in Gridmaker (with 100m spacing) into points using a bit of mapbasic code in the Mapbasic window: 1. Open your closed region grid table into a map window 2. Open the mapbasic window (Options > Show MapBasic window) 3. Make sure Mapinfo works in the same coordinate system as your table by typing the following text into the MapBasic window on a blank line and pressing return (replace YourTableName with the name of the grid table): set coordsys table YourTableName 4. Replace each region with a point, offset from its centre by 100m in the x and y directions by typing the following text into the MapBasic window on a blank line and pressing return (replace YourTableName with the name of the grid table): update YourTableName set obj = createpoint(centroidx(obj)-100,centroidy(obj)-100) 5. Save the table - it should now show points at the 100m grid intersections. Andrew Barker, Gordon wrote: > Hi > > I am trying to create a grid with single points appearing at each of > the intersections of the horizontal and vertical lines. All attempts > that have come to mind so far have not worked correctly. Can anyone > please help? > > Desired result: > Single points appearing at 100m spacing related to British Grid 6 > figure grid references, (point would need to be at xxx,x00 m E, > xxx,x00 m N) > > Approaches already tried: > Gridmaker, Closed Regions (custom line style of single point at > start)- start point does not appear at corner but partly up side of > square Gridmaker, Straight Polylines followed by Enclose on lines > (style as > above)- Enclose mostly creates squares in a switchback sequence (N on > first column, S on 2nd etc)leaving points only appearing on every 2nd > column > > Approaches not tried: > Polyline split of every vertical with every horizontal line and vice > versa- 12x10km so too large by hand and don't have tool to automate > > > Thank you > > Gordon > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > _______________________________________________ > MapInfo-L mailing list > [email protected] > http://www.directionsmag.com/mailman/listinfo/mapinfo-l > -- Andy Harfoot GeoData Institute University of Southampton Southampton SO17 1BJ Tel: +44 (0)23 8059 2719 Fax: +44 (0)23 8059 2849 www.geodata.soton.ac.uk --------------------------------------- For further information about GeoData's Training Courses, please visit: www.geodata.soton.ac.uk/training --------------------------------------- ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ MapInfo-L mailing list [email protected] http://www.directionsmag.com/mailman/listinfo/mapinfo-l
