Estimados

Se tiene publicado un servicio WFS bajo mapserver 5.6.

Trabaja bien, el archivo map es el siguiente:

MAP
        NAME "WFS PostGIS"
        STATUS ON
        SYMBOLSET "configpg112.sym"
        FONTSET "fonts.txt"
        EXTENT -80.9519119169987 -17.748342599996 -68.7122954342272 
-0.0381613749999552
        WEB
        METADATA
          "wfs_title" "Service WFS ANPs PostGIS"
          #"wfs_onlineresource" 
"http://localhost/cgi-bin/mapserv.exe?map=c:/ms4w/apps/MapFile/configpg.map";
          "wfs_abstract" "Servicio de ANPs en PostGIS"
          "wfs_srs" "epsg:4326"
          "wfs_enable_request" "*"
        END
        END
        PROJECTION
          "init=epsg:4326"
        END  
        LAYER
          NAME "ANP"
          STATUS ON
          TYPE POLYGON
          DATA "the_geom from esquema.anp_nacional using unique gid using 
srid=4326"
          CONNECTIONTYPE POSTGIS
          CONNECTION "user=xxxx password=xxxx host=0.0.0.0 port=5432 
dbname=xxxxx"
          DUMP TRUE
          TEMPLATE "."
          PROJECTION
            "init=epsg:4326"
          END
          METADATA
            "gml_include_items" "anp_nomb,anp_cate,anp_arle"
            "wfs_title" "ANP Nacional PG"
            "wfs_abstract" "generado por Javier PG"
            "wfs_extent" "-80.9519119169987 -17.748342599996 -68.7122954342272 
-0.0381613749999552"
          END
        END # Layer
END # Map File

Un cliente me consulta que si es posible al momento de solicitar informacion 
del servicios WFS
solo que le devuelva por ejemplo el campo anp_cate y no todos los campos que 
devuelve el servicio WFS(anp_nomb,anp_cate,anp_arle)
Como si fuera un SQL tipo : select anp_cate ... where anp_nomb"Manu"

Me falta agregar algo a archivo mapfile para que realice esta respuesta?, o la 
especificacion no tiene esta posibilidad de devolucion de datos?

Me despido esperando su pronto apoyo.

Saludos

Javier Quispe
Lima-Peru

                                          
_______________________________________________
Spanish mailing list
http://lists.osgeo.org/mailman/listinfo/spanish
http://es.osgeo.org
http://twitter.com/osgeoes

Responder a