<div id="result_box" dir="ltr">Hello friends,
<br> I try to run a MSW as
follows:<br>http://www.sigtruj.org.ve/cgi-sys/mapserv?map=/home/sigtrujo/www
/map/prueba1.map&layers=mun_truj&mode=MAP<br><br><div
id="result_box" dir="ltr">map file, is as follows:<br><pre>MAP<br> NAME
mun_t<br> SIZE 400 400<br> UNITS dd<br> INTERLACE ON<br> EXTENT -74.65
0.64 -56.89 12.19<br> PROJECTION<br> 'init=EPSG:4189'<br> END<br>
FONTSET '../fonts/fonts.txt'<br> SYMBOLSET '../simbolo/simbolo.txt'<br> #
Background color for the map canvas -- change as desired<br> IMAGECOLOR
192 192 192<br> IMAGEQUALITY 95<br> STATUS on<br> WEB<br> TEMPLATE
"../plantilla.html"<br> IMAGEPATH
"/home/sigtrujo/www/tmp/ms_tmp/"<br> IMAGEURL "/tmp/ms_tmp/"<br> #EMPTY
"http://www.sigtruj.org.ve/plantilla.html"<br> LOG
"../mapservEdenWfsIow.log" <br><br> METADATA<br> "wms_title" "WMS
Demo Server" ##REQUIRED - generates warning in xml output if
missing<br> "wms_onlineresourse"
"http://localhost/cgi-bin/mapserver.exe"<br> "wms_srs"
"init=epsg:24719" <br> END <br> END #end web<br>LAYER<br> NAME
"mun"<br> TYPE POLYGON<br> CONNECTIONTYPE postgis<br> CONNECTION
"host=localhost port=5432 user=sigtrujo_test password=andrea08
dbname=sigtrujo_sigtruj"<br> DATA "the_geom FROM pai_vec_250"<br>
METADATA<br> "wms_title" "pai_vec_250"<br> END<br> STATUS
DEFAULT<br> TRANSPARENCY 45<br> PROJECTION<br>
"init=EPSG:4189"<br> END<br> LABELITEM "nombre"<br> CLASS<br>
NAME "pai_vec_250" <br> STYLE<br> SYMBOL 0 <br>
OUTLINECOLOR 110 110 110<br> COLOR 127 143 184<br> END<br>
LABEL <br> SIZE MEDIUM<br> COLOR 64 64 64<br> OUTLINECOLOR
212 212 212<br> POSITION CC<br> PARTIALS FALSE<br> FORCE
TRUE<br> MINDISTANCE 0<br> ANGLE 0<br> BUFFER 4<br>
ENCODING SJIS<br> END <br> END<br> END<br>IMAGETYPE
PNG<br>OUTPUTFORMAT<br> NAME PNG<br> DRIVER "GD/PNG"<br> MIMETYPE
"image/png"<br> IMAGEMODE PC256<br> EXTENSION "png"<br> TRANSPARENT
ON<br> END<br>END</pre><div id="result_box" dir="ltr">This produces the
following error.</div></div>msDrawMap(): Image handling error. Failed to
draw layer named 'mun'.
prepare_database(): Query error. Error declaring cursor: ERROR:
find_srid() - couldnt find the corresponding SRID - is the geometry
registered in the GEOMETRY_COLUMNS table? Is there an
uppercase/lowercase missmatch?
With query string: DECLARE mycursor BINARY CURSOR FOR SELECT
"nombre"::text,asbinary(force_collection(force_2d(the_geom)),'NDR'),gid::tex
t
from pai_vec_250 WHERE the_geom && setSRID('BOX3D(-74.65
-2.465,-56.89 15.295)'::BOX3D, find_srid('','pai_vec_250','the_geom')
)<br><br>I can help solve this problem?.
<br>
<br> thanks<br><br>Jorge<br><br><br></div>