Skip to main content
Question

Hello. I have some 2d points in a GML file and want to create some vertical cylinders in their positions.


n.d
Contributor
Forum|alt.badge.img+7
  • Contributor

I thought I should have two lists, one with the current Xs and Ys and another with the same Xs and Ys and some defined heights as their Zs. And then make some lines between these two lists and after that make the cylinders.

Can anybody help me to implement it?

17 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+35

The workflow your probably looking for is as follows.

 

Bufferer (pick radius) >3DForcer (set base z height e.g., 0m for ground) > Extruder (define the height of the cylander).

 

The GML reader should bring in your points correctly but you might need to play around with the settings if not.


n.d
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • July 7, 2023
virtualcitymatt wrote:

The workflow your probably looking for is as follows.

 

Bufferer (pick radius) >3DForcer (set base z height e.g., 0m for ground) > Extruder (define the height of the cylander).

 

The GML reader should bring in your points correctly but you might need to play around with the settings if not.

Thanks for your help. Should I change the coordinate system after reading the data?

 


virtualcitymatt
Celebrity
Forum|alt.badge.img+35
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

ah yeah sorry for not replying before. You will need to make sure that the units of your data are in meters (or feet) rather than LatLong. So you may need to reproject but it will depend on the data.


n.d
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • July 7, 2023
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

Thanks. And for having some spheres on the top of the cylinders, which approach do you recommend?


virtualcitymatt
Celebrity
Forum|alt.badge.img+35
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

The bufferer can also buffer points into Solids -Just change the buffer type to Solid. If you want the sphere to be on top of the cylinder than you will need to create a point in the place you want the center of the sphere. This could be done by using an Offsetter to move the original points in the positive Z direction by the height Value


n.d
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • July 7, 2023
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

Great. and for colorizing the surfaces, should I use SurfaceColorSetter?


n.d
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • July 10, 2023
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

Hello. I would be very grateful if you answer my question about colorizing.


mattsmillie23
Participant
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

Did the SurfaceColorSetter work?


n.d
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • July 10, 2023
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

The process of creating these spheres takes a very long time. Is it normal? I have 200,000 points and it is taking one second for each...


virtualcitymatt
Celebrity
Forum|alt.badge.img+35
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

The 3DBuffer can be pretty slow - yeah.


n.d
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • July 10, 2023
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

And there is no faster way?


virtualcitymatt
Celebrity
Forum|alt.badge.img+35
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

heh! there is often a faster way, however, it depends on how much time you have to experiment, test and play around. It will also likely end up a lot more complex and unstable.


n.d
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • July 10, 2023
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

Is there any Parallel Processing solution?

 


virtualcitymatt
Celebrity
Forum|alt.badge.img+35
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

https://community.safe.com/s/article/parallel-processing


n.d
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • July 10, 2023
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

That's a great way. Thanks. I want to export the geometries as an IFC file, but the written file is emty. Would you please help me to solve it?


virtualcitymatt
Celebrity
Forum|alt.badge.img+35
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

Check the FME log file for any warnings towards the and and try to address the issues. IFC I think can be pretty annoying to work with in FME (like CityGML) but I'm not really familiar with it as much as other formats


n.d
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • July 11, 2023
n.d wrote:

Thanks for your help. Should I change the coordinate system after reading the data?

 

Hi, Let's think out of the box. I just want to use these geometries in the BIM processes. Could you recommend the optimal file format for the exporting procedure? (Considering that the imported file format is GML)


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