Hi
I'm using pmapper 3.0.1 with mapserver 4.10 and php 5.2.0 on fc6
All works fine except query results on a posgis layer.
I can see the results table popup with a correct row number (ex: 6 results
-> 6 rows) but the table have no text inside.
In postgresql the postgis layer is SQL-ASCII encoded.
the mapfile section:
LAYER
NAME "Provincia"
DATA "the_geom from comuni"
TYPE POLYGON
CONNECTIONTYPE POSTGIS
CONNECTION "user=postgres dbname=strategici host=192.168.0.228"
TRANSPARENCY 30
LABELITEM "comune"
METADATA
"DESCRIPTION" "Provincia"
"RESULT_FIELDS" "comune,istat_comune"
"RESULT_HEADERS" "Nome,ISTAT"
"RESULT_HYPERLINK" "comune"
"LAYER_ENCODING" "ASCII"
END # Metadata
CLASS
Name 'Provincia'
STYLE
COLOR 200 200 200
OUTLINECOLOR 255 255 0
END
LABEL
COLOR 255 0 0
END
TEMPLATE void
END # Class
END # Layer
in config.ini:
;===============================
; Character encoding settings
; Default character set
; UTF-8
;------------------------
defCharset = UTF-8
; if map file contains non-ASCII characters
; eg for layer DESCRIPTION or CLASS names, set value to 1
;----------------------------------------------------------
map2unicode = 1
thx
--
View this message in context:
http://www.nabble.com/Query-results-from-postgis-layer-tf3233349.html#a8984164
Sent from the pmapper users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users