GeoMedia Discussions

Search for an answer, post a question, or answer other users' questions in our GeoMedia support discussions. This discussion board is a great way to collaborate with industry peers around the world. It is intended for discussion and support of the GeoMedia Desktop and Add-on applications.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Occasional Contributor
Posts: 13
Registered: ‎04-20-2020

symbols in GM

[ Edited ]

Hello everyone, 

I have a polygon feature layer, but I want to use point symbols that will fit in this polygons. 

I created a style that use one of the attribute for picking the right symbol from the library, but I can't solve size issue. 

I tried to calculate area of each polygon in order to use it as a size, but it didn't help. 

 

Maybe there is another way how to do that? 

I am attaching an example of data, library with style and .fsm library as well. 

Highlighted
Frequent Contributor
Posts: 131
Registered: ‎11-10-2015

Re: symbols in GM

Hi,

 

You can use functionnal attributes to calculate :

  • The 'size' of the geometry (length of the last segment of the square) : DISTANCE(FIRST(POINTS(Input.Geometry)); LAST(POINTS(Input.Geometry)))
  • The orientation of the first point of the geometry : ORIENTATION(FIRST(POINTS(Input.Geometry)))

Your legend entry must be defined in Paper mode

 

After that, you can use advanced properties of the style, and set :

  • 1000*Input.FisrtFunctionalAttributeName (for a 1/100 nominal scale because the value is in 0.01mm) in SIze
  • -Input.SecondFUnctionalAttributeName in Rotation

The result is :

Symbols.JPG

I can share the GWS if needed

 

Highlighted
Occasional Contributor
Posts: 13
Registered: ‎04-20-2020

Re: symbols in GM

Hi, thanks for the suggestion.

However, it creates smaller polygons inside bigger one (щту iside another). But I need to have parallel polygons inside bigger one.