[Gvsig_usuarios] Configuración del servicio WFS
Antonio García
angarben en hotmail.com
Jue Dic 8 19:26:26 CET 2011
Buenas estoy intentando configurar un servicio WFS y no me salen las capas en gvsig
Adjunto al final fichoro .map
En el mismo .map tengo un servicio WMS y quiero crear el WFS.
Servicio WMS. URL: http://sig.betera.es/cgi-bin/mapserv.exe?map=C:/ms4w/maps/URBANISMO/red_local.map
Servicio WFS. URL: http://sig.betera.es/cgi-bin/mapserv.exe?map=C:/ms4w/maps/URBANISMO/red_local.map
El WMS funciona correctamente en gvsig pero en ARCGIS no. Podeis probarlos.
El servicio WFS conecta en gvsig pero por ejemplo en la primera ventana
en descripción no aparece nada pero si permite pinchar en siguiente, en
WMS si.
En la siguiente ventana, se muestra:
Servidor: http://sig.betera.es/cgi-bin/mapserv.exe?map=C:/ms4w/maps/URBANISMO/red_local.map
Tipo de servidor: WFS 1.1.0
Titulo del servidor: (en blanco)
Resumen del servidor: (en blanco)
Propiedades:
Time out: 10000
Max. features: 1000
En la siguiente ventana CAPAS no aparecen capas.
La ventana CAMPOS no se puede pulsar
La ventana OPCIONES nos deja acceder pero en Srs no se puede introducir
nada y en Conexion Max. features 1000 y en Timeout 10.000 ms
La ventana FILTRO no se puede pulsar
La ventana AREA no se puede pulsar
Y no deja seguir.
¿Qué puede estar mal?
#---------------------------------------------------------------------------
MAP
NAME Red_local
EXTENT 708436.5625 4376795.0 729084.8125 4402233.5
SYMBOLSET ../../apps/ka-map-1.0/gmap/etc/symbols.sym
SHAPEPATH "../../files/datos"
IMAGECOLOR 255 255 255
FONTSET ../../apps/ka-map-1.0/gmap/etc/fonts.txt
#DATOS GEOMÉTRICOS
#SIZE 2400 2400
LEGEND
IMAGECOLOR -1 -1 -1
LABEL
FONT "vera"
ANGLE FOLLOW
COLOR 0 0 0
ENCODING "UTF-8"
TYPE truetype
SIZE 8
END
STATUS ON
TRANSPARENT ON
END
WEB
METADATA
"wms_encoding" "UTF-8"
"wms_abstract" "Red local"
"wms_srs" "EPSG:23030"
"wms_onlineresource" "http://80.34.254.170/cgi-bin/mapserv.exe?map=C:/ms4w/maps/URBANISMO/red_local.map"
"wfs_encoding" "utf8"
"wfs_title" "WFS de la red local" ## REQUIRED
"wfs_abstract" "WFS Red local." ## Recommended
"wfs_onlineresource" "http://80.34.254.170/cgi-bin/mapserv.exe?map=C:/ms4w/maps/URBANISMO/red_local.map" ## Recommended
"wfs_srs" "EPSG:23030" ## Recommended
"wfs_enable_request" "*" # necessary
"wfs_title" "Topografia - Red local"
"wfs_abstract" "Topografia - Red local"
"wfs_keywordlist" "WFS GIS SIG Topografia"
"wfs_accessconstraints" "ninguna"
"wfs_fees" "none"
"wfs_geometry_element_name" "the_geom"
"wfs_srs" "EPSG:23030"
END
END
PROJECTION
"init=epsg:23030"
END
#--------------------------------------------------
LAYER # Red Local
NAME Red_local
DATA "the_geom from red_local"
CONNECTION "user=XXXXXXX dbname=XXXXXXX host=127.0.0.1 password=XXXXXXXX" #Conexión con base de datos POSTGIS
CONNECTIONTYPE POSTGIS
STATUS ON
TYPE POINT
GROUP Red_local
PROJECTION
"init=epsg:23030" # ED(50) UTM ZONA 30
END
# MAXSCALE 10000
# MINSCALE 20001
METADATA
"wms_title" "Red_local"
# "DESCRIPTION" "RED_LOCAL" #En shapefile es en mayusculas
"DESCRIPTION" "Red_local" #En postgis es en minúsuculas
# "RESULT_FIELDS" "CODIGO" #En shapefile es en mayusculas
"RESULT_FIELDS" "codigo" #En postgis es en minúsuculas
# "opacity" "90"
"queryable" "true"
# "fields" "CODIGO:Nombre" #En shapefile es en mayusculas
"fields"
"codigo:Codigo,des_tipo:Tipo,des_metodo_xy:Metodo_xy,des_metodo_z:Metodo_Z,descrip:Descripcion,fecha_creacion:Fecha_creacion,fecha_revision:Fecha_revision"
#En postgis es en minúsuculas
# "searchfield" "CODIGO" #En shapefile es en mayusculas
"searchfield" "codigo" #En postgis es en minúsuculas
# "CamposBuscados" "CODIGO" #En shapefile es en mayusculas
"CamposBuscados" "codigo" #En postgis es en minúsuculas
"imageformat" "gif"
"tile_source" "redraw"
"redraw_interval" "200" # Tiempo que pasa para que el servidor actualice el tile que hay en los tmp
"refresh_interval" "200" # Cada cuanto se recarga la capa en pantalla pero si el refres es menor que
# el redraw puede que no se observe el cambio hasta que el redraw modifique el tile.
#"wms_title" "Red local del termino municipal de Betera. Valencia."
#"wms_abstract" "Topografia - Red local del termino municipal de Betera. Valencia"
"wms_formatlist" "image/png"
"wms_accessconstraints" "none"
"wms_keywordlist" "SIG,GIS,Red,local."
"wms_addresstype" "POSTAL"
"wms_address" "Calle Jose, 9"
"wms_city" "xxxxx"
"wms_stateorprovince" "xxxxxx"
"wms_postcode" "E-46117"
"wms_country" "Spain"
"wms_contactperson" "Antonio Garcia Benlloch"
"wms_contactorganization" "Ayuntamiento"
"wms_contactposition" "Responsible"
"wms_contactelectronicmailaddress" "xxxxafo en xxxxx.es"
"wms_contactvoicetelephon" "+34444444444"
"wms_fees" "none"
"wms_context_version" "1.1.1"
"wms_resx" "0.5"
"wms_resy" "0.5"
"wms_latlonboundingbox" "auto"
"wfs_srs" "EPSG:23030" ## REQUIRED
"wfs_title" "Red local"
"wfs_abstract" "Red local"
"wfs_keywordlist" "WFS GIS SIG Topografia"
"wfs_geometry_element_name" "the_geom"
"wfs_srs" "EPSG:23030"
#"wfs_extent" "713074.72788 4380616.119999779 723716.2620019572 4392161.461581956"
#"gml_include_items" "all"
#"gml_include_items" "all" ## Optional (serves all attributes for layer)
#"gml_featureid" "gid" ## REQUIRED
#"wfs_enable_request" "*"
END
LABELITEM "codigo"
CLASSITEM "des_tipo"
CLASS
NAME "Red I.G.N."
EXPRESSION 'Red I.G.N.'
COLOR 255 0 255 #200 200 200
OUTLINECOLOR -1 -1 -1
TEMPLATE "ttt_query.html"
STYLE
COLOR 0 255 0
SYMBOL 'circle'
SIZE 7
END
LABEL
COLOR -1 -1 -1 #0 0 0
# OUTLINECOLOR 0 0 0
TYPE TRUETYPE
FONT arial
SIZE 8
ANTIALIAS TRUE
OFFSET 5 5
ANGLE AUTO
POSITION AUTO
# POSITION ur
PARTIALS FALSE
# PARTIALS TRUE
# MINDISTANCE 5
BUFFER 1
END
END
CLASS
NAME "Red 4o Orden ICV"
EXPRESSION 'Red 4o Orden ICV'
TEMPLATE "ttt_query.html"
STYLE
COLOR 0 0 255
SYMBOL 'circle'
SIZE 6
END
LABEL
COLOR -1 -1 -1 #0 0 0
# OUTLINECOLOR 0 0 0
TYPE TRUETYPE
FONT arial
SIZE 8
ANTIALIAS TRUE
OFFSET 5 5
ANGLE AUTO
POSITION AUTO
# POSITION ur
PARTIALS FALSE
# PARTIALS TRUE
# MINDISTANCE 5
BUFFER 1
END
END
CLASS
NAME "Red Catastro"
EXPRESSION 'Red Catastro'
TEMPLATE "ttt_query.html"
STYLE
COLOR 255 255 0
SYMBOL 'circle'
SIZE 5
END
LABEL
COLOR -1 -1 -1 #0 0 0
# OUTLINECOLOR 0 0 0
TYPE TRUETYPE
FONT arial
SIZE 8
ANTIALIAS TRUE
OFFSET 5 5
ANGLE AUTO
POSITION AUTO
# POSITION ur
PARTIALS FALSE
# PARTIALS TRUE
# MINDISTANCE 5
BUFFER 1
END
END
CLASS
NAME "Red Local"
EXPRESSION 'Red Local'
COLOR 0 0 255 #200 200 200
OUTLINECOLOR -1 -1 -1
TEMPLATE "ttt_query.html"
STYLE
COLOR 165 41 0
SYMBOL 'circle'
SIZE 5
END
LABEL
COLOR -1 -1 -1 #0 0 0
# OUTLINECOLOR 0 0 0
TYPE TRUETYPE
FONT arial
SIZE 8
ANTIALIAS TRUE
OFFSET 5 5
ANGLE AUTO
POSITION AUTO
# POSITION ur
PARTIALS FALSE
# PARTIALS TRUE
# MINDISTANCE 5
BUFFER 1
END
END
CLASS
NAME "Red puntos locales"
EXPRESSION 'Red puntos locales'
COLOR 0 0 255 #200 200 200
OUTLINECOLOR -1 -1 -1
TEMPLATE "ttt_query.html"
STYLE
COLOR 255 0 0
SYMBOL 'circle'
SIZE 4
END
LABEL
COLOR -1 -1 -1 #0 0 0
# OUTLINECOLOR 0 0 0
TYPE TRUETYPE
FONT arial
SIZE 8
ANTIALIAS TRUE
OFFSET 5 5
ANGLE AUTO
POSITION AUTO
# POSITION ur
PARTIALS FALSE
# PARTIALS TRUE
# MINDISTANCE 5
BUFFER 1
END
END
CLASS
NAME "Otros"
#EXPRESSION 'Red puntos locales'
COLOR 0 0 255 #200 200 200
OUTLINECOLOR -1 -1 -1
TEMPLATE "ttt_query.html"
STYLE
COLOR 125 125 125
SYMBOL 'circle'
SIZE 4
END
LABEL
COLOR -1 -1 -1 #0 0 0
# OUTLINECOLOR 0 0 0
TYPE TRUETYPE
FONT arial
SIZE 8
ANTIALIAS TRUE
OFFSET 5 5
ANGLE AUTO
POSITION AUTO
# POSITION ur
PARTIALS FALSE
# PARTIALS TRUE
# MINDISTANCE 5
BUFFER 1
END
END
END
#--------------------------------------------------
END
Saludos,
-----------
Antonio GarcÃa Benlloch
Correo:
angarben en hotmail.com
Web:
http://personales.alumno.upv.es/~angarben
Antes de imprimir este mensaje, asegúrese de que es necesario. Proteger el medio ambiente está en nuestra mano.
Este mensaje y sus archivos adjuntos son confidenciales. No está permitida su reproducción o distribución sin la autorización expresa de Antonio GarcÃa. Si ha recibido este mensaje por error, por favor bórrelo e informe a angarben en hotmail.com.
Date: Thu, 8 Dec 2011 11:02:10 +0100
From: arkanoides en gmail.com
To: gvsig_usuarios en listserv.gva.es
Subject: [Gvsig_usuarios] testeando gvSIG 2.0
Hola,
Estoy testeando un poco gvSIG 2.0 (version 2042) y he encontrado un error intentando hacer una transformación vectorial con la rejilla del IGN entre ED50-ETRS89. He instalado gvSIG alpha-2 con pre-requisitos(withjre) en un sistema Windows XP. Después con el administrador de complementos he añadido algunos plugins.
Adjunto el archivo gvSIG.log y una imagen con el error que sale en pantalla.
Atentamente,
Francisco.
_______________________________________________
gvSIG_usuarios mailing list
gvSIG_usuarios en listserv.gva.es
Para ver hist�rico de mensajes, editar sus preferencias de usuario o darse de baja en esta lista, acuda a la siguiente direcci�n:
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_usuarios
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listserv.gva.es/pipermail/gvsig_usuarios/attachments/20111208/b09686ca/attachment.htm
Más información sobre la lista de distribución gvSIG_usuarios