Dear All,
please help me 2 solve this case.
the map doesn't show but query work fine
this my map layer
LAYER
NAME "kecamatan"
TYPE POLYGON
STATUS ON
# DATA "countries"
CONNECTIONTYPE POSTGIS
CONNECTION "user=postgres dbname=postgis host=localhost port=5432
password=b4ji"
DATA "the_geom FROM jateng_kec USING UNIQUE gid using grid = -1"
TRANSPARENCY 30
# UNITS METERS
TEMPLATE void
PROJECTION
#"init=epsg:4326"
# "+proj=utm +zone=48 +ellps=WGS72 +units=m +no_defs no_defs"
#"+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs no_defs"
END
METADATA
"DESCRIPTION" "kecamatan"
## ADAPTED TO MULTILINGUAL SHAPEFILE
"RESULT_FIELDS" "gid,kode,kecamatan,kabupaten,propinsi"
"RESULT_HEADERS" "gid,kode,kecamatan,kabupaten,propinsi"
"ows_title" "kecamatan"
END # Metadata
CLASS
NAME "kecamatan"
COLOR 200 254 199
OUTLINECOLOR 0 0 0
BACKGROUNDCOLOR 0 0 255
END # Class
END # Layer
and this for xml config file
<pmapper>
<ini>
<pmapper>
<pmTitle>p.mapper - A MapServer PHP/MapScript
Framework</pmTitle>
<debugLevel>3</debugLevel>
<plugins>export</plugins>
<plugins>scalebar</plugins>
<plugins>transparency</plugins>
</pmapper>
<config>
<pm_config_location>default</pm_config_location>
<pm_javascript_location>javascript/src</pm_javascript_location>
<pm_print_configfile>common/print.xml</pm_print_configfile>
<pm_search_configfile>inline</pm_search_configfile>
</config>
<map>
<mapFile>pmapper_demo_coba.map</mapFile>
<tplMapFile>common/template.map</tplMapFile>
<categories>
<category name="cat_admin">
<group>kecamatan</group>
</category>
</categories>
<allGroups>
<group>kecamatan</group>
</allGroups>
<defGroups>
<group>kecamatan</group>
</defGroups>
<layerAutoRefresh>1</layerAutoRefresh>
<imgFormat>png</imgFormat>
<altImgFormat>jpeg</altImgFormat>
<altImgFormatLayers>
<layer>jpl_wms_global_mosaic</layer>
<layer>dem</layer>
</altImgFormatLayers>
<sliderMax>max</sliderMax>
<sliderMin>100000</sliderMin>
</map>
<query>
<limitResult>300</limitResult>
<highlightColor>0 255 255</highlightColor>
<highlightSelected>1</highlightSelected>
<autoZoom>nquery</autoZoom>
<autoZoom>search</autoZoom>
<zoomAll>search</zoomAll>
<zoomAll>nquery</zoomAll>
<infoWin>dynwin</infoWin>
<alignQueryResults>1</alignQueryResults>
<pointBuffer>10000</pointBuffer>
<shapeQueryBuffer>0.02</shapeQueryBuffer>
</query>
<ui>
<tocStyle>tree</tocStyle>
<legendStyle>attached</legendStyle>
<useCategories>1</useCategories>
<catWithCheckbox>1</catWithCheckbox>
<scaleLayers>1</scaleLayers>
<icoW>18</icoW>
<icoH>14</icoH>
</ui>
<locale>
<defaultLanguage>en</defaultLanguage>
<defaultCharset>UTF-8</defaultCharset>
<map2unicode>1</map2unicode>
</locale>
<print>
<printImgFormat>png</printImgFormat>
<printAltImgFormat>jpeg</printAltImgFormat>
<pdfres>2</pdfres>
</print>
<download>
<dpiLevels>150</dpiLevels>
<dpiLevels>200</dpiLevels>
<dpiLevels>300</dpiLevels>
</download>
<php>
<pearDbClass>MDB2</pearDbClass>
<defaultTimeZone>Europe/Vienna</defaultTimeZone>
</php>
<pluginsConfig>
<export>
<formats>XLS</formats>
<formats>CSV</formats>
<formats>PDF</formats>
</export>
</pluginsConfig>
</ini>
<searchlist version="1.0">
<dataroot>$</dataroot>
<searchitem name="kecamatan" description="Kec">
<layer type="postgis" name="kecamatan">
<field type="s" name="kecamatan" description="KEC"
wildcard="0" />
</layer>
</searchitem>
</searchlist>
</pmapper>
capture for my case >>> (
https://twitter.com/#!/SetyoAjii/status/159938547321810944/photo/1 )
thanks for your attention.
and sorro for my bad english.
--
*Tri Setyo Aji
*+62856 3520707 | +6224 33043304
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users