|
Product: MapInfo
Version: 4.x\5.x\6.x
Platform: Win9x\NT\2000
Category: Object Manipulation
Summary:
Converting node locations to point
locations.
Question:
How can X/Y values be determined for node
locations that could be then be used to Create Points?
For instance, other than using the Symbol
Button and manually clicking at every location, is there an easier way to
place points on top of every node for the boundary of a polygon?
Answer:
One solution would be to write a MapBasic
program to do this. If that isn't possible, here is another solution:
1. Select the polygon.
2. Choose Table>Export. Choose Selection
and click Export. Give the selection a name and save it as MapInfo
Interchange Format (.MIF).

3. Choose Start>Programs>Accessories
and open Notepad. In Notepad, choose File>Open and choose all files
instead of text from the file type dropdown.

Find the table with the .MIF extension and
open the file.
4. Copy all the coordinate pairs and paste
them into a new Notepad file(any text editor can be used here).


Save the file with a .TXT extension.
5. In MapInfo, choose File>Open Table and
open the table as type Delimited ASCII (*.txt).

6. In the next dialog, select Other and
highlight the box. Then, press the spacebar on the keyboard. This will select
a blank space for the delimiter and open the table as a read-only browser
containing two columns.

7. Now, choose Table>Create Points and
create points using these columns for the X and Y values.
(To make the table editable, choose
File>Save Copy As and select the table and click Save As. Give the table a
new name and click save. Then, close the original table and open the copy
that was just created.)
Last Modified: 01/26/2001 02:07:24 PM
|