sembrerebe tutto ok...
l'unica cosa...prova a dare un nome "non slegato" al tuo layer wfs:
metti qualcosa tipo:
layer
...
metadata
"wfs_title" "ACESAP_field_data"
...
end
end
Luca Delucchi ha scritto:
Il 17 maggio 2010 11.37, Fabio D'Ovidio <[email protected]> ha scritto:
ciao luca,
si posta il mapfile...così è difficile capire cosa manca....
eccolo
MAP
NAME "acesap field data"
CONFIG "PROJ_LIB" "/usr/share/proj/"
EXTENT 7.23964977264404 40.4056701660156 15.9559001922607
46.9068756103516
SIZE 600 400
FONTSET "/srv/www/wfs_acesap/font.sym"
SYMBOLSET "/srv/www/wfs_acesap/symbols.sym"
IMAGECOLOR 255 255 255
# Proiezione
PROJECTION
"proj=longlat"
"ellps=WGS84"
"datum=WGS84"
"no_defs"
END
# Web
WEB
IMAGEPATH "/var/www/tmp"
IMAGEURL "/tmp"
METADATA
"wfs_title" "ACESAP field data"
"wfs_abstract" "position of field data of
ACESAP project"
"wfs_onlineresource"
"http://acesap.fem-environment.eu/mapserv/wfs_acesap?"
"wfs_srs" "EPSG:900913 EPSG:4326"
"wfs_contactorganization" "Edmund Mach
Foundation, ACESAP project"
END
END
# Layer
LAYER
NAME "field_data"
TYPE POINT
STATUS on
CONNECTIONTYPE POSTGIS
CONNECTION "dbname=**** user=***** password=*****
host=localhost"
DATA "geom from tabella_wfs using unique id using srid=4326"
DUMP TRUE
PROJECTION
"init=epsg:4326"
END
CLASS
STYLE
SYMBOL 'circle1'
OUTLINECOLOR 238 201 0
END
END
METADATA
"wfs_title" "ACESAP field data"
"gml_featureid" "id"
"wfs_srs" "EPSG:4326"
"gml_include_items" "all"
END
END
END
ciao
ciao
Luca
--
*Ing. Fabio D'Ovidio*
/Location Intelligence Unit Manager/
Mail
[email protected] <mailto:[email protected]>
GMail
[email protected] <mailto:[email protected]>
Skype
dovidio_fa <skype:dovidio_fa?add>
Web
www.inovaos.it <http://www.inovaos.it/>
Blog
www.geobi.org <http://www.geobi.org/>
Inova Spa <http://www.inovaos.it/>
* *
*INOVA S.P.A.*
viale Casiraghi, 359
20099 Sesto S.Giovanni (MI)
via A. Nobel, 281
81031 Aversa (CE)
Tel. (Naples): +39 081 197 57 600
Tel. (Milan): +39 02 241 34 41
Fax. +39 081 020 25 75
_______________________________________________
Iscriviti all'associazione GFOSS.it: http://www.gfoss.it/drupal/iscrizione
[email protected]
http://lists.faunalia.it/cgi-bin/mailman/listinfo/gfoss
Questa e' una lista di discussione pubblica aperta a tutti.
I messaggi di questa lista non rispecchiano necessariamente
le posizioni dell'Associazione GFOSS.it.
440 iscritti al 15.3.2010