Skip to main content
Question

gml: circle uom


Hello, I am trying to read AIXM 5.1 using FME.

 

I am using the Hungary eAIP data sample (https://code.google.com/p/openaviationmap/wiki/Downloads)

 

 

When I try to read or translate some of the airspaces that are defined by gml:CircleByCenterPoint, FME ignores units of measure for the radius and always takes the radius in degrees of lat/long - ergo if my center point has lat 10°, long 10° and radius 10, FME generates a circle that touches the 0°and 20°meridians and 0°and 20° parallels. Any idea what might be wrong with setting the units of measure?

 

Can it also have something to do with the coordinate system set in srsName of the surface?

 

 

Thanks for any replies

 

 

Example:

 

<aixm:theAirspaceVolume>

 

                        <aixm:AirspaceVolume>

 

                           <aixm:upperLimit uom="FT">4000.0</aixm:upperLimit>

 

                           <aixm:upperLimitReference>MSL</aixm:upperLimitReference>

 

                           <aixm:maximumLimit xsi:nil="true"/>

 

                           <aixm:maximumLimitReference xsi:nil="true"/>

 

                           <aixm:lowerLimit uom="FT">0.0</aixm:lowerLimit>

 

                           <aixm:lowerLimitReference>SFC</aixm:lowerLimitReference>

 

                           <aixm:minimumLimit xsi:nil="true"/>

 

                           <aixm:minimumLimitReference xsi:nil="true"/>

 

                           <aixm:width xsi:nil="true"/>

 

                           <aixm:horizontalProjection>

 

                              <aixm:Surface srsName="urn:ogc:def:crs:EPSG:4326">

 

                                 <gml:patches>

 

                                    <gml:PolygonPatch interpolation="planar">

 

                                       <gml:exterior>

 

                                          <gml:Ring>

 

                                             <gml:curveMember xlink:type="simple">

 

                                                <gml:Curve>

 

                                                   <gml:segments>

 

                                                      <gml:CircleByCenterPoint interpolation="circularArcCenterPointWithRadius" numArc="1">

 

                                                         <gml:pos>47.36388888888889 17.500555555555554</gml:pos>

 

                                                         <gml:radius uom="M">1000.0</gml:radius>

 

                                                      </gml:CircleByCenterPoint>

 

                                                   </gml:segments>

 

                                                </gml:Curve>

 

                                             </gml:curveMember>

 

                                          </gml:Ring>

 

                                       </gml:exterior>

 

                                    </gml:PolygonPatch>

 

                                 </gml:patches>

 

                                 <aixm:horizontalAccuracy xsi:nil="true"/>

 

                              </aixm:Surface>

 

                           </aixm:horizontalProjection>

 

                           <aixm:centreline xsi:nil="true"/>

 

                           <aixm:contributorAirspace xsi:nil="true"/>

 

                        </aixm:AirspaceVolume>

3 replies

webservicessia
Contributor
Forum|alt.badge.img+1

 

Similar issue when extracting the geomrty to _geometry. The uom disappeares.

 


mark2atsafe
Safer
Forum|alt.badge.img+43
webservicessia wrote:

 

Similar issue when extracting the geomrty to _geometry. The uom disappeares.

 

@webservicessia - probably best to record this as a new question. Comments on an old question rarely get answered. It's hard to spot the comment sometimes.

 


stalknecht
Contributor
Forum|alt.badge.img+19
  • Contributor
  • July 23, 2017

If you define the right coordinate-system EPSG:4326 then you should be able to generate the correct circles.

 

By the way I can't download any examples on your given link: https://code.google.com/p/openaviationmap/wiki/Downloads

Can you provide a complete example file?


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