[Gvsig_english] problem importing .gml file

Jorge Piera Llodrá jpiera at prodevelop.es
Thu Nov 24 08:37:58 CET 2011


Hi.

Try to edit your file and remove some lines at the begining and some 
lines at the end keeping only the gml:FeatureCollections subtree.

Regards,
Jorge

On 11/23/2011 09:08 PM, bernd-dus at web.de wrote:
> Hi list,
>
> I have tried to import the .gml file [1] via gvSIG GML Memory Driver (gvSIG / View / Add Layer / File / Add).
> The .gml file is the result of a WPS process and contains seven features.
>
> The import works in general.
> Problem: in gvSIG appears just one feature.
>
> I am using gvSIG 1.11.
>
> Thanks in advance for any advice,
> Bernd
>
>
> [1]
> <ns:ExecuteResponse service="WPS" serviceInstance="http://localhost:8080/wps/WebProcessingService?REQUEST=GetCapabilities&amp;SERVICE=WPS" version="1.0.0" xml:lang="en-US" xsi:schemaLocation="http://www.opengis.net/wps/1.0.0 http://schemas.opengis.net/wps/1.0.0/wpsExecute_response.xsd" xmlns:ns="http://www.opengis.net/wps/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>    <ns:Process ns:processVersion="1.0.0">
>      <ns1:Identifier xmlns:ns1="http://www.opengis.net/ows/1.1">org.n52.wps.server.algorithm.SimpleBufferAlgorithm</ns1:Identifier>
>      <ns1:Title xmlns:ns1="http://www.opengis.net/ows/1.1">org.n52.wps.server.algorithm.SimpleBufferAlgorithm</ns1:Title>
>    </ns:Process>
>    <ns:Status creationTime="2011-11-23T20:48:10.569+01:00">
>      <ns:ProcessSucceeded>Process has succeeded</ns:ProcessSucceeded>
>    </ns:Status>
>    <ns:ProcessOutputs>
>      <ns:Output>
>        <ns1:Identifier xmlns:ns1="http://www.opengis.net/ows/1.1">result</ns1:Identifier>
>        <ns1:Title xmlns:ns1="http://www.opengis.net/ows/1.1">result</ns1:Title>
>        <ns:Data>
>          <ns:ComplexData encoding="UTF-8" mimeType="text/xml" schema="http://schemas.opengis.net/gml/3.1.1/base/feature.xsd">
>            <gml:FeatureCollection xsi:schemaLocation="http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/base/feature.xsd http://www.52north.org/eb10d778-87c2-4b01-bc66-277348cff63e http://localhost:8080/wps/schemas/eb10d778-87c2-4b01-bc66-277348cff63e.xsd" xmlns:gml="http://www.opengis.net/gml" xmlns:n52="http://www.52north.org/eb10d778-87c2-4b01-bc66-277348cff63e">
>              <gml:featureMembers>
>                <n52:Feature-eb10d778-87c2-4b01-bc66-277348cff63e gml:id="ID0">
>                  <gml:boundedBy>
>                    <gml:Envelope>
>                      <gml:lowerCorner>146.1816493356617 -42.27944274578714</gml:lowerCorner>
>                      <gml:upperCorner>146.2963509288076 -42.15110514098936</gml:upperCorner>
>                    </gml:Envelope>
>                  </gml:boundedBy>
>                  <n52:GEOMETRY>
>                    <gml:Polygon>
>                      <gml:exterior>
>                        <gml:LinearRing>
>                          <gml:posList>146.2336784657919 -42.1525923634432 146.2346534458594 -42.15288702055154 146.23554848544035 -42.15337314100169
>                          
>                          [..]
>                          
>                          146.2336784657919 -42.1525923634432</gml:posList>
>                        </gml:LinearRing>
>                      </gml:exterior>
>                    </gml:Polygon>
>                  </n52:GEOMETRY>
>                  <n52:WATER_TYPE>Lake</n52:WATER_TYPE>
>                  <n52:CNTRY_NAME>Australia</n52:CNTRY_NAME>
>                  <n52:CONTINENT>Australia</n52:CONTINENT>
>                </n52:Feature-eb10d778-87c2-4b01-bc66-277348cff63e>
>                <n52:Feature-eb10d778-87c2-4b01-bc66-277348cff63e gml:id="ID1">
>                  <gml:boundedBy>
>                    <gml:Envelope>
>                      <gml:lowerCorner>145.97189802665716 -43.036938691691425</gml:lowerCorner>
>                      <gml:upperCorner>146.39943348962984 -42.76277823536001</gml:upperCorner>
>                    </gml:Envelope>
>                  </gml:boundedBy>
>                  <n52:GEOMETRY>
>                    <gml:Polygon>
>                      <gml:exterior>
>                        <gml:LinearRing>
>                          <gml:posList>146.28639616474516 -43.03653862362093 146.28554327054795 -43.03681711332113 146.28465433650953 -43.036938691691425
>                          
>                          [..]
>                          
>                          146.28639616474516 -43.03653862362093</gml:posList>
>                        </gml:LinearRing>
>                      </gml:exterior>
>                    </gml:Polygon>
>                  </n52:GEOMETRY>
>                  <n52:WATER_TYPE>Lake</n52:WATER_TYPE>
>                  <n52:CNTRY_NAME>Australia</n52:CNTRY_NAME>
>                  <n52:CONTINENT>Australia</n52:CONTINENT>
>                </n52:Feature-eb10d778-87c2-4b01-bc66-277348cff63e>
>                <n52:Feature-eb10d778-87c2-4b01-bc66-277348cff63e gml:id="ID2">
>
>                  [..]
>
>                </n52:Feature-eb10d778-87c2-4b01-bc66-277348cff63e>
>              </gml:featureMembers>
>            </gml:FeatureCollection>
>          </ns:ComplexData>
>        </ns:Data>
>      </ns:Output>
>    </ns:ProcessOutputs>
> </ns:ExecuteResponse>
>
> ___________________________________________________________
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
>
> To see the archives, edit your preferences or unsubscribe from this mailing list, please access this url:
>
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>    


-- 
Jorge Piera Llodrá
gvSIG Development Team
PRODEVELOP
Plaza Don Juan de Villarrasa, 14 - 5
46001 Valencia
Tel: +34 963510612
Fax: +34 963510908
e-mail: jpiera at prodevelop.es
http://www.prodevelop.es
http://www.gvsig.org



More information about the Gvsig_internacional mailing list