I have formed my file ogc, but it leaves east message
Fernando Luyo
fluyoz at HOTMAIL.COM
Fri May 19 13:15:08 PDT 2006
Hi
Hello, I am new using mapserver and preparing a WMS, but I have problems.
I use Arcview 3,2 with its extension Arc3Wms_beta 2.0.1
I have formed my file ogc, but it leaves east message
---------------------------
WMS Client for Arcview Error
---------------------------
Service Exception Error: The server returned an invalid XML response: Document not well-formed.
http://192.168.1.199/cgi-bin/PostGis/mapserv_44.exe?map=C:\Archivos de programa\Apache Group\Apache2\htdocs\WMS_SBN\MapSbn_WMS.map&mode=browse&Format=image/jpeg&Version=1.1.1&LAYERS=Departamento,Sinabip&Styles=&REQUEST=GetMap&Srs=EPSG:24878&bbox=288476%2E976623642490000,8660109%2E974671948700000,305003%2E292143642490000,8673309%2E907195908900000&width=313&height=249&Exceptions=application/vnd.ogc.se_xml&
---------------------------
Aceptar
---------------------------
some recommendation?
attach mapfile and file ogc
************************************************************
file ogc : MapSBN.ogc
************************************************************
<wms_client_config>
<wms_version>1.1.1</wms_version>
<online_resource>http://192.168.1.199/cgi-bin/PostGis/mapserv_44.exe?map=C:\Archivos de programa\Apache Group\Apache2\htdocs\WMS_SBN\MapSbn_WMS.map&mode=browse&</online_resource>
<image_format_list>
<image_format>image/jpeg</image_format>
</image_format_list>
<srs>EPSG:24878</srs>
<extents minx="-310000" miny="7930000" maxx="1400000" maxy="10130000"></extents>
<layer_list>
<layer>Sinabip</layer>
</layer_list>
</wms_client_config>
************************************************************
map file : MapSbn_
************************************************************
MAP
NAME "MapSbn"
STATUS ON
SIZE 400 300
IMAGECOLOR 160 200 255
IMAGETYPE JPEG
EXTENT -293181.4714 7921617.1938 1319223.322 10052167.8914 #extension de peru psad56 zn 18 s
FONTSET "fonts/fonts.list"
SYMBOLSET "symbols/symbol.sym" #simbolos ocurre error si retira el #
CONFIG "PROJ_LIB" "C:/MapServer/proj/nad/"
WEB
METADATA
"wms_title" "MapSBN desde 192.168.1.199"
"wms_onlineresource"
"http://192.168.1.199/cgi-bin/PostGis/mapserv_44.exe?map=C:\Archivos de programa\Apache Group\Apache2\htdocs\WMS_SBN\MapSbn_WMS.map&mode=browse"
"wms_srs" "epsg:24878"
"wms_exceptions_format" "application/vnd.ogc.se_xml"
END # metadata
TEMPLATE 'Editar_BGE.html'
EMPTY "http://192.168.1.199/WMS_SBN/info.html" # path relative to the webserver document root
IMAGEPATH "c:\Archivos de programa\Apache Group\Apache2\htdocs\WMS_SBN\tmp\" # full path to image tmp dir, so cgi can find it
IMAGEURL "http://192.168.1.199/WMS_SBN/tmp/" # url location of image tmp dir, so web browser can find it
END # Web
PROJECTION
"proj=utm"
"zone=18"
"south"
"ellps=intl"
"towgs84=-288,175,-376,0,0,0,0"
"units=m"
"no_defs"
END #Projection epsg: 24878
LAYER
NAME Sinabip
TYPE POLYGON
STATUS ON
DATA "geo_poligono from ag_sinabip_18"
CONNECTION "user=postgres password=password dbname=YachayWasi host=Wanka port=5432"
CONNECTIONTYPE postgis
TRANSPARENCY 60
PROJECTION
"proj=utm"
"zone=18"
"south"
"ellps=intl"
"towgs84=-288,175,-376,0,0,0,0"
"units=m"
"no_defs"
END #projection
METADATA
"wms_title" "Propiedad del Estado"
"autor" "JPR"
END #metadata
LABELMAXSCALE 5000
LABELITEM "col_codigopredio"
TOLERANCE 3
DUMP TRUE
HEADER "Sinabip_header.html"
TEMPLATE "Sinabip_qry.html"
FOOTER "Sinabip_footer.html"
CLASSITEM "col_interno"
CLASS
NAME "SBN - ASIENTOS"
EXPRESSION ('[col_tipo]' = 'SBN01')
COLOR 255 000 000
OUTLINECOLOR 32 32 32
LABEL
SIZE TINY
COLOR 128 0 0
OUTLINECOLOR 255 255 255
TYPE BITMAP
ANTIALIAS TRUE
POSITION CR
END #label
END #class
END # asientos
END # Map File
atte
Fernando Luyo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060519/2271d1bc/attachment.htm>
More information about the MapServer-users
mailing list