- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I am a Map newbie with respect to using the database functions (I use it a lot for coordinate transformations and to import and modify the style of shapefiles from within Civil3D), and I am looking for a way to achieve the following goal.
I have two sets of data: a set of points representing olive trees (SDF file with just the FeatID ,X and Y coordinates), and a series of polygons representing cadastral boundaries (SHP file with FeatID, COD_COM, FOGLIO and NUMERO as feature properties).
(I am attaching a screenshot, in magenta the points representing the trees)
I need to come up with a table like the following
FeatID | X | Y | COD_COM | FOGLIO | NUMERO |
1 | 627926,42769792 | 428220,85510042 | D852 | 2 | 136 |
2 | 627867,93196078 | 428223,39710665 | D852 | 2 | 137 |
3 | 627863,46500213 | 428222,88577384 | D852 | 2 | 138 |
4 | 627864,69357327 | 428221,97341779 | D852 | 3 | 254 |
5 | 627855,37218352 | 428221,71465069 | D852 | 3 | 255 |
6 | 627881,59115171 | 428222,45224029 | D852 | 3 | 256 |
7 | 627880,29642674 | 428223,24827329 | D852 | 3 | 257 |
8 | 627898,68089127 | 428222,89874038 | D852 | 3 | 258 |
9 | 627890,32975771 | 428222,67887291 | D852 | 4 | 120 |
10 | 627900,17092755 | 428222,04463982 | D852 | 4 | 121 |
11 | 627899,65114745 | 428221,20350580 | G517 | 21 | 383 |
12 | 627911,24066853 | 428221,39123880 | G517 | 21 | 384 |
13 | 627881,78331283 | 428221,07835047 | G517 | 21 | 385 |
14 | 627890,45576500 | 428220,90358402 | G517 | 30 | 211 |
15 | 627873,30302179 | 428221,46020577 | G517 | 30 | 220 |
16 | 627935,47502180 | 428221,02610846 | G517 | 30 | 311 |
17 | 627942,59758422 | 428221,22023076 | I872 | 7 | 68 |
18 | 627934,63392309 | 428221,95143105 | I872 | 7 | 69 |
19 | 627944,34278528 | 428222,13916404 | I872 | 10 | 310 |
20 | 627839,36610671 | 428221,47523945 | I872 | 10 | 383 |
So the question is,
is it possible to add attributes to individual points, making them inherit them from the polygon they are enclosed in?
Attached are the files I'm working on.
If you think of a different way to get to the same result (the table, structured as above) any proposal is welcome. Thanks a lot to those who want to help me.
Solved! Go to Solution.