Skip to main content
Question

How to get georeference for objects placed on Autocad paper space? Any parameter or format attributes?


arekpierchala
Contributor
Forum|alt.badge.img+1

Hi

I've got ACAD file and need to migrate objects placed by operator on autocad paper space. FME can read paper spaces (parameter 'Read Paper Space') but objects have got coordinates related to paper spaces. Is there something to get georelation for paper space and map data?

7 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • January 13, 2016

This is possible, although it is a little complicated and requires using FME 2016 beta. There are now viewport features in the paper space, which have a polygon geometry and attributes for the model space extents they cover.

- Use a PointOnAreaOverlayer or LineOnAreaOverlayer to transfer the viewport attributes to the paper space features within them, grouping by autocad_space.

- Use an Offsetter to offset the features by the negative of autocad_viewport_center_point_x and autocad_viewport_center_point_y.

- Use a Scaler to scale the features by the inverse of autocad_viewport_custom_scale.

- Use another Offsetter to offset the features by autocad_viewport_view_center_x and autocad_viewport_view_center_y

This process will work for simple top down viewports with no perspective.


arekpierchala
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • January 14, 2016

Thanks a lot. It works in FME2016beta.


arekpierchala
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • January 19, 2016

For full success for my data I've used additionaly Rotator (360-@Value(autocad_viewport_twist_angle)) before first offsetter and Offsetrer(autocad_viewport_resolved_target_x and y)) instead of autocad_viewport_view_center_ parameters


deanhowell
Influencer
Forum|alt.badge.img+23
  • Influencer
  • November 26, 2019
daveatsafe wrote:

This is possible, although it is a little complicated and requires using FME 2016 beta. There are now viewport features in the paper space, which have a polygon geometry and attributes for the model space extents they cover.

- Use a PointOnAreaOverlayer or LineOnAreaOverlayer to transfer the viewport attributes to the paper space features within them, grouping by autocad_space.

- Use an Offsetter to offset the features by the negative of autocad_viewport_center_point_x and autocad_viewport_center_point_y.

- Use a Scaler to scale the features by the inverse of autocad_viewport_custom_scale.

- Use another Offsetter to offset the features by autocad_viewport_view_center_x and autocad_viewport_view_center_y

This process will work for simple top down viewports with no perspective.

Hello @daveatsafe this is exactly what I am trying to do so was wondering if you have any examples you could provide to show how the above is done.


deanhowell
Influencer
Forum|alt.badge.img+23
  • Influencer
  • November 26, 2019
arekpierchala wrote:

For full success for my data I've used additionaly Rotator (360-@Value(autocad_viewport_twist_angle)) before first offsetter and Offsetrer(autocad_viewport_resolved_target_x and y)) instead of autocad_viewport_view_center_ parameters

Hello @arekpierchala, I know it was a while ago but just wondering if you might be able to share the workspace fundamentals on how you achieved the above as I am trying to do the same.


deanhowell
Influencer
Forum|alt.badge.img+23
  • Influencer
  • November 26, 2019

Here is what I did based on the instructions from @daveatsafe above. Thanks :)


gisbradokla
Enthusiast
Forum|alt.badge.img+16
  • Enthusiast
  • December 15, 2023

Or use the chspace command in autocad


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings