Skip to main content
Solved

Make single feature member instead of many of them

  • July 26, 2014
  • 1 reply
  • 12 views

Hello,

 

 

I'm translating MS SQLServer Spatial to GML file by mapping SQLServer views I created for translation. But I have one problem. I need to have something like this (just an axample, not real code):

 

FeatureMemberCollection

 

  FeatureMember

 

    Town

 

    School

 

    Class

 

    ...

 

  /FeatureMember

 

/FeatureMemberCollection

 

 

But I have

 

FeatureMemberCollection

 

  FeatureMember

 

    Town

 

  /FeatureMember

 

  FeatureMember

 

    School

 

  /FeatureMember

 

  FeatureMember

 

    Class

 

  /FeatureMember

 

  FeatureMember

 

    ...

 

  /FeatureMember

 

/FeatureMemberCollection

 

 

Because of this my xslt creation goes wron way. What can I do, or where I'm wrong?

Best answer by gio

looks like a mapping issue, parent child is not set correctly to yield your structure.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • Best Answer
  • July 28, 2014
looks like a mapping issue, parent child is not set correctly to yield your structure.