Hello,

I am investigating a lot in moving objects. I found out that in GML it
is possible to support that type of objects (gml:TimeSlice and
gml:MovingObjectStatus).
As an example I created a dynamic feature with following structure. I
strived for using as much standard elements from the GML specfication.

<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection>
  <gml:boundedBy>
    <gml:Envelope srsName="urn:EPSG:geographicCRS:4326">
      <gml:lowerCorner>678351.04 50929.11</gml:lowerCorner>
      <gml:upperCorner>679551.00 52000.31</gml:upperCorner>
    </gml:Envelope>
  </gml:boundedBy>
  <gml:featureMember gml:id="0">
    <MyDynamicFeature> <!-- corresponds GML DynamicFeature -->
      <routeName>Linea10a</routeName>
      <Trip id="1" line="l10a" up="true"> <!--  corresponds GML
dynamicProperties  -->
        <gml:track gml:id="1">
          <gml:MovingObjectStatus gml:id="ts_0">
            <gml:validTime>
              <gml:TimeInstant>
                <gml:timePosition>"2007-02-08T12:30"</gml:timePosition>
              </gml:TimeInstant>
            </gml:validTime>
            <gml:location>
              <gml:point srsName="urn:EPSG:geographicCRS:4326">
                <gml:pos>678351.04 50929.11</gml:pos>
              </gml:point>
            </gml:location>
          </gml:MovingObjectStatus>
          <gml:MovingObjectStatus gml:id="ts_1">
            <gml:validTime>
              <gml:TimeInstant>
               
<gml:timePosition>"2007-02-08T12:30:52.33"</gml:timePosition>
              </gml:TimeInstant>
            </gml:validTime>
            <gml:location>
              <gml:point srsName="urn:EPSG:geographicCRS:4326">
                <gml:pos>678888.08 50999.11</gml:pos>
              </gml:point>
            </gml:location>
          </gml:MovingObjectStatus>
          <gml:MovingObjectStatus gml:id="ts_2">
            <gml:validTime>
              <gml:TimeInstant>
               
<gml:timePosition>"2007-02-08-12:31:12.13"</gml:timePosition>
              </gml:TimeInstant>
            </gml:validTime>
            <gml:location>
              <gml:point srsName="urn:EPSG:geographicCRS:4326">
                <gml:pos>67999.08 51999.11</gml:pos>
              </gml:point>
            </gml:location>
          </gml:MovingObjectStatus>
        </gml:track>
      </Trip>
    </MyDynamicFeature>
  </gml:featureMember>
</wfs:FeatureCollection>


My question is, if UDig is capable to interpret such  a WFS format. If
yes, please let me know, where to find the correct syntax for the XML
document.

thanks and best regards

Innerebner Markus
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to