Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a few building blocks and land parcels in a dxf file that look like this

enter image description here

I am writing to a csv file using FME the following attributes:

land parcel number | xmin| xmax | ymin | ymax

The last four attributes correspond to the bounding box of each land parcel.

I want to add the attribute 'building block' to each land parcel. I.e. in the above example Γ251 (=autocad_string) should correspond to each land parcel shown.

land parcel number | xmin| xmax | ymin | ymax | building block name

Any ideas on how make this work?

share|improve this question
    
You are doing 2 things right? one is the csv, the other is adding the additional label into the autocad? –  U2ros Oct 9 '12 at 6:56
    
Why are you using PointOnAreaOverlayer? Are the parcels and the blocks not both areas? –  sgrieve Oct 9 '12 at 7:54
    
U2ros: it is producing a csv with the above mentioned attributes (land parcel number | xmin| xmax | ymin | ymax | building block name) –  Nik Oct 9 '12 at 8:08
    
sgrieve: In this dxf land parcels and building blocks are designed using autocad_lines, I then build areas in FME to retrieve the bounding boxes. –  Nik Oct 9 '12 at 8:13

1 Answer 1

up vote 3 down vote accepted

Okay, so for the xmin,xmax,ymin,ymax you will need boundsextractor (collects actual mmin/max of the feature) or boundingboxreplacer/extractor combined with bounds extractor.

From the picture i take it that buildings also have a polygon (+ text labels). So first thing i would do is join those labels with building polygons (pointonareaoverlay), then simply overlay buildings (with attribute building name) with parcels.

If you can post a sample dwg, i could make you a fme workspace

enter image description here

share|improve this answer
    
Sample dwg: skydrive.live.com/… –  Nik Oct 9 '12 at 14:02
    
Okay, i downloaded the sample file. Do i understand correctly: Yellow line represent parcels and small yellow labels represent parcel numbers (Layers: NidAir, NidOria), and big yellow label is a building block names and the green polygons represent building blocks? (One green polygon has no corresponding big label, just so you know) –  U2ros Oct 9 '12 at 16:08
    
Exactly. Yellow line represent parcels and small yellow labels represent parcel numbers (Layers: NidAir, NidOria), and big yellow label is a building block names and the green polygons represent building blocks. –  Nik Oct 9 '12 at 16:48
    
Okay, check out this first workspace to get you started: ge.tt/9MbItBP/v/0 Please note, that i used topolgybuilder-areabuilder because your dwg files contains lines. Unfortunetely this produces a few parcels that dont actually exist, so the final csv file needs to be cleaned up a bit, or, you need to have a dwg with closed polylines (best). Anyway, this should get you started into the right direction. Also, i produced i few shape files, so you can check intermediate results –  U2ros Oct 9 '12 at 17:48
    
I am using an FME build of 2010 (I cant use a topologybuilder). I am using the textproperty extractor for parcel strings and I add pointonAREAoverlay. For building blocks I am using again the TextProperty Extractor –  Nik Oct 10 '12 at 12:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.