Hi everyone,

I have a problem using zoom2extent from table result, the error log shows
the message:

HINT:  No operator matches the given name and argument type(s). You might
need to add explicit type casts.
) executing query: select
encode(AsBinary(force_collection(force_2d("the_geom")),'NDR'),'hex') as
geom,"gid" from lotes_view where the_geom &&
GeomFromText('POLYGON((200042.429210766 8931751.43091607,200042.429210766
8932198.56254157,201122.997305724 8932198.56254157,201122.997305724
8931751.43091607,200042.429210766 8931751.43091607))',29185) and (*gid IN
(0...@714)*)
in C:\ms4w\Apache\htdocs\quanta\incphp\map\map.php on line 326
[14-Oct-2010 16:37:53] PHP Fatal error:  Call to a member function
saveImage() on a non-object in
C:\ms4w\Apache\htdocs\quanta\incphp\common.php on line 257
[14-Oct-2010 16:38:04] PHP Warning:  [MapServer Error]: msDrawMap(): Failed
to draw layer named 'pmapper_reslayer'.
in C:\ms4w\Apache\htdocs\quanta\incphp\map\map.php on line 326
[14-Oct-2010 16:38:04] PHP Warning:  [MapServer Error]:
msPostGISLayerWhichShapes(): Error (ERROR:  *operator does not exist:
integer @ integer*
LINE 1: ...42.429210766 8931751.43091607))',29185) and (gid IN (0...@714))

Here is my layer configuration:

LAYER
 NAME 'edificacoes_cadastradas'
 TYPE Polygon
 CONNECTIONTYPE postgis
 CONNECTION "user=postgres password=postgres dbname=shc host=localhost
port=5432"
 DATA "the_geom from lotes_view using unique gid using *SRID=29185*"
 TEMPLATE void

 METADATA
    "DESCRIPTION" "Edificações Cadastradas"
    "RESULT_FIELDS" "coabtacao, ide_seq"
    "RESULT_HEADERS" "Coabitação, relatório"
    "RESULT_HYPERLINK" "ide_seq||Relatório (clicar)"
 END

 *PROJECTION
  'init=epsg:29185'
 END*

 CLASS
  NAME 'Edificações Cadastradas'
  STYLE
   COLOR 128 255 0
   OUTLINECOLOR 0 128 0
  END #STYLE
 END #CLASS

END #LAYER

And the link: javascript:PM.Map.zoom2extent('edificacoes_cadastradas','0...@606
','200590.43495128+8931926.6839885+200608.15322258+8931934.7267979','0')

I check everything, any ideas?

Thanks in advance,

--
Marcello Benigno B. de Barros Filho
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
http://profmarcello.blogspot.com
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to